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 OutlineDriven/odin-claude-plugin --skill writing-for-agentsgit clone --depth 1 https://github.com/OutlineDriven/odin-claude-pluginWrote 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/outlinedriven/odin-claude-plugin/writing-for-agents)<a href="https://agentmods.dev/skills/outlinedriven/odin-claude-plugin/writing-for-agents"><img src="https://agentmods.dev/badge/skills/outlinedriven/odin-claude-plugin/writing-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/outlinedriven/odin-claude-plugin/writing-for-agents"><img src="https://agentmods.dev/badge/skills/outlinedriven/odin-claude-plugin/writing-for-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00054 | $0.01213 |
| Opus 5 | $0.00027 | $0.00607 |
| Sonnet 5 | $0.00011 | $0.00243 |
| Haiku 4.5 | $0.00005 | $0.00121 |
Grade A, and why
writing-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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Writing for agents
Contract
| Field | Bound contract |
|---|---|
| Trigger | Author or restructure any agent-consumed document. |
| Authority | Reversible-local: write only the named target document; rollback is undo or version-control restore. No remote mutation. |
| Side effect | Target document edited, split, or pruned. No other file touched. |
| Done | Cold agent routes and executes predictably with no stale duplication. |
Inputs
Must be supplied: the target document path and the agent-consumed document type (skill, AGENTS.md, CLAUDE.md, or pointer-reached doc). Optionally: the current document content; if absent, read it before editing.
Procedure
- Read the target document fully. Identify whether it contains steps (ordered actions), reference (definitions, rules, facts), or both. Done when: the document is read and its content type (steps, reference, or both) is identified.
- Apply the information hierarchy: rank material by how immediately the agent needs it:
- In-file step: the primary tier, what the agent does, in order.
- In-file reference: consulted on demand. A flat peer-set of rules on one rung is fine.
- Disclosed reference: pushed to a separate file, reached by a context pointer, loaded only when the pointer fires. Done when: every piece of material is placed on the hierarchy.
- For each context pointer (a reference naming out-of-context material with a trigger condition):
- Front-load the leading word: the pointer's wording decides when the agent reaches the material.
- One trigger per branch. Collapse synonyms that rename a single branch.
- Cut identity the body already carries. Done when: every context pointer has a front-loaded leading word, one trigger per branch, and no redundant identity.
- For each step, verify the completion criterion is both checkable and exhaustive. A vague bound invites premature completion. Sharpen the bound first; only if irreducibly fuzzy and the rush is observed, hide later steps by splitting across a real context boundary. Done when: every step has a checkable and exhaustive completion criterion.
- Apply progressive disclosure: inline what every branch needs; push behind a pointer what only some branches reach. Keep a concept's definition, rules, and caveats under one heading (co-location), not scattered. Done when: branch-specific material is behind pointers and co-located concepts share one heading.
- Hunt leading words: compact concepts from pretraining that anchor behaviour in few tokens. Refactor restatements into single tokens. Avoid negation: prompt the positive target so the banned behaviour is never spoken. Done when: restatements are collapsed into leading words and negation is replaced with positive targets.
- Prune:
- Keep each meaning in a single source of truth; duplication costs maintenance and tokens.
- Cache only what the agent cannot find by looking. Leave one-file, one-command lookups to the environment.
- Check every line for relevance. A line is irrelevant if it does not bear on the task or has gone stale.
- Hunt no-ops sentence by sentence. If an instruction does not change the model's default behavior, delete the whole sentence. Done when: each meaning has one source of truth, no no-op sentences remain, and every line bears on the task.
- For skill documents specifically:
- Choose invocation: model-invoked (omit
disable-model-invocation, write a model-facing description with trigger branches) or user-invoked (setdisable-model-invocation: true, description becomes human-facing summary). Pick model-invocation only when the agent must reach the skill on its own or another skill must. - Split by invocation when a distinct leading word should trigger independently; pay context load only if that independent reach is worth it.
- Split by sequence when post-completion steps tempt the agent to rush the one in front of it. Done when: the invocation mode is chosen and any split decisions are made with their trade-off justified.
- Choose invocation: model-invoked (omit
- Verify the final document is self-contained: it restates every safety, authority, execution, and proof rule the workflow needs. It contains no pointer to AGENTS.md, a system prompt, a rule file, another skill, or an optional peer step. Done when: the document is self-contained with no external runtime pointers.
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.
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.
- 7d ago First seen · 60 lines · 54 tokens per session scan A 2ad91d50dd25
writing-for-agents is a skill published in the GitHub repository OutlineDriven/odin-claude-plugin (35 stars, last pushed yesterday), licensed Apache-2.0. It adds 54 tokens to every session and 1,213 once invoked, about $0.0003 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-09-04.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…