readme-writing

readme-writing is a skill for Claude Code from metraton/gaia. It costs 149 tokens per session (3,371 once invoked), scanned A, original, MIT.

A set of rules for writing READMEs that give readers the mental model they need before using a repository or one of its folders.

In plain words
What is it for?
Use it when creating or updating repository documentation, including annotated file trees, relative links, and readable text-based process flows.
Why use it?
It prevents documentation from becoming a bare file list or an unverified diagram that leaves readers with a mistaken understanding.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the gaia plugin — 38 skills, 9 agents, 11 hooks shipped together

Good fit Use it when creating or updating repository documentation, including annotated file trees, relative links, and readable text-based process flows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/metraton/gaia/readme-writing
Install

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.

Any agent
npx skills add metraton/gaia --skill readme-writing
Clone the repo
git clone --depth 1 https://github.com/metraton/gaia

Made for: Claude Code.

Or install gaia, the plugin that ships this one along with the rest of its 38 skills, 9 agents, 11 hooks.

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 readme-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/metraton/gaia/readme-writing/github.svg)](https://agentmods.dev/skills/metraton/gaia/readme-writing)
Your own site
<a href="https://agentmods.dev/skills/metraton/gaia/readme-writing"><img src="https://agentmods.dev/badge/skills/metraton/gaia/readme-writing/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 readme-writing

Your own site · 80×15
<a href="https://agentmods.dev/skills/metraton/gaia/readme-writing"><img src="https://agentmods.dev/badge/skills/metraton/gaia/readme-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 149 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,371 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.00149 $0.03371
Opus 5 $0.00075 $0.01685
Sonnet 5 $0.00030 $0.00674
Haiku 4.5 $0.00015 $0.00337

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

Security

Grade A, and why

readme-writing 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 10d 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.

skills/readme-writing/SKILL.md · 127 lines

How it starts

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

README Writing

A README is the mental model someone needs before they touch or adopt the thing it describes. One that only lists files is worse than none: it leaves the reader believing they understand something they do not, and they act on that belief.

Three things hold for every README, whatever it documents, and are stated here once rather than repeated per case:

  • Every tree is annotated. One line per entry, giving the reason that entry exists. A bare tree adds nothing over ls.
  • Every link is relative. An absolute link points at one host, one account, one branch; it breaks in a clone, in a fork, and on every branch it was not written on.
  • Every flow is plain text -- numbered steps and simple -> arrows in a code block. Never mermaid, never any format that must be rendered to be read. A rendered diagram can only be verified by looking at it rendered, which needs a tool that may not be installed; one shipped recently that nobody could validate for exactly that reason. Plain text reads identically on the web, in a terminal, and in a diff, so what is in the file is what the reader sees.
  • The concreteness test in Step 3 is the same test for all three cases below.

Step 1: Name the gate

This comes first because it decides everything after it. Three READMEs, three readers, three questions the reader arrives with:

Gate Who is reading The question they arrive with
Repository root Someone evaluating -- they may clone it, adopt it, inherit it, or walk away "Does this serve me?"
Component folder Someone about to add, change, or remove something in that folder "What is this wired to, and what do I break?"
Shipped template Whoever receives what was generated "What is mine now, and what do I have to do?"

The root of a client's Terraform repo, a service, a library, a CLI -- all one gate: repository root. A folder inside a repo that holds one kind of thing -- migrations/, modules/, components/, services/, agents/ -- is the second gate. A README that travels inside generated output, into a repo its author will never see again, is the third.

Read the full file on GitHub · 127 lines

Files

What ships with it

1 file 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. 10d ago First seen · 127 lines · 149 tokens per session scan A e0abbcca7891

Subscribe to this mod's changes

readme-writing is a skill published in the GitHub repository metraton/gaia (3 stars, last pushed today), licensed MIT. It adds 149 tokens to every session and 3,371 once invoked, about $0.0007 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