write-for-agents

write-for-agents is a skill for Claude Code from melodic-software/claude-code-plugins. It costs 155 tokens per session (2,681 once invoked), scanned A, original, MIT.

A writing guide for creating clear Markdown that coding agents will read and use.

In plain words
What is it for?
Use it when writing or updating CLAUDE.md, AGENTS.md, rules, reference files, navigation pointers, and similar agent-facing documents.
Why use it?
It helps keep agent instructions findable, focused, and affordable to load into context.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Part of the docs-hygiene plugin — 9 skills, 1 agent shipped together

Good fit Use it when writing or updating CLAUDE.md, AGENTS.md, rules, reference files, navigation pointers, and similar agent-facing documents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/melodic-software/claude-code-plugins/write-for-agents
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 melodic-software/claude-code-plugins --skill write-for-agents
Clone the repo
git clone --depth 1 https://github.com/melodic-software/claude-code-plugins

Made for: Claude Code.

Or install docs-hygiene, the plugin that ships this one along with the rest of its 9 skills, 1 agent.

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 write-for-agents

README.md
[![agentmods](https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/write-for-agents/github.svg)](https://agentmods.dev/skills/melodic-software/claude-code-plugins/write-for-agents)
Your own site
<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.

agentmods 80×15 button for write-for-agents

Your own site · 80×15
<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>
Per session 155 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,681 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.00155 $0.02681
Opus 5.5 $0.00062 $0.01072
Sonnet 5.5 $0.00031 $0.00536
Haiku 4.5 $0.00015 $0.00268

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

Security

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

plugins/docs-hygiene/skills/write-for-agents/SKILL.md · 176 lines

How it starts

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

Write For Agents

Why this skill exists

The docs-hygiene siblings are audit-shaped: they find problems in docs that already exist. This skill is the write-side complement. It fires while the doc is being written, so the problems the audits catch are not created in the first place. 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 actually loads. Write differently for an always-loaded surface than for an on-demand one.

Budget both loads

Every line you write spends two budgets, and cutting one can overspend the other:

  • Context load. Tokens the agent pays, every session for always-loaded surfaces. Governed marketplace-wide by plugin-philosophy's Instruction economy: an instruction earns its place with observed-stumble evidence, or it goes.
  • Cognitive load. Attention the human maintainer pays. The maintainer keeps the map of the doc set in their head: they must be able to hold 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, and the brevity rules that are universal apply here too: 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 owns those rules when the writing plugin is installed; 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 all serve a person moving down a page fast, and an agent reading a rule needs the rule stated where it applies, not staged for a skim.

Read the full file on GitHub · 176 lines

Files

What ships with it

3 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. 8d ago Changed fbd8dca106a1
  2. 12d ago Changed · +1 lines f2caf5df785e
  3. 14d ago Changed · +28 tokens per session 615a496e0242
  4. 16d ago Changed f0d425ec78e4
  5. 17d ago Changed · +18 lines 841726a5d758
  6. 18d ago Changed · +1 lines 09573ffc938c
  7. 21d ago Changed · -63 tokens per session f750708992d1
  8. 26d ago Changed · +21 lines 57be946b7048
  9. 1mo ago Changed · -10 tokens per session a2a5ca5eed0b
  10. 1mo ago First seen · 135 lines · 200 tokens per session scan A fce6238813c2

Subscribe to this mod's changes

write-for-agents is a skill published in the GitHub repository melodic-software/claude-code-plugins (26 stars, last pushed today), licensed MIT. It adds 155 tokens to every session and 2,681 once invoked, about $0.0006 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.

Related

Other skills, from other repositories

parallel-orchestrator

Manage parallel Claude Code workstreams using git worktrees. Use when: splitting large tasks across multiple workers, coordinating parallel development, monitoring worker progress, integrating completed work, analyzing work item documents (code reviews, issue lists). Triggers: parallel, orchestrator, worktrees…

jimmc414/claude-code-plugin-marketplace · 78 tokens

parallel-worker

Execute focused implementation tasks in a parallel workflow. Use when: working on assigned files in a worktree, making checkpoint commits, signaling dependencies or blockers, completing orchestrator-assigned tasks. Triggers: worker, checkpoint, worktree, assigned scope, commit prefix, parallel task.

jimmc414/claude-code-plugin-marketplace · 59 tokens

optimize-local-search

For NP-hard optimization: TSP, scheduling, assignment problems. Uses greedy construction + local improvement (2-opt, hill climbing).

jimmc414/claude-code-plugin-marketplace · 31 tokens

solve-constraint-puzzle

For constraint satisfaction: Sudoku, scheduling, N-queens, logic puzzles, SAT-like problems, assignment problems. Uses propagate-then-search pattern.

jimmc414/claude-code-plugin-marketplace · 36 tokens

test-with-examples

For example-driven development: test cases as specifications, input/output pairs, documentation through examples.

jimmc414/claude-code-plugin-marketplace · 23 tokens

validate-before-process

For input validation: check format and constraints before processing, fail fast with clear errors, defensive parsing.

jimmc414/claude-code-plugin-marketplace · 24 tokens