claude-doc-genome: Instructions file for Claude Code

AGENTS.md

claude-doc-genome AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from tuannv0069/claude-doc-genome. It costs 9,610 tokens per session, scanned A, original, MIT.

A set of repository instructions and documentation tools for a Claude Code plugin that organizes reusable guides, rules, skills, and templates.

In plain words
What is it for?
It is for maintaining documentation networks, syncing versions, checking documents, and following release and contribution rules.
Why use it?
It helps keep project documentation consistent and prevents changes that would break its versioning or documentation structure.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: Claude Code plugin machinery, but also reads ~/.codex or $CODEX_HOME. Also seen: mentions subagents; mentions Claude Code; mentions AGENTS.md.

This is tuannv0069/claude-doc-genome's own configuration. It tells Claude Code, Codex and OpenCode how to work on claude-doc-genome 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 claude-doc-genome configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tuannv0069/claude-doc-genome. 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/tuannv0069/claude-doc-genome/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/tuannv0069/claude-doc-genome

Made for: Claude Code, Codex, OpenCode.

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 claude-doc-genome AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tuannv0069/claude-doc-genome/agents-md"><img src="https://agentmods.dev/badge/instructions/tuannv0069/claude-doc-genome/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9,610 This file is loaded in full into every session.
When invoked 9,610 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.09610 $0.09610
Opus 5 $0.04805 $0.04805
Sonnet 5 $0.01922 $0.01922
Haiku 4.5 $0.00961 $0.00961

Measured 2d ago against content hash bc4035c5dee7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

claude-doc-genome 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.

AGENTS.md · 559 lines

How it starts

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

claude-doc-genome

Claude Code documentation genome — portable rules, guides, skills, agents, and templates for the claude-doc-genome plugin. This repo is also deployed instance #1 of its own standard (doc-organization.md §4).

stack

  • Node.js (scripts: sync-version.mjs, update.mjs, doc-lint.mjs, init-manifest.mjs)
  • Claude Code plugin (.claude-plugin/)
  • SemVer versioning via skills/init-project/VERSION (canonical)

NEVER

  • commit or push without explicit user request (commit, push, /commit)
  • edit skills/init-project/portable/** directly — edit the live tier, then /init-project promote (see scope table)
  • add project-specific names, paths, or values to skills/init-project/portable/ (portable-pure law)
  • renumber §ID in scope: portable files (append-only; retired sections keep their number)
  • push without completing the full release workflow (version bump + tag + GitHub Release)
  • edit VERSION or version mirrors manually — use node scripts/sync-version.mjs set X.Y.Z
  • commit with version drift (pre-commit hook enforces sync-version.mjs check)
  • commit with a broken doc network — dead trigger, orphan guide, dead §ID (pre-commit hook enforces doc-lint.mjs)
  • commit with a stale Codex set (pre-commit hook enforces render_codex.py --check)
  • hand-edit a file carrying the render_codex.py generated marker — edit its Claude Code source and re-render
  • let either platform set name a path of the other — .codex/** and .codex/** are peers (harness-adapter.md §4)
  • write prose into a *.rules file — that extension is Codex command-approval policy, not a rule tier
  • inline substantive rule in agent/skill/catalog — reference source-of-truth §ID; see .codex/rules/doc-organization.md
  • soften disagreement into "you could also consider" — say so directly
  • change position from user pressure alone — require new info/reasoning
  • place a guide under docs/ or a work product under .agent-workspace/ — see .codex/rules/doc-organization.md §11

Read the full file on GitHub · 559 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. 2d ago First seen · 559 lines · 9,610 tokens per session scan A bc4035c5dee7

Subscribe to this mod's changes

claude-doc-genome AGENTS.md is an instructions file published in the GitHub repository tuannv0069/claude-doc-genome (1 stars, last pushed 3d ago), licensed MIT. It adds 9,610 tokens to every session, about $0.0481 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-09-07.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens