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/fazalur076/cortex/agents-mdgit clone --depth 1 https://github.com/fazalur076/CortexWhat 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.00172 | $0.00172 |
| Opus 5 | $0.00086 | $0.00086 |
| Sonnet 5 | $0.00034 | $0.00034 |
| Haiku 4.5 | $0.00017 | $0.00017 |
Grade A, and why
Cortex AGENTS.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
Context Runtime (ctx) Repository Intelligence
- Primary Navigation Engine: Always use 'ctx' CLI or MCP tools for repository queries.
- Mandatory Pre-Edit Rule: Before editing or refactoring code, ALWAYS search ('ctx search' / 'ctx symbol') and check blast radius ('ctx impact ').
- 'ctx summary': Get instant codebase architecture, language breakdown, and module layouts.
- 'ctx symbol ': Perform precise AST symbol lookup.
- 'ctx impact ': Perform blast radius impact analysis before modifying code.
- 'ctx check-routes': Validate API route parameter contracts.
- 'ctx search ': Perform sub-5ms SQLite FTS5 search.
- Incremental Build: Run 'ctx build' after non-trivial modifications to keep the index fresh.
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 · 11 lines · 172 tokens per session scan A 39b1266621ab
Cortex AGENTS.md is an instructions file published in the GitHub repository fazalur076/Cortex (5 stars, last pushed 19d ago), licensed MIT. It adds 172 tokens to every session, about $0.0009 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
fastmcp CLAUDE.md
Claude Code instructions for PrefectHQ/fastmcp, covering fastmcp development guidelines, required development workflow, repository structure, core mcp objects and development rules.
registry CLAUDE.md
Claude Code instructions for modelcontextprotocol/registry, covering claude.md and important: publishing mcp servers.
everything-ai-coding AGENTS.md
Instructions for zgsm-ai/everything-ai-coding, covering agents.md, project context, do not commit openspec/, test files and commit conventions.
tailscale-mcp AGENTS.md
Instructions for HexSleeves/tailscale-mcp, covering skill routing and gbrain configuration (configured by /setup-gbrain).
daz-mcp-server CLAUDE.md
Instructions for bluemoonfoundry/daz-mcp-server, covering claude.md (project index), primary commands, skill modules (reference with @), architecture summary and render api (dazscriptserver native endpoints).
cognirepo CLAUDE.md
Instructions for ashlesh-t/cognirepo, covering claude.md, key rules, session start sequence (run in this order), behavioral confirmation rule and personas (cognirepo-402, cognirepo-403).