Skip to main content

context-xray

Visualize local Codex and Claude Code context usage, open a report, flag warnings, and suggest prompt/tooling optimizations.

来源信息

仓库
BuilderIO/agent-native
最近来源活动
2026年6月3日 03:07
检测到的 SKILL.md 语言
英语
星标
7,449
Forks
681

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
context-xray
description
Visualize local Codex and Claude Code context usage, open a report, flag warnings, and suggest prompt/tooling optimizations.
metadata
{"visibility":"exported"}
# Context X-Ray Use Context X-Ray when a local coding-agent thread is getting large or the user wants to understand where context is going. ## Setup Recommended install path: ```bash npx @agent-native/core@latest skills add context-xray --client all ``` That installs a local `context-xray` command plus Codex/Claude skills and slash commands. It does not need hosted auth or a remote MCP connector to read local transcript files. Use `--scope project` when you only want project `.agents` skill and command artifacts added to the current repo. ## Run Current or most recent local thread: ```bash context-xray --open ``` Recent thread picker: ```bash context-xray threads --open ``` Weekly trends: ```bash context-xray trends --since 7d --open ``` `--open` opens the generated local HTML file directly in the browser; it does not keep a background server running. After running, summarize the report link, sessions analyzed, largest context buckets, warnings, and concrete optimizations.
在 GitHub 查看