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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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
Comments
- …
More skills from this repository
design-exploration
7.6kHelps your agent explore several UI design directions side by side, let you pick one, and then refine the chosen design.
visual-edit
7.6kHelps your agent open a running local app in a visual editor so you can review and edit its real screens together.
turn-into-app
7.6kTurns a workflow, spreadsheet or project into a polished visual app, with populated screens and an agent working behind the controls.
visual-plan
7.6kTurns a plain text plan into an interactive visual plan with diagrams, file maps, code snippets and open questions.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.