xray-mod

xray-mod is a Claude Code mod by jagp that stare deeply into your contexts.

Updated 2026-11-28

What is xray-mod?

xray-mod is a Claude Code mod by jagp that stare deeply into your contexts. It is listed under Context & memory and has no public popularity data yet.

TypeClaude code mod
Authorjagp
Repositoryjagp/xray-mod
Popularityno public popularity data yet
CategoryContext & memory
SecurityLow risk (80/100)
Rank#6,496 of 9,397 Claude Code mods; #573 in Context & memory
Last commit2026-11-28
Hooks14 events
Seescompaction, every tool call
Draws onPane, SessionMode

Is xray-mod safe to install?

xray-mod scores 80/100 on the MCPMods security check: Low risk. Things to review: writes files or config. It passed 5 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes files or configReview
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.clock.now
$.command.register
$.config.setchanges config
$.session.messagesreads the transcript
$.session.usage
$.state.get
$.state.set
$.ui.closedraws interface
$.ui.copydraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install xray-mod?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/jagp/xray-mod
    claude plugin validate ./xray-mod/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/jagp/xray-mod && claude --plugin-dir ./xray-mod/.

Or ask Claude to set it up

Paste this into Claude Code and it installs xray-mod for you:

Install the "xray-mod" Claude Code mod from https://github.com/jagp/xray-mod. Run claude plugin validate on it first and show me what it can access before you enable it.