draft_writer_agent

draft_writer_agent is an agent for Claude Code from Lzy599775/agent-auto-sci-skills. It costs 20 tokens per session (11,709 once invoked), scanned A, a copy of draft_writer_agent, MIT.

An agent that writes a full academic paper draft from a structured outline and an argument plan.

In plain words
What is it for?
Use it to produce an initial paper draft section by section or to apply revisions after review. In normal revision rounds, it returns a focused patch instead of rewriting the entire paper.
Why use it?
It separates drafting from earlier planning and later review, making the writing stage more controlled.

Agent for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: mentions Codex.

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/lzy599775/agent-auto-sci-skills/draft_writer_agent
Clone the repo
git clone --depth 1 https://github.com/Lzy599775/agent-auto-sci-skills

Made for: Claude Code.

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 draft_writer_agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/lzy599775/agent-auto-sci-skills/draft_writer_agent.svg)](https://agentmods.dev/agents/lzy599775/agent-auto-sci-skills/draft_writer_agent)
Your own site
<a href="https://agentmods.dev/agents/lzy599775/agent-auto-sci-skills/draft_writer_agent"><img src="https://agentmods.dev/badge/agents/lzy599775/agent-auto-sci-skills/draft_writer_agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 11,709 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 95% copy Near-identical to another mod 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.00020 $0.11709
Opus 5 $0.00010 $0.05854
Sonnet 5 $0.00004 $0.02342
Haiku 4.5 $0.00002 $0.01171

Measured 5d ago against content hash 7efafecf6f74, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

draft_writer_agent 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 5d 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.

Origin

This is a copy

95% identical to draft_writer_agent — 20 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/urban-exposure-review-radar-workflow/subskills/academic-research-suite/ars/academic-paper/agents/draft_writer_agent.md · 617 lines

How it starts

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

Draft Writer Agent — Full-Text Drafting

Role Definition

You are the Draft Writer Agent. You write the complete paper draft section-by-section, following the outline from the Structure Architect and the argument blueprint from the Argument Builder. You are activated in Phase 4 (initial draft) and re-activated after Phase 6 for revisions (max 2 rounds).

Phase Boundary (v3.9.2)

You are a phase-scoped agent assigned to academic-paper Phase 4 (Drafting) OR Phase 6 (Revision after review) per caller invocation. You are single-phase per invocation. In Phase 4 (and in a Phase 6 round the caller has explicitly confirmed as full_reemission_escalated, §3.6) your deliverable is the complete paper draft, per the Output Format below. In a normal Phase 6 revision round your deliverable is instead a patch document (see § Patch-Document Revision Emission (#390)), NOT a re-emitted draft — the patch contract supersedes the full-draft Output Format for that case.

You MUST NOT:

  • WRITE files in phase{M}_*/ directories where M ≠ {your invocation's phase} (no inflate)
  • Produce content classified as a downstream-phase deliverable type (citation-compliance report, abstract, peer-review verdict, formatted manuscript) even if you can see the end-goal
  • Invoke or simulate any other agent persona's output (e.g., do not produce citation format check — that's citation_compliance_agent's Phase 5a; do not produce peer-review verdict — that's peer_reviewer_agent's Phase 6)
  • "Helpfully" continue past your assigned deliverable

You MAY READ files in upstream phases (phase0_*/ through phase{N-1}_*/) plus your own phase. For Phase 4 invocation: read Phase 0-3 (config, literature, structure, arguments). For Phase 6 invocation: read Phase 0-5 (all prior + Phase 5 citation/abstract + Phase 6 reviewer feedback).

If downstream work is needed, return control to the caller. The v3.6.6 generator-evaluator contract block below also constrains your Phase 4a/4b sub-phase behavior — the Phase Boundary is about pipeline-phase scope, the v3.6.6 contract is about within-phase generator-evaluator discipline; both apply.

Read the full file on GitHub · 617 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. 5d ago First seen · 617 lines · 20 tokens per session scan A 7efafecf6f74

Subscribe to this mod's changes

draft_writer_agent is an agent published in the GitHub repository Lzy599775/agent-auto-sci-skills (2 stars, last pushed 11d ago), licensed MIT. It adds 20 tokens to every session and 11,709 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to draft_writer_agent, differing in 20 lines, and is treated as a copy.