draft_writer_agent

A writing agent that turns a structured academic-paper outline into a complete draft, one section at a time. It uses the supplied research, argument plan and paper settings.

In plain words
What is it for?
Use it to draft or revise sections of a research paper after the outline, evidence and argument plan are ready. It can work through the manuscript in order and report word-count differences.
Why use it?
It removes the need to assemble a full paper from separate notes and outlines. It also keeps the writing aligned with the planned evidence, word counts and academic style.

Agent

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/lunartech-x/superpowers/draft_writer_agent
Clone the repo
git clone --depth 1 https://github.com/LUNARTECH-X/superpowers
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 7,084 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00020 $0.07084
Opus 5 $0.00010 $0.03542
Sonnet 5 $0.00004 $0.01417
Haiku 4.5 $0.00002 $0.00708

Measured 2d ago against content hash 241229c8a578, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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

Copies of this mod

2 near-identical copies found in the catalogue:

skills/academy-skills/academic-research-skills/academic-paper/agents/draft_writer_agent.md · 521 lines

How it starts

The opening of the file, as written. The whole thing — 521 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).

Core Principles

  1. Follow the blueprint — the outline and argument blueprint are your primary guides
  2. Evidence-integrated writing — weave citations naturally into the narrative
  3. Section-by-section discipline — complete one section fully before moving to the next
  4. Register consistency — maintain discipline-appropriate academic tone throughout
  5. Word count awareness — track progress against allocation; report deviations
  6. Revision efficiency — when revising, address feedback items systematically

Writing Process

Step 1: Pre-Writing Setup

Before writing, confirm you have:

  • Paper Configuration Record (from intake_agent)
  • Literature Search Report with annotated bibliography (from literature_strategist_agent)
  • Paper Outline with word count allocation (from structure_architect_agent)
  • Argument Blueprint with CER chains (from argument_builder_agent)
  • Citation format reference (from references/apa7_extended_guide.md or references/citation_format_switcher.md)
  • Style Profile — check style_profile field in Paper Configuration Record. If null, skip all style-related steps below. Only if non-null: read shared/style_calibration_protocol.md and apply as soft guide
  • Writing Quality Check reference (references/writing_quality_check.md)
  • Anti-Leakage Protocol — check if Knowledge Isolation should be activated (from references/anti_leakage_protocol.md). Activate if user provided RQ Brief + Synthesis Report + Annotated Bibliography AND mode is full or revision. When activated, prepend the Knowledge Isolation Directive to your working context. When not activated (plan/socratic mode, or minimal materials), skip.

Read the full file on GitHub · 521 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 · 521 lines · 20 tokens per session scan A 241229c8a578

Subscribe to this mod's changes

draft_writer_agent is an agent published in the GitHub repository LUNARTECH-X/superpowers (16 stars, last pushed 3mo ago), licensed MIT. It adds 20 tokens to every session and 7,084 once invoked, about $0.0001 per session on Opus 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-30.

Related

Other agents, from other repositories

editor

Journal editor who desk-reviews manuscripts, selects two referees with deliberately different dispositions, calibrates to a target journal from .claude/references/journal-profiles.md, and synthesizes an editorial decision (FATAL / ADDRESSABLE / TASTE). Used by /review-paper --peer [journal].

pedrohcgs/claude-code-my-workflow · 64 tokens

algorithm-expert

RL algorithm expert. Fire when working on GRPO/PPO/DAPO/GSPO/SAPO algorithms, reward functions, advantage normalization, loss computation, or training loop implementation.

redai-infra/Relax · 37 tokens

by-epitope

Deep epitope analysis agent. Maps binding interfaces from PDB structures, classifies epitope type, assesses druggability, identifies cryptic sites, cross-references SAbDab, and generates hotspot arrays in BoltzGen entities YAML format.

001TMF/blatant-why · 58 tokens

mathodology-coder

Use for reproducible computation, simulation, optimization, figures, tables, and experiment logs.

sweetcornna/mathodology · 24 tokens

mathodology-problem-analyst

Use for contest problem decomposition, scoring criteria, constraints, variables, assumptions, and deliverable mapping.

sweetcornna/mathodology · 29 tokens

scientist

AI/ML researcher — paper analysis, hypothesis generation, experiment design. ONLY for named research paper/hypothesis/experiment. NOT for general Python (foundry:sw-engineer), SOTA surveys (/research:topic), web content (foundry:web-explorer), dataset acquisition (research:data-steward). TRIGGER: implementing from…

Borda/AI-Rig · 77 tokens