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/ogro-projukti/codegenome/agents-mdgit clone --depth 1 https://github.com/Ogro-Projukti/codegenomeWhat 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.00536 | $0.00536 |
| Opus 5 | $0.00268 | $0.00268 |
| Sonnet 5 | $0.00107 | $0.00107 |
| Haiku 4.5 | $0.00054 | $0.00054 |
Grade A, and why
codegenome 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.
This is a copy
100% identical to codegenome copilot-instructions.md — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 25 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CodeGenome Knowledge Graph (MCP)
You are operating within a repository analyzed by CodeGenome, an architectural knowledge graph tool. This project contains a .genome/ directory.
Core Directives
- Mandatory MCP Usage: When
.genome/codegenome.dbexists, you MUST use CodeGenome MCP access for all codebase, architecture, dependency, or symbol queries whenever it is available. - Access Order: First use native CodeGenome MCP tools exposed in your context. If those tools are missing, you MAY try a local MCP HTTP endpoint such as
http://127.0.0.1:7331/mcpwhen the user has started it or configured it. Treat this as MCP transport access, not as an arbitrary application HTTP API. - Prefer Graph over Grep: Use graph-backed MCP tools instead of raw file searching (
grep) or reading entire files blindly. The graph provides semantic understanding. - Fallback Gracefully: If native MCP tools are missing and HTTP MCP access is unavailable, incompatible, or returns empty data, tell the user exactly what failed and what to configure. Then, if needed, read
.genome/graph.jsonor.genome/exports/*.mdbefore resorting to standard text searches. - Keep Context Fresh: After modifying code files, remind the user to run
codegenome analyzeor start the live evolution servercodegenome evolve --liveto keep the graph updated.
Available MCP Capabilities
- Discovery:
search_nodes(find symbols) - Relationships:
get_neighbors(imports, callers, callees) - Architecture:
get_entry_points,get_dead_code,get_circular_deps,get_god_nodes - Metrics:
get_complexity,get_churn,get_graph(summary statistics) - Evolution:
get_timeline,get_changes(architectural diffs)
Constraints & Behaviors
- Only read
.genome/graph.jsonor.genome/exports/*.mddirectly if native MCP tools and local HTTP MCP transport are unavailable or fail to surface enough context. - Verify your MCP usage by monitoring tool call success. If native tools are missing, try the configured local HTTP MCP endpoint when possible. If both native and HTTP MCP access fail, politely ask the user to configure their editor's MCP settings to run
codegenome mcp-start(stdio) or start the server withcodegenome mcp-start --transport http.
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 · 25 lines · 536 tokens per session scan A 2256ad7b8b73
codegenome AGENTS.md is an instructions file published in the GitHub repository Ogro-Projukti/codegenome (23 stars, last pushed 1mo ago), licensed MIT. It adds 536 tokens to every session, about $0.0027 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to codegenome copilot-instructions.md, differing in 0 lines, and is treated as a copy.
Other instructions, from other repositories
ontology-atlas AGENTS.md
Instructions for wlsdks/ontology-atlas, covering agents.md — ontology-atlas, product and non-negotiable architecture, start here, structure and routes and operating gates and skills.
ontology-atlas CLAUDE.md
Instructions for wlsdks/ontology-atlas, covering claude.md, visibility and mirrors, claude code loading and synchronization.
open-ontologies CLAUDE.md
Instructions for fabio-rovai/open-ontologies, covering open ontologies, ontology engineering workflow, generate, validate and load and reason.
kglite CLAUDE.md
Instructions for kkollsga/kglite, covering kglite — claude code conventions, build & test, architecture, the boundary principle (wrappers vs core) — summary and in-memory is the core product.
claudectl CLAUDE.md
Instructions for mercurialsolo/claudectl, covering claudectl, build & test, architecture, workspace layout and core modules — claudectl-core (crates/claudectl-core/src/).
tpu_performance_autoresearch_wiki GEMINI.md
Instructions for vlasenkoalexey/tpu_performance_autoresearch_wiki, covering gemini/antigravity operating rules, platform adaptation (claude code → gemini/antigravity), 1. skills — native, no emulation, 2. never-stop hook & retrospectives and 3. session and transcript resolution.