Ix is a codebase-understanding tool that parses a repository into a persistent graph of symbols, calls, imports, and other relationships, allowing people and coding agents to query its structure through MCP. Developers use it to inspect architecture and retrieve focused information about code without repeatedly searching through whole files.
Borrowing it
Nothing to install: this file belongs to ix-infrastructure/Ix. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ix-infrastructure/Ix/main/CLAUDE.mdgit clone --depth 1 https://github.com/ix-infrastructure/IxWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/ix-infrastructure/ix/claude-md)<a href="https://agentmods.dev/instructions/ix-infrastructure/ix/claude-md"><img src="https://agentmods.dev/badge/instructions/ix-infrastructure/ix/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/ix-infrastructure/ix/claude-md"><img src="https://agentmods.dev/badge/instructions/ix-infrastructure/ix/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What 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.1 | $0.01393 | $0.01393 |
| Opus 5.5 | $0.00557 | $0.00557 |
| Sonnet 5.5 | $0.00279 | $0.00279 |
| Haiku 4.5 | $0.00139 | $0.00139 |
Grade A, and why
Ix 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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Project: Ix (this repo)
This checkout is Ix itself plus the ix agent skill that wraps it. The
backend is NOT in this repo — it is the released Docker image running at
http://localhost:8090; the Compass visualizer serves the SPA + API proxy on
http://localhost:8080. Requires Node ≥ 22, git, Docker, ripgrep.
Layout
| Path | What it is |
|---|---|
ix-cli/ |
The @ix/cli TypeScript package — command routing (src/cli/), registration hub (src/cli/register/oss.ts), HTTP client (src/client/api.ts), response types (src/client/types.ts) |
core-ingestion/ |
Tree-sitter parser/classifier (27 languages) |
skills/ix/ |
The agent skill this project ships: SKILL.md, references/ (commands, flags, output-formats, troubleshooting), scripts/ (bootstrap.sh/ps1) |
docs/ |
api/ (HTTP API reference + OpenAPI spec), llm-format.md, prerequisites.md |
scripts/ |
bootstrap.sh (first-run), install-skill.sh (deploy skill to ~/.claude/skills + ~/.agents/skills) |
Commands
# CLI dev (from ix-cli/)
npm run build # build-core-ingestion + tsc
npm run typecheck # tsc --noEmit
npm test # core-ingestion build + vitest + parser smoke; does NOT rebuild
# ix-cli/dist -- run `npm run build` before using dist/cli/main.js
npm run dev # tsx src/cli/main.ts
# Skill + tooling (from repo root)
bash scripts/bootstrap.sh [repo-root] # install CLI, start backend, map repo
bash scripts/install-skill.sh # deploy skills/ix to ~/.claude + ~/.agents
# Repackage the skill zip into ./dist (gitignored). Needs the skill-creator
# skill installed; on Windows set PYTHONIOENCODING=utf-8 or its emoji print crashes.
python "$HOME/.agents/skills/skill-creator/scripts/package_skill.py" skills/ix ./dist
# Visualizer / preview
ix view start --all --no-open --port 8080 # combined multi-workspace view
ix map --silent # refresh the graph after code changes
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.
- 7d ago Changed · +1 lines · +17 tokens per session e8c714c57d3f
- 14d ago Changed · +7 lines · +117 tokens per session 352b12b6175f
- 1mo ago Changed · +1 tokens per session f7a04d68ef82
- 1mo ago Changed · +2 lines · +41 tokens per session 6b61146852a1
- 1mo ago Changed 8c6e5a551221
- 1mo ago Changed · -208 lines · -2,743 tokens per session 86023cf53f9f
- 2mo ago Changed · +2 tokens per session d3c70f53eb2e
- 2mo ago First seen · 296 lines · 3,958 tokens per session scan A 915958d18876
Ix CLAUDE.md is an instructions file published in the GitHub repository ix-infrastructure/Ix (1,142 stars, last pushed yesterday), licensed Apache-2.0. It adds 1,393 tokens to every session, about $0.0056 per session on Opus 5.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-30.
Ix CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Ix CLAUDE.mdix-infrastructure/Ix | Instructions file | 1.1k | yesterday | Apache-2.0 | A | 1,393 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |