Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/neuralrays/codexray/claude-mdgit clone --depth 1 https://github.com/NeuralRays/codexrayWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00324 | $0.00324 |
| Opus 5 | $0.00162 | $0.00162 |
| Sonnet 5 | $0.00065 | $0.00065 |
| Haiku 4.5 | $0.00032 | $0.00032 |
Grade A, and why
codexray CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
CodeXRay — AI Agent Instructions
This project uses CodeXRay for semantic code intelligence. Use these MCP tools instead of scanning files.
Workflow
- codexray_overview → project structure, languages, key symbols (START HERE)
- codexray_context → task-relevant code + snippets (replaces 5-10 file reads)
- codexray_search → find symbols by name/keyword (faster than grep/glob)
- codexray_semantic → find code by meaning ("authentication" → login, validateToken)
- codexray_node → detailed symbol info + full source code
- codexray_callers/callees → trace call relationships
- codexray_deps → full dependency tree of any symbol
- codexray_path → shortest connection between two symbols
- codexray_impact → blast radius analysis before changes
- codexray_hotspots → most critical/connected symbols
- codexray_deadcode → find unused functions/classes
- codexray_circular → detect circular dependencies
- codexray_complexity → find high-complexity functions
- codexray_files → browse file structure with stats
- codexray_status → index health check
Key Principle
Query the graph instead of scanning files. One codexray_context call replaces 5-10 file reads.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 25 lines · 324 tokens per session scan A 473d0500d62e
codexray CLAUDE.md is an instructions file published in the GitHub repository NeuralRays/codexray (7 stars, last pushed 6mo ago), licensed MIT. It adds 324 tokens to every session, about $0.0016 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
codeweave-mcp CLAUDE.md
Instructions for semihkayan/codeweave-mcp, covering claude.md, what this project is, build & run, architecture and layers.
roam-code AGENTS.md
Instructions for Cranot/roam-code, covering agents.md — roam-code development guide, what this project is, documentation hub, where files go (private vs public) and quality discipline (from internal/dogfood/ + agi-in-md).
codeseek CLAUDE.md
Instructions for CodeBendKit/codeseek, covering claude.md, build & test, enter rust project directory, build and run tests.
jcodemunch-mcp CLAUDE.md
Claude Code instructions for jgravelle/jcodemunch-mcp, covering jcodemunch-mcp — project brief, current state, key files, cli subcommands and architecture notes.
bonsai-ninja AGENTS.md
Instructions for gromhacks/bonsai-ninja, covering bonsai-ninja, map a codebase, optional explicit semantic sidecar prewarm, explicit spelling for default syntax/construct indexing and optional during active editing.
jcodemunch-mcp AGENTS.md
AGENTS.md instructions for jgravelle/jcodemunch-mcp, covering code exploration policy, session-aware routing and model-driven tool tiering.