本文へスキップ
Skillpedia
エージェント7.6k · #13208

context-xray

できること

このスキルは、CodexやClaude Codeのチャットがどのように文脈を使っているかを、警告とヒントとともにまとめたローカルのレポートを作成します。長いコーディングセッションが遅くなったり扱いにくくなったりしている開発者向けです。

使う場面

  • ✓ローカルのコーディングチャットが非常に大きくなっているとき。
  • ✓チャットの文脈がどこに使われているか見たいとき。
  • ✓文脈の使用量が時間とともにどう推移しているか、週ごとに確認したいとき。

スキルのリンク

https://github.com/BuilderIO/agent-native/blob/main/skills/context-xray/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/BuilderIO/agent-native/blob/main/skills/context-xray/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“コーディングのチャットが遅くなり続けています。文脈がどこに使われているかを示し、減らす方法を教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

ローカルのコマンドが保存されたトランスクリプトのファイルを読み、HTMLのレポートを開きます。文脈を最も多く使っている箇所、警告、提案される変更点を一覧にし、サーバーは起動しません。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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:

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:

context-xray --open

Recent thread picker:

context-xray threads --open

Weekly trends:

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.

よくある質問

アカウントは必要ですか?

いいえ。ローカルのトランスクリプトのファイルを読み、ホストされたサインインは必要ありません。

どのツールに対応していますか?

ローカルのCodexとClaude Codeのスレッドに対応しています。

レポートを開いた後も動き続けますか?

いいえ。生成されたファイルを直接開き、バックグラウンドでサーバーを動かし続けることはありません。

詳細

作者による元の説明

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

repo: BuilderIO/agent-native

人気

GitHubのスター
7.6k
ランキング
#13208
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル