xray

by Bailey · ★ 0 · updated 2 days ago

PanesBandsReskinsGuardsCommandsPromptvalidates

0

xray-spinners: glanceable cards under the spinner showing what Claude is doing, what is left on its plate, and how the task stands

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.composeprompt.submitsession.appendagent.spawntool.callturn.stepturn.completesession.endui.render
API calls
$.clock.now$.clock.sleep$.command.register$.device.class$.env.get$.fs.exists$.fs.read$.fs.stat$.model.complete$.process.run$.session.cwd$.session.id$.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
every promptsubagent spawnsevery tool call
Reach
level 2 of 3 other: $.device.classother: $.state.getother: $.state.setruns processesdrives Claudereads filesreads env varspersists statedraws

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
Author
Bailey @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.