codex-in-claude: Skill for Claude Code

.agents/skills/agent-friendly-docs/SKILL.md

agent-friendly-docs is a skill for Claude Code from briandconnelly/codex-in-claude. It costs 169 tokens per session (1,183 once invoked), scanned A, original, MIT.

A set of practices for organising a repository's instruction files, README, documentation, decision records, and code comments so AI coding agents can find and trust the right context.

In plain words
What is it for?
Designing, restructuring, auditing, or reviewing documentation inside a code repository for use by AI coding agents.
Why use it?
It reduces repeated explanation, stale guidance, and wasted time caused by agents reading too much or finding the wrong project information.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

This is briandconnelly/codex-in-claude's own configuration. It tells Claude Code how to work on codex-in-claude 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 codex-in-claude configures →

Part of the codex-in-claude plugin — 8 skills, 1 MCP server shipped together

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/briandconnelly/codex-in-claude/main/.agents/skills/agent-friendly-docs/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/briandconnelly/codex-in-claude

Made for: Claude Code.

Or install codex-in-claude, the plugin that ships this one along with the rest of its 8 skills, 1 MCP server.

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 agent-friendly-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/briandconnelly/codex-in-claude/agent-friendly-docs/github.svg)](https://agentmods.dev/skills/briandconnelly/codex-in-claude/agent-friendly-docs)
Your own site
<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.

agentmods 80×15 button for agent-friendly-docs

Your own site · 80×15
<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>
Per session 169 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,183 The whole file, excluding the scripts and references it only reads on demand.
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.00169 $0.01183
Opus 5 $0.00084 $0.00592
Sonnet 5 $0.00034 $0.00237
Haiku 4.5 $0.00017 $0.00118

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

Security

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 9d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.agents/skills/agent-friendly-docs/SKILL.md · 75 lines

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.

Read the full file on GitHub · 75 lines

Files

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.

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. 9d ago First seen · 75 lines · 169 tokens per session scan A 3aa521aa2097

Subscribe to this mod's changes

agent-friendly-docs is a skill published in the GitHub repository briandconnelly/codex-in-claude (3 stars, last pushed 6d ago), licensed MIT. It adds 169 tokens to every session and 1,183 once invoked, about $0.0008 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.

Related

Other skills, from other repositories

writing-release-notes

Use when preparing, refreshing, backfilling, or redrafting a release-notes page under docs/releases/ before opening a normal review pull request.

pvliesdonk/markdown-vault-mcp · 35 tokens

skills

Generate a complete SVG file from a natural language description using SEP-1577 multi-step sampling.

sandraschi/inkscape-mcp · 0 tokens

researching-references

Use when a change depends on how something outside this repository actually behaves — a markdown dialect, a file format, git, a protocol, a vendor API — and docs/design/reference/ has no current reference for it, or the one it has is past its review date. Researches from primary sources and writes a dated, versioned…

pvliesdonk/markdown-vault-mcp · 99 tokens

repository-protection

Use when changing branch or tag rulesets, required checks, or the bootstrap workflow: how repository protection is applied and kept in sync.

pvliesdonk/markdown-vault-mcp · 31 tokens

vault-workflow

Use when the user asks you to search, read, or reason about notes in their markdown vault — guides when to use which vault tool and how to chain them for good results.

pvliesdonk/markdown-vault-mcp · 40 tokens

pr-alignment-loop

Iterate a PR to its final form by running two opposing reviewer droids (reviewer-robustness and reviewer-minimalist) in a bounded back-and-forth loop. The main orchestrator synthesizes their feedback, makes edits, runs tests, and stops when both approve, on stagnation, or after 3 rounds. Use when the user asks to…

nikships/skills-registry · 122 tokens