abi: Instructions file for Claude Code

CLAUDE.md

abi CLAUDE.md is an instructions file for Claude Code from donaldfilimon/abi. It costs 8,617 tokens per session, scanned A, original, Apache-2.0.

A Claude Code instruction file for ABI, a Rust framework for local AI services, vector storage, and an MCP server. It provides toolchain notes, commands, build details, and the rule that AGENTS.md is authoritative.

In plain words
What is it for?
It is for preparing the environment, running local checks, building ABI, and avoiding platform-specific or outdated-source mistakes.
Why use it?
It gives Claude Code the project context and build precautions needed to work safely in a multi-crate Rust repository.

Instructions file for Claude Code

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

This is donaldfilimon/abi's own configuration. It tells Claude Code how to work on abi 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 abi configures →

Reuse

Borrowing it

Nothing to install: this file belongs to donaldfilimon/abi. 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/donaldfilimon/abi/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/donaldfilimon/abi

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 abi CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/donaldfilimon/abi/claude-md/github.svg)](https://agentmods.dev/instructions/donaldfilimon/abi/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/donaldfilimon/abi/claude-md"><img src="https://agentmods.dev/badge/instructions/donaldfilimon/abi/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 abi CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/donaldfilimon/abi/claude-md"><img src="https://agentmods.dev/badge/instructions/donaldfilimon/abi/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8,617 This file is loaded in full into every session.
When invoked 8,617 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.08617 $0.08617
Opus 5.5 $0.03447 $0.03447
Sonnet 5.5 $0.01723 $0.01723
Haiku 4.5 $0.00862 $0.00862

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

Security

Grade A, and why

abi 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 15d 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 · 367 lines

How it starts

The opening of the file, as written. The whole thing — 367 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Note: AGENTS.md is canonical; GEMINI.md redirects to it. This file is an expanded version for Claude Code. If anything here disagrees with AGENTS.md, AGENTS.md wins; if either disagrees with executable source (Cargo.toml, tools/check.sh, crates/), trust the source.

ABI is a stable Rust 1.99.1 framework for local AI service orchestration, semantic vector storage (WDBX), claim-honest GPU capability reporting, and an MCP server. Intelligence Without Limits. IWL is Abbey/ABI only; Quesar never carries this tagline. See docs/brand.md. The Zig implementation that used to live under src/ has been fully replaced; see RUST-REWRITE-PLAN.md for the port history if you find stale Zig references in older docs. All live code is under crates/; the retired root src/ tree is fully absent. .github/copilot-instructions.md was rewritten for the Rust workspace in PR #777 and now defers to AGENTS.md.

Toolchain — read this before running anything

  • Stable Rust 1.99.1 pinned via rust-toolchain.toml.
  • Homebrew's real cargo/rustc binaries can shadow rustup on PATH. Never invoke bare cargo — always use ./tools/cargo.sh, which resolves the repository-selected rustup toolchain bin dir and prepends it to PATH. It also pins cc to /usr/bin/cc ahead of Swiftly's shim, which otherwise refuses to link because of an unrelated .swift-version pin.
  • The gate's Python tooling needs 3.11+ (tomllib). macOS ships /usr/bin/python3 at 3.9 and /usr/bin precedes Homebrew on the default PATH, so a bare python3 can resolve to an interpreter that dies with ModuleNotFoundError: No module named 'tomllib'. check.sh and cargo.sh resolve a capable interpreter themselves (override with ABI_PYTHON) and fail closed with an actionable message. When you invoke the Python steps by hand, use an interpreter you have verified as 3.11+.

Read the full file on GitHub · 367 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. 15d ago First seen · 367 lines · 8,617 tokens per session scan A ddaf7219489b

Subscribe to this mod's changes

abi CLAUDE.md is an instructions file published in the GitHub repository donaldfilimon/abi (18 stars, last pushed 5d ago), licensed Apache-2.0. It adds 8,617 tokens to every session, about $0.0345 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-11-15.

Related

abi CLAUDE.md compared with instructions from other repositories

abi CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
abi CLAUDE.mddonaldfilimon/abiInstructions file185d agoApache-2.0A8,617Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode