xray

by freakinfrick · ★ 1 · updated 15 days ago

PanesBandsReskinsGuardsCommandsPromptvalidates

0

xray's Claude Code host: two glanceable cards under the spinner, what Claude is doing and its to-do list, plus a session genome (every step, one colored cell). The same core also runs in omp, pi, Hermes, Grok Build and dsh-tui.

install xray

Install

git clone https://github.com/freakinfrick/xray
claude --plugin-dir ./xray

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startcommand.runprompt.attachmentprompt.composeclassic.SessionStartclassic.UserPromptSubmitprompt.submitsession.appendagent.spawntool.checktool.callturn.stepturn.completesession.endui.render
API calls
$.clock.now$.clock.sleep$.command.register$.device.class$.env.get$.fs.exists$.fs.read$.fs.stat$.fs.write$.model.complete$.process.run$.session.cwd$.session.id$.session.model$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.close$.ui.invalidate$.ui.open$.ui.panes$.ui.resolve$.ui.toast
Draws
SpinnerPaneAbovePrompt
Can see
classic hooksevery promptsubagent spawnsevery tool call
Reach
level 2 of 3 runs processeswrites filesdrives Claudereads filesreads env varsreads mod statepersists statedrawsother: $.device.class

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/freakinfrick/xray
Path in repo
repository root
Source commit
057f721 the exact code the scan read
Author
@freakinfrick
License
No license declared — ask the author before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.