writer

writer is an agent for Claude Code from queelius/claude-anvil. It costs 182 tokens per session (1,100 once invoked), scanned A, original, MIT.

A multi-agent writing workflow for drafting technical non-fiction from a detailed chapter plan.

In plain words
What is it for?
Use it to draft prose sections, worked notebooks, or source-based rewrites, then check and fix the results against the chapter specification.
Why use it?
It coordinates specialist writers and automated audits, helping the draft stay aligned with the plan's content, length, labels, notation, and reference requirements.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; mentions CLAUDE.md; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the bookwright plugin — 3 skills, 11 commands, 11 agents, 1 hook shipped together

Good fit Use it to draft prose sections, worked notebooks, or source-based rewrites, then check and fix the results against the chapter specification.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add queelius/claude-anvil
Claude Code
/plugin install bookwright

Made for: Claude Code.

Or install bookwright, the plugin that ships this one along with the rest of its 3 skills, 11 commands, 11 agents, 1 hook.

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/queelius/claude-anvil/writer/github.svg)](https://agentmods.dev/agents/queelius/claude-anvil/writer)
Your own site
<a href="https://agentmods.dev/agents/queelius/claude-anvil/writer"><img src="https://agentmods.dev/badge/agents/queelius/claude-anvil/writer/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 writer

Your own site · 80×15
<a href="https://agentmods.dev/agents/queelius/claude-anvil/writer"><img src="https://agentmods.dev/badge/agents/queelius/claude-anvil/writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 182 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,100 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.00182 $0.01100
Opus 5.5 $0.00073 $0.00440
Sonnet 5.5 $0.00036 $0.00220
Haiku 4.5 $0.00018 $0.00110

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

Security

Grade A, and why

writer 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 1mo 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.

bookwright/agents/writer.md · 77 lines

How it starts

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

You orchestrate multi-agent drafting for technical non-fiction textbooks. You are the lead author: you understand the chapter plan, assign work to the right specialist per section type, audit the results, and loop on fixes until the output meets the plan's standards.

Orchestrated Drafting

Every section goes through: specialist draft, then spec-auditor and quality-auditor in parallel, then a fix loop if needed.

Review-driven fixes are NOT this agent's job: when the input is a review report rather than a chapter plan, the bookwright:rewriter orchestrator (via /bookwright:revise) owns that flow. This agent drafts from plans.

Phase 1: Read the Plan

Read the chapter plan file in full before dispatching any subagent. The plan is the authoritative specification: it lists per-section tasks with content checklists, page budgets, label requirements, notation requirements, and section type (prose, notebook, or source-reformulation). If the plan file is not specified in the prompt, locate it under docs/superpowers/plans/ using Glob.

Also read:

  • book/CLAUDE.md for repo layout, naming conventions, build command, and style rules
  • docs/superpowers/bookwright.config.yaml for project-level settings (stack, macro package, etc.)
  • The two or three sections immediately preceding the target chapter for voice continuity

If the launch prompt includes <decisions>, they resolve an earlier scope question: apply them and continue.

Otherwise, if the scope is ambiguous (chapter number, which plan file, single section vs. full chapter), stop before dispatching anything and return a ## Decisions Needed section: one fenced decisions-needed YAML block (scope-question format in ${CLAUDE_PLUGIN_ROOT}/skills/textbook-methodology/references/decision-handoff.md) whose options are the concrete candidates you found with Glob, with your best match as recommended. You cannot ask the user yourself (Claude Code removes AskUserQuestion from every subagent); /bookwright:draft asks and relaunches you with <decisions>. Never guess a scope and draft against it.

Read the full file on GitHub · 77 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. 1mo ago Changed · -31 lines · -186 tokens per session eb1987608ea0
  2. 1mo ago Changed · +2 lines ab92402b1c70
  3. 3mo ago First seen · 106 lines · 368 tokens per session scan A bc8a46d344c8

Subscribe to this mod's changes

writer is an agent published in the GitHub repository queelius/claude-anvil (3 stars, last pushed 1mo ago), licensed MIT. It adds 182 tokens to every session and 1,100 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-08-31.

Related

writer compared with agents from other repositories

writer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
writerqueelius/claude-anvilAgent31mo agoMITA182Claude Code
ia-database-guardianiliaal/whetstoneAgent37yesterdayMITA69Claude Code
ia-best-practices-researcheriliaal/whetstoneAgent37yesterdayMITA34Claude Code
ia-architecture-strategistiliaal/whetstoneAgent37yesterdayMITA47Claude Code
code-explorerharnessprotocol/harness-kitAgent13yesterdayApache-2.0A34Claude Code
reviewer-opusJoncik91/ucaiAgent283mo agoMITA32Claude Code
wiki-writerOshayr/LLM-WikiAgent517mo agoMITA28Claude Code