Skip to content
Skillpedia
Agents7.6k · #13208

context-xray

What it does

This skill creates a local report of how a Codex or Claude Code chat is using its context, with warnings and tips. It is for developers whose long coding sessions are getting slow or hard to manage.

When to use it

  • ✓When a local coding chat is getting very large.
  • ✓When you want to see where a chat's context is going.
  • ✓When you want a weekly view of how context use is trending.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/BuilderIO/agent-native/blob/main/skills/context-xray/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“My coding chat keeps getting slower. Show me where all the context is going and how to trim it.”

5 new skills a week. 1 minute to read.

How it works

A local command reads the saved transcript files and opens an HTML report. It lists the largest context areas, warnings, and suggested changes, without running a server.

Technical content (original SKILL.md)

Original text by the author, straight from 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.

FAQ

Does it need an account?

No. It reads local transcript files and does not need hosted sign-in.

Which tools does it work with?

Local Codex and Claude Code threads.

Does it keep running after the report opens?

No. It opens the generated file directly and does not keep a background server running.

Details

Original description by the author

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

repo: BuilderIO/agent-native

Popularity

GitHub stars
7.6k
Ranking position
#13208
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills