Skip to content
AI & Agents
Skill

/context-xray

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

From plugin
agent-native
7.7k11 skills3 commands2 MCP

Claude Code

$ npx -y skills add builderio/agent-native --skill context-xray --agent claude-code

SKILL.md

context-xray.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:

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.

@builderio
Ships withagent-native

Agent-Native is an open-source TypeScript framework for building agents that pair autonomous work with a purpose-built UI. Define each capability once as an action: the agent uses it as a tool, and the UI calls it from code.

7.7k11 skills2 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
7.7k
Star history of builderio/agent-native on GitHub, a chart by star-history.com

Other skills on agent-native.

an

an

Open and operate Agent-Native workspace apps through Dispatch MCP, with inline app surfaces, browser-session authentication, and…

assets

assets

Use Agent-Native Assets for image and video generation requests, brand-safe asset search/export, and human-in-the-loop asset…

content

content

Use Content for repo-backed Markdown/MDX docs, blogs, resources, rich document editing, local components, shareable copies, and…

design-exploration

design-exploration

Use Design for UI/UX exploration, side-by-side design directions, interactive prototype previews, user selection, iteration, and…

remix

remix

Rebuild website effects in your repo or Design with exact behavior and original code. Use when asked to remix, borrow, port,…

turn-into-app

turn-into-app

Turns a thread, skill, spreadsheet, or Claude/ChatGPT project into a polished, visual Agent-Native app: populated domain screens…

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3w393k
@openclaw@openclawInstall Skill

Questions about context-xray.

Which coding agents can use context-xray?
context-xray installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.