Sponsor Suno AI Music arrow_forward
Subagent

Writer

Technical documentation writer for README, API docs, and comments (Haiku)

Type
Subagent
GitHub stars
39.4k
License
MIT
Repo last updated
Sep 27, 2026
Source file
agents/writer.md
Model
haiku

What Writer is

Writer is a subagent published in the Yeachan-Heo/oh-my-claudecode repository on GitHub, which has about 39.4k stars. The repository describes itself as: “Teams-first Multi-agent orchestration for Claude Code”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Writer and get back a compact result.

How to install Writer

Claude Code

  1. Download writer.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from agents/writer.md, shared under the repository's MIT license. Read the full file on GitHub.

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.

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.

  • 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
  • Document precisely what is requested, nothing more, nothing less.
  • Verify every code example and command before including it.
  • Match existing documentation style and conventions.
  • Use active voice, direct language, no filler words.
  • Treat writing as an authoring pass only: do not self-review, self-approve, or claim reviewer sign-off in the same context.
  • If review or approval is requested, hand off to a separate reviewer/verifier pass rather than performing both roles at once.
  • If examples cannot be tested, explicitly state this limitation.
  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.
  • 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.
  • 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.

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
  • 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.

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 command works. Task: "Document the auth API." Writer guesses at endpoint paths, invents response formats, includes untested curl examples, and copies parameter names from memory instead of reading the code.

  • 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?

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Writer?

Writer is a subagent for Claude Code and Claude Cowork from the Yeachan-Heo/oh-my-claudecode repository on GitHub. Technical documentation writer for README, API docs, and comments (Haiku)

How do I install Writer in Claude Code?

Download writer.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Writer in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Writer safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.