Ix: Instructions file for Claude Code

CLAUDE.md

Ix CLAUDE.md is an instructions file for Claude Code from ix-infrastructure/Ix. It costs 1,393 tokens per session, scanned A, original, Apache-2.0.

Project instructions for Ix, a command-line tool and agent skill for exploring code. The repository includes a TypeScript CLI, a parser for many programming languages, documentation, and a visual web interface.

In plain words
What is it for?
Use them to build and test the CLI, run the parser and services, work with the agent skill, or follow the project’s setup and troubleshooting procedures.
Why use it?
They clarify which parts are local and which run as Docker services, reducing confusion when developing or troubleshooting the project.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths.

This is ix-infrastructure/Ix's own configuration. It tells Claude Code how to work on Ix itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Ix configures →

About the project

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.

ix-infrastructure/Ix · 1,142 stars · on GitHub · ix-infra.com

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/ix-infrastructure/Ix/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/ix-infrastructure/Ix

Made for: Claude Code.

Wrote 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.

agentmods badge for Ix CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ix-infrastructure/ix/claude-md/github.svg)](https://agentmods.dev/instructions/ix-infrastructure/ix/claude-md)
Your own site
<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.

agentmods 80×15 button for Ix CLAUDE.md

Your own site · 80×15
<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>
Per session 1,393 This file is loaded in full into every session.
When invoked 1,393 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 7d ago against content hash e8c714c57d3f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

CLAUDE.md · 98 lines

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

Read the full file on GitHub · 98 lines

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.

  1. 7d ago Changed · +1 lines · +17 tokens per session e8c714c57d3f
  2. 14d ago Changed · +7 lines · +117 tokens per session 352b12b6175f
  3. 1mo ago Changed · +1 tokens per session f7a04d68ef82
  4. 1mo ago Changed · +2 lines · +41 tokens per session 6b61146852a1
  5. 1mo ago Changed 8c6e5a551221
  6. 1mo ago Changed · -208 lines · -2,743 tokens per session 86023cf53f9f
  7. 2mo ago Changed · +2 tokens per session d3c70f53eb2e
  8. 2mo ago First seen · 296 lines · 3,958 tokens per session scan A 915958d18876

Subscribe to this mod's changes

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.

Related

Ix CLAUDE.md compared with instructions from other repositories

Ix CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Ix CLAUDE.mdix-infrastructure/IxInstructions file1.1kyesterdayApache-2.0A1,393Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode