Agent skill

Context Xray

by BuilderIO in BuilderIO/agent-native

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

No licenceAuto-check passed

Install Context Xray

skills CLI
$ npx skills add BuilderIO/agent-native --skill context-xray -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install BuilderIO/agent-native context-xray --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/BuilderIO/agent-native.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/context-xray .claude/skills/context-xray && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
context-xray
GitHub stars
7.1k
Token cost
~303 tokens
SKILL.md length
119 words
Files
1
Skills in repo
108
Repo updated
First seen
Licence
None found

At a glance

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

  • SKILL.md covers Setup and Run
  • Calls npx

What it does

Context Xray is an agent skill from BuilderIO/agent-native. Visualize local Codex and Claude Code context usage, open a report, flag warnings, and suggest prompt/tooling optimizations.

Its SKILL.md is about 300 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: A framework for building agentic apps.

Example prompts

  • “/context-xray”

Requirements

  • Node.js

What it can do on your machine

Read from SKILL.md and the folder at commit 1c2de07. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Context Xray loads about 303 tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 119 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~303

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 119 words (~303 tokens).

“Use Context X-Ray when a local coding-agent thread is getting large or the user wants to understand where context is going.”

— opening of SKILL.md by BuilderIO
name
context-xray
metadata.visibility
exported

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/context-xray of BuilderIO/agent-native.

Open the folder on GitHubat commit 1c2de07

Compare with similar skills

Context Xray next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Context Xray compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Context Xray this skillBuilderIO/agent-native7.1k—~303Automated safety check: PassNone
Visualizeopenclaw/openclaw392k—~2.4kAutomated safety check: PassMIT
Visual Stylecalesthio/OpenMontage66k—~1.5kAutomated safety check: PassAGPL-3.0
D3 Visualizationnexu-io/open-design100k—~523Automated safety check: PassApache-2.0
Visual Regressionthedaviddias/Front-End-Checklist74k—~493Automated safety check: PassMIT
Visualizecode-yeongyu/oh-my-openagent70k—~954Automated safety check: PassCustom licence

Similar skills

  • Visualize

    openclaw/openclaw

    Create inline visuals for code and explanations, or author persistent OpenClaw dashboard widgets with showwidget.

    392k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Visual Style

    calesthio/OpenMontage

    Create, extract, and apply portable visual design systems via visual-style.md files.

    66k GitHub stars~1.5k tokensUpdated 7 days ago
    Frontend & DesignAuto-check passed
  • D3 Visualization

    nexu-io/open-design

    Teaches the agent to produce D3 charts and interactive data visualizations.

    100k GitHub stars~523 tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Visual Regression

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing CI coverage, automated checks, or test strategy related to Use visual regression testing.

    74k GitHub stars~493 tokensUpdated 4 days ago
    Testing & QAAuto-check passed
  • Visualize

    code-yeongyu/oh-my-openagent

    Builds a self-contained HTML page (chart, table, diagram, dashboard) to show inline in a thread.

    70k GitHub stars~954 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Chart Visualization

    bytedance/deer-flow

    Picks a suitable chart type from 26 options for your data, maps the data to that chart's parameters and generates a chart image through a JavaScript script.

    84k GitHub starsUsed in 1 repo~840 tokens
    Data & AnalyticsAuto-check passed

More from BuilderIO/agent-native

All 108 skills in this repo
  • Bug Trace

    BuilderIO/agent-native

    Find the root cause of a reported bug: take in the report (GitHub issue, Jira ticket, file, or pasted text), trace the failing path hop by hop with each hop's runtime precondition, find the recent…

    7.1k GitHub stars~555 tokensUpdated today
    Auto-check passed
  • Identify Fragile Systems

    BuilderIO/agent-native

    Nightly refactor review: find the systems the last day's commits hit hardest, use three weeks of history to tell fragile from fast-moving, write a plan per systemic fix, and file deduplicated Jira…

    7.1k GitHub stars~957 tokensUpdated today
    Auto-check passed
  • Jira Refactor Findings

    BuilderIO/agent-native

    File and track refactor findings in Jira without duplicates: match a run against existing refactor-findings tickets, create tickets from plan files (Pod, label, attached plan, run link), record…

    7.1k GitHub stars~779 tokensUpdated today
    Auto-check passed
  • System History

    BuilderIO/agent-native

    Blobless-safe git and PR history for this repo. An agent skill from BuilderIO/agent-native.

    7.1k GitHub stars~727 tokensUpdated today
    Auto-check passed
  • Actions

    BuilderIO/agent-native

    How to create and run agent actions. An agent skill from BuilderIO/agent-native.

    7.1k GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • Client Methods

    BuilderIO/agent-native

    Client method surface rules. An agent skill from BuilderIO/agent-native.

    7.1k GitHub stars~1.2k tokensUpdated today
    Auto-check passed

Questions about Context Xray

What does Context Xray do?

Visualize local Codex and Claude Code context usage, open a report, flag warnings, and suggest prompt/tooling optimizations. Context Xray is an agent skill from BuilderIO/agent-native. Visualize local Codex and Claude Code context usage, open a report, flag warnings, and suggest prompt/tooling optimizations.

How do I install Context Xray in Claude Code?

Run `npx skills add BuilderIO/agent-native --skill context-xray -a claude-code`. Or copy the skill folder (skills/context-xray in BuilderIO/agent-native) into .claude/skills/context-xray in your project. Claude Code loads it when a task matches its description.

How do I install Context Xray in Codex?

Run `npx skills add BuilderIO/agent-native --skill context-xray -a codex`. Or copy the skill folder (skills/context-xray in BuilderIO/agent-native) into .agents/skills/context-xray in your project. Codex loads it when a task matches its description.

Can I use Context Xray in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add BuilderIO/agent-native --skill context-xray -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/context-xray, .gemini/skills/context-xray, .github/skills/context-xray and .opencode/skills/context-xray in your project.

What does Context Xray need to run?

Going by SKILL.md and its folder, Context Xray needs the command-line tools its instructions call (npx). Our summary lists: Node.js.

Does Context Xray access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Context Xray safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Context Xray use?

No licence was found for Context Xray or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Context Xray use?

About 303 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Context Xray?

Skills that share tags, products or a category with Context Xray: Visualize (openclaw/openclaw, 392k stars), Visual Style (calesthio/OpenMontage, 66k stars), D3 Visualization (nexu-io/open-design, 100k stars) and Visual Regression (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Context Xray?

BuilderIO (a GitHub organization) maintains it in BuilderIO/agent-native, which has 7,113 GitHub stars. The repository holds 108 skills in this directory. The repository was last updated on October 10, 2026.

Source: BuilderIO/agent-native on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.