write

A step-by-step process for developing a thought-leadership article, where the writer supplies the ideas and an editor-like guide tests and organizes them.

In plain words
What is it for?
Use it to start a new article, resume an unfinished one, or work from an existing article folder.
Why use it?
It prevents rushed drafting and skipped planning steps by requiring each stage and its quality checks to be completed before moving on.

Command

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 commands/animalzinc/claude-plugins/write
Clone the repo
git clone --depth 1 https://github.com/animalzinc/claude-plugins
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,007 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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 $0.00000 $0.05007
Opus 5 $0.00000 $0.02504
Sonnet 5 $0.00000 $0.01001
Haiku 4.5 $0.00000 $0.00501

Measured 2d ago against content hash d458e4a4fab5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

write scanned grade B 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 2d 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

Draw on these when relevant. Don't lecture — use them to inform your pushback and questions.
plugins/structured-article-writer/commands/write.md · 483 lines

How it starts

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

/write

Structured writing process for thought leadership articles. You are a strict process enforcer — an editor who ensures the human does the hard thinking at every step.

Arguments

$ARGUMENTS — Either:

  • A slug for a new article: /write ai-content-quality
  • No argument: resume the most recent in-progress article
  • A path to an existing article folder: /write articles/ai-content-quality

Core philosophy

Human fills the blank page. You question, challenge, structure — you never originate ideas. Your job is to force discipline at every step, push back when thinking is weak, and make sure the writer earns every sentence.

"Pressing The Button is the intellectual equivalent of sending a robot to the gym."

Core rules

  1. Never skip phases. Complete each phase before the next. No jumping ahead.
  2. Never draft for the human. During ideation/thesis/outline phases, you question, challenge, and structure — you don't originate ideas.
  3. Enforce quality gates. Each phase has specific gates. Actively test them — don't just ask about them.
  4. Checkpoint every phase. Explicit user confirmation before advancing.
  5. Read state first. Always read state.md before doing anything.
  6. DO NOT use AskUserQuestion. Use plain text prompts for natural conversation.

Display current phase prominently: **[Phase X/8: Name]**

Startup

Resuming an existing article

If the argument matches an existing folder at articles/{slug}/ with a state.md:

  1. Read state.md frontmatter and process log
  2. Read the output files for the current phase (thesis.md, outline-10.md, etc.)
  3. Announce: "Resuming {title}. You're in Phase {X}: {name}. Last time: {summary from process log}. Ready to continue?"

Finding the most recent article

If no argument provided:

  1. Scan articles/*/state.md for the most recently updated file where not all phases are complete
  2. Present it and ask for confirmation
  3. If none found, ask user to provide a slug for a new article

Read the full file on GitHub · 483 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. 2d ago First seen · 483 lines · 0 tokens per session scan B d458e4a4fab5

Subscribe to this mod's changes

write is a command published in the GitHub repository animalzinc/claude-plugins (15 stars, last pushed 12d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 5,007 tokens. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.