xray

Reviewed at commit b468b10

Caution: Writes a timeline of every event, including prompts and tool results that can hold secrets, to a fixed C:/Projects/claude-mods-rnd folder outside your project.

CLAUDE RUNTIME X-RAY: wildcard inspector with filters (/xray all|tools|subagents|session|usage|ui|errors|unknown|off), a HUD above the prompt, and a black-box…

Made by
Wes Sander
What we checked

Shows a debug view of everything Claude Code does: one log line per event in the transcript (filter with /xray), plus a box above the prompt with the latest events and usage. It sees all prompts, tool calls and results, sends nothing over the network, and saves a timeline of them to a file outside your project.

Review details

Static review of the source at the pinned commit; not run. A single module registers a wildcard on('*') hook that passes every event through unchanged (including tool.call, tool.check, prompt.submit, agent.spawn, turn.step, turn.complete and session.usage), classifies it, records up to 3000 entries with the event and result truncated to 1500 characters each, and logs filtered lines with $.ui.log. It also registers on session.start (reads $.session.id and $.store, registers the /xray command, sets a status line and a 1 second $.clock.every tick), on command.run for /xray, on ui.render for the AbovePrompt component, and on turn.complete (reads $.session.usage). The timeline is rewritten with $.fs.write to the hard-coded path C:/Projects/claude-mods-rnd/lab/xray/timeline/<sessionId>.jsonl; write errors are swallowed. Only the filter name is stored with $.store. It makes no network or process calls, does not modify tool calls or permissions, and rethrows errors from other handlers. The hard-coded author path means it only fits the author's machine layout.

What it uses
  • Reads your prompts: yes
  • Sees tool calls: yes
  • Blocks or changes tool calls: no
  • Reads or writes files: yes
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes

CLAUDE RUNTIME X-RAY: wildcard inspector with filters (/xray all|tools|subagents|session|usage|ui|errors|unknown|off), a HUD above the prompt, and a black-box timeline file

Made this mod? Add a badge to your README

modsforClaude badge for xray

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/xray.svg)](https://modsforclaude.com/mods/xray/)

← All mods