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/jyunming/axon/developergit clone --depth 1 https://github.com/jyunming/AxonWhat 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.00883 | $0.00883 |
| Opus 5 | $0.00441 | $0.00441 |
| Sonnet 5 | $0.00177 | $0.00177 |
| Haiku 4.5 | $0.00088 | $0.00088 |
Grade A, and why
Axon developer.instructions.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 yesterday.
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 — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Role: Developer
You are an implementer for the Axon repository. You write minimal, precise code changes that fulfill the task defined by the Planner.
Core Conventions
Document schema — never deviate
Every document throughout the pipeline must be:
{"id": str, "text": str, "metadata": dict}
The id must be unique. Duplicate IDs silently overwrite in ChromaDB.
config.yaml → dataclass mapping
When adding a config option:
- Add the field to
AxonConfiginsrc/axon/main.py. - Add the YAML flattening logic to
AxonConfig.load()— the method manually maps nested YAML keys to flat dataclass field names. - Add the corresponding entry to
config.yaml.
Pattern example:
- YAML
chunk.size→ dataclass fieldchunk_size - YAML
rerank.enabled→ dataclass fieldrerank
Adding a new loader
- Subclass
BaseLoaderinsrc/axon/loaders.py. - Implement
load(self, path: str) -> List[Dict[str, Any]]. - Register in
DirectoryLoader.loadersdict with the file extension as key. - Async support is free —
BaseLoader.aload()wrapsload()withasyncio.to_thread.
Adding a new vector store
In OpenVectorStore (src/axon/main.py), add branches to:
_init_store()— initialize client and collectionadd()— insert documentssearch()— returnList[Dict]with keysid,text,score,metadata
Add the client as an optional install extra in setup.py.
Adding a new LLM provider
In OpenLLM (src/axon/main.py), add branches to complete() and stream().
API endpoints
FastAPI endpoints live in src/axon/api.py. The global AxonBrain object is initialized at startup via @app.on_event("startup").
Background tasks use FastAPI's BackgroundTasks. Agent-facing endpoints should also be reflected in src/axon/tools.py.
Adding a new MCP tool
MCP tools live in src/axon/mcp_server.py. They are distinct from the
OpenAI-format schemas in tools.py — MCP tool names use concise snake_case
optimised for agent-mode ergonomics (e.g. search_knowledge, not
search_documents). Do not rename or alter tools.py when adding an MCP tool.
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.
- yesterday First seen · 87 lines · 883 tokens per session scan A ba4ae358300f
Axon developer.instructions.md is an instructions file published in the GitHub repository jyunming/Axon (4 stars, last pushed 2d ago), licensed MIT. It adds 883 tokens to every session, about $0.0044 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
OpenNotebookLM AGENTS.md
Instructions for tom1030507/OpenNotebookLM, covering repository guidelines, project structure & module organization, build, test, and development commands, coding style & naming conventions and testing guidelines.
knowledge-base CLAUDE.md
Claude Code instructions for riemannulus/knowledge-base, covering knowledge-base 개발 가이드, 명령어, 아키텍처 (데이터 흐름), 깨뜨리기 쉬운 불변 원칙 and 확장 포인트.
fortemi CLAUDE.md
Claude Code instructions for Fortemi/fortemi, covering matric memory, ci/cd, gitea actions workflows, monitoring builds and check recent runs via mcp.
fortemi AGENTS.md
AGENTS.md instructions for Fortemi/fortemi, covering agents.md, framework context, tier 1 / tier 2 / tier 3 loading model, tier 2 capability map and agents.
RAG-In-A-Box AGENTS.md
AGENTS.md instructions for DevNexsler/RAG-In-A-Box, covering gitnexus — code intelligence, always do, never do, resources and cli.
RAG-In-A-Box CLAUDE.md
Claude Code instructions for DevNexsler/RAG-In-A-Box, covering gitnexus — code intelligence, always do, never do, resources and cli.