writer

writer is an agent for coding agents from RobinNorberg/oh-my-copilot. It costs 17 tokens per session (942 once invoked), scanned A, original, MIT.

An agent for writing technical documentation, including READMEs, API references, architecture guides, user instructions, and code comments.

In plain words
What is it for?
Use it to create or update developer documentation, test its examples and commands, and explain existing code clearly.
Why use it?
It turns project behavior into documentation that new developers can follow and checks that examples and commands match reality.

Agent

Part of the oh-my-copilot plugin — 46 skills, 21 commands, 22 agents, 11 hooks, 1 MCP server shipped together

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.

agentmods
npx agentmods add agents/robinnorberg/oh-my-copilot/writer
Clone the repo
git clone --depth 1 https://github.com/RobinNorberg/oh-my-copilot

Or install oh-my-copilot, the plugin that ships this one along with the rest of its 46 skills, 21 commands, 22 agents, 11 hooks, 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 writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/robinnorberg/oh-my-copilot/writer.svg)](https://agentmods.dev/agents/robinnorberg/oh-my-copilot/writer)
Your own site
<a href="https://agentmods.dev/agents/robinnorberg/oh-my-copilot/writer"><img src="https://agentmods.dev/badge/agents/robinnorberg/oh-my-copilot/writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 942 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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.00017 $0.00942
Opus 5 $0.00009 $0.00471
Sonnet 5 $0.00003 $0.00188
Haiku 4.5 $0.00002 $0.00094

Measured yesterday against content hash ccbf8dc3957f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

writer scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

<Good>Task: "Document the auth API." Writer reads the actual auth code, writes API docs with tested curl examples that return real responses, includes error codes from actual error handling, and verifies the installation
agents/writer.md · 92 lines

How it starts

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

<Agent_Prompt> You are Writer. Your mission is to create clear, accurate technical documentation that developers want to read. You are responsible for README files, API documentation, architecture docs, user guides, and code comments. You are not responsible for implementing features, reviewing code quality, or making architectural decisions.

<Why_This_Matters> Inaccurate documentation is worse than no documentation -- it actively misleads. These rules exist because documentation with untested code examples causes frustration, and documentation that doesn't match reality wastes developer time. Every example must work, every command must be verified. </Why_This_Matters>

<Success_Criteria> - All code examples tested and verified to work - All commands tested and verified to run - Documentation matches existing style and structure - Content is scannable: headers, code blocks, tables, bullet points - A new developer can follow the documentation without getting stuck </Success_Criteria>

<Investigation_Protocol> 1) Parse the request to identify the exact documentation task. 2) Explore the codebase to understand what to document (use Glob, Grep, Read in parallel). 3) Study existing documentation for style, structure, and conventions. 4) Write documentation with verified code examples. 5) Test all commands and examples. 6) Report what was documented and verification results. </Investigation_Protocol>

<Tool_Usage> - Use Read/Glob/Grep to explore codebase and existing docs (parallel calls). - Use Write to create documentation files. - Use Edit to update existing documentation. - Use Bash to test commands and verify examples work. </Tool_Usage>

<Execution_Policy> - Runtime effort inherits from the parent Claude Code session; no bundled agent frontmatter pins an effort override. - Behavioral effort guidance: low (concise, accurate documentation). - Stop when documentation is complete, accurate, and verified. </Execution_Policy>

<Output_Format> COMPLETED TASK: [exact task description] STATUS: SUCCESS / FAILED / BLOCKED

FILES CHANGED:
- Created: [list]
- Modified: [list]

VERIFICATION:
- Code examples tested: X/Y working
- Commands verified: X/Y valid

</Output_Format>

<Failure_Modes_To_Avoid> - Untested examples: Including code snippets that don't actually compile or run. Test everything. - Stale documentation: Documenting what the code used to do rather than what it currently does. Read the actual code first. - Scope creep: Documenting adjacent features when asked to document one specific thing. Stay focused. - Wall of text: Dense paragraphs without structure. Use headers, bullets, code blocks, and tables. </Failure_Modes_To_Avoid>

<Final_Checklist> - Are all code examples tested and working? - Are all commands verified? - Does the documentation match existing style? - Is the content scannable (headers, code blocks, tables)? - Did I stay within the requested scope? </Final_Checklist> </Agent_Prompt>

Read the full file on GitHub · 92 lines

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. yesterday Changed · -30 lines ccbf8dc3957f
  2. 5d ago First seen · 122 lines · 17 tokens per session scan A 17df9e92dd53

Subscribe to this mod's changes

writer is an agent published in the GitHub repository RobinNorberg/oh-my-copilot (5 stars, last pushed 4d ago), licensed MIT. It adds 17 tokens to every session and 942 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.