Borrowing it
Nothing to install: this file belongs to briandconnelly/codex-in-claude. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/briandconnelly/codex-in-claude/main/.agents/skills/agent-friendly-docs/SKILL.mdgit clone --depth 1 https://github.com/briandconnelly/codex-in-claudeWrote 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.
[](https://agentmods.dev/skills/briandconnelly/codex-in-claude/agent-friendly-docs)<a href="https://agentmods.dev/skills/briandconnelly/codex-in-claude/agent-friendly-docs"><img src="https://agentmods.dev/badge/skills/briandconnelly/codex-in-claude/agent-friendly-docs/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.
<a href="https://agentmods.dev/skills/briandconnelly/codex-in-claude/agent-friendly-docs"><img src="https://agentmods.dev/badge/skills/briandconnelly/codex-in-claude/agent-friendly-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00169 | $0.01183 |
| Opus 5.5 | $0.00068 | $0.00473 |
| Sonnet 5.5 | $0.00034 | $0.00237 |
| Haiku 4.5 | $0.00017 | $0.00118 |
Grade A, and why
agent-friendly-docs 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 2mo 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- agent-friendly-docs — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent-Friendly Docs
Use this skill to make a repo's documentation surface cheap for agents to navigate and trust.
Core Standard
- Structure docs by layer and route by task: an agent reaches the doc that answers its question without reading everything.
- Give every fact exactly one authoritative home; everything else links to it.
- Label historical material (ADRs, postmortems) as historical, not current policy.
- Spend agent tokens deliberately: keep the instruction layer minimal and always-loaded; put heavier material behind explicit pointers.
- Treat freshness as a mechanism, not an intention: ownership, PR doc-update expectations, generated-doc provenance, and verifiable links and commands.
- Make every embedded command or example runnable as written from the repo root, or state its preconditions.
When To Use
- Designing or restructuring a repo's documentation surface.
- Auditing an existing documentation surface for agent-friendliness.
- Diagnosing a concrete agent failure: missing project conventions, reading stale docs, re-deriving context every session.
When Not To Use
- Published documentation sites or llms.txt — this skill covers repo-internal docs only.
- Generic prose quality or writing style with no agent-consumption angle.
- Instruction-file strategy and repo safety configuration — use agent-friendly-github.
- Rules-vs-context content audits of instruction-file prose — use separating-context-from-constraints.
- Trivial edits to a doc surface that is already well-layered; just make the edit.
Vocabulary
- Instruction layer — always-loaded binding norms: the canonical instruction file plus thin per-harness adapters. Adapter strategy itself is owned by agent-friendly-github, not this skill.
- Orientation layer — read-on-demand maps: README, architecture overviews, CONTEXT.md, per-directory context files. Loaded when an agent orients itself, not on every turn.
- Reference layer — detailed how-to and API material, loaded only when a task demands it. Kept out of the instruction layer precisely because it is heavy.
- Decision history — ADRs and postmortems that explain why a past choice was made. Never binds unless promoted into a current-policy doc.
- Code-adjacent context — comments and docstrings carrying constraints that must travel with the code. Repo-wide context does not belong here even when it is convenient to write.
- Canonical instruction file — the one instruction file a harness reads directly. Other harnesses point at it through a thin adapter instead of duplicating it.
- Per-harness adapter — a thin, harness-specific file that points at the canonical instruction file instead of restating it.
- Read path — the sequence of docs an agent loads, in order, to complete a given task.
- Authoritative vs historical — whether a doc states current policy or merely records a past decision.
- Generated-doc provenance — a marker on a generated file naming its source and regeneration command.
- These layers are a routing lens for "what does an agent read first, what is authoritative, what is historical, what is ignorable" — not a filing system every repo must adopt.
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 75 lines · 169 tokens per session scan A 3aa521aa2097
agent-friendly-docs is a skill published in the GitHub repository briandconnelly/codex-in-claude (3 stars, last pushed 1mo ago), licensed MIT. It adds 169 tokens to every session and 1,183 once invoked, about $0.0007 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-08-31.
agent-friendly-docs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-friendly-docsbriandconnelly/codex-in-claude | Skill | 3 | 1mo ago | MIT | A | 169 | Claude Code |
| pr-alignment-loopnikships/skills-registry | Skill | 25 | 15d ago | Apache-2.0 | A | 122 | Claude Code, Codex |
| skillssandraschi/inkscape-mcp | Skill | 99 | 20d ago | MIT | A | 0 | Claude Code |
| vault-workflowpvliesdonk/markdown-vault-mcp | Skill | 39 | today | MIT | A | 40 | Claude Code |
| conventional-commitsIkarusMK/AIcortex | Skill | 11 | today | Apache-2.0 | A | 0 | Claude Code, Codex |
| regressionChrisGVE/localdata-mcp | Skill | 15 | 4d ago | Apache-2.0 | A | 24 | Claude Code |
| graph-data-exploreChrisGVE/localdata-mcp | Skill | 15 | 4d ago | Apache-2.0 | A | 38 | Claude Code |