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 skills add melodic-software/claude-code-plugins --skill write-for-agentsgit clone --depth 1 https://github.com/melodic-software/claude-code-pluginsWrote 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/melodic-software/claude-code-plugins/write-for-agents)<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/write-for-agents"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/write-for-agents/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/melodic-software/claude-code-plugins/write-for-agents"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/write-for-agents.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.00164 | $0.03825 |
| Opus 5.5 | $0.00066 | $0.01530 |
| Sonnet 5.5 | $0.00033 | $0.00765 |
| Haiku 4.5 | $0.00016 | $0.00382 |
Grade A, and why
write-for-agents 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 257 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Write For Agents
Scope
The docs-hygiene siblings audit docs that already exist. This skill is the write-side complement:
it fires while the doc is written, so the problems the audits catch are never created. Its scope
is any markdown an agent will consume; the auto-read surfaces (CLAUDE.md scopes, .claude/rules,
auto-memory, and their kin) are the high-value core because their cost recurs every session. Read
reference/agent-doc-surfaces.md when you need to know
whether, when, and how much of a target file the harness loads. Write differently for an
always-loaded surface than for an on-demand one.
Budget both loads
Every line spends two budgets, and cutting one can overspend the other:
- Context load. Tokens and attention the agent pays, every session for always-loaded surfaces: we count each added line as diluting the agent's adherence to the rest, not only as tokens. Governed marketplace-wide by plugin-philosophy's Instruction economy: an instruction earns its place with observed-stumble evidence, or it goes. Pointer: for the size guidance, see write effective instructions.
- Cognitive load. Attention the human maintainer pays: they must be able to hold the map of where things live. Ten tiny fragment files can be cheaper for the agent and ruinous for the human; one 500-line file the reverse. When the two budgets conflict, say which one you spent and why.
Fewer words spends less of both. The universal brevity rules apply: no more words than the meaning
needs, no filler, hedging, intensifiers, expletive openings, or restatement of an adjacent line;
active voice; one idea per sentence; a factual register with nothing sold. /writing:be-concise (if enabled)
owns those rules; without it, apply them from this
paragraph. Take those rules and no more of that doctrine: its human-only rules do not transfer. A
bottom-line-first opening, headings written to be skimmed, bullet lists for scanning, and bounded
bold serve a person moving down a page fast; an agent needs the rule stated where it applies, not
staged for a skim.
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.
- yesterday Changed · +17 lines · +34 tokens per session e11f6a6a31c6
- 4d ago Changed · +16 tokens per session 5fc052cd428a
- 5d ago Changed · -43 tokens per session 1e881f1a746b
- 6d ago Changed · +2 tokens per session e58c9508b0ce
- 7d ago Changed · -6 lines 81038996a30b
- 9d ago Changed · +8 lines 8d62293e2961
- 12d ago Changed · +7 lines 14b0d8cab145
- 14d ago Changed · +6 lines 0a6dbdae67b5
- 17d ago Changed 6e92d9dc37a8
- 18d ago First seen · 225 lines · 155 tokens per session scan A 6d82d021984b
write-for-agents is a skill published in the GitHub repository melodic-software/claude-code-plugins (34 stars, last pushed today), licensed MIT. It adds 164 tokens to every session and 3,825 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-09-03.
write-for-agents compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| write-for-agentsmelodic-software/claude-code-plugins | Skill | 34 | today | MIT | A | 164 | Claude Code |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 82k | yesterday | MIT | A | 200 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 332k | 6d ago | MIT | A | 21 | Claude Code |