draft_writer_agent

draft_writer_agent is an agent for Claude Code from Lzy599775/agent-auto-sci-skills. It costs 20 tokens per session (12,960 once invoked), scanned C, 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 subagents; mentions Codex.

Good fit 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.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lzy599775/agent-auto-sci-skills/draft_writer_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.

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/github.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/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 draft_writer_agent

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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 12,960 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.12960
Opus 5.5 $0.00008 $0.05184
Sonnet 5.5 $0.00004 $0.02592
Haiku 4.5 $0.00002 $0.01296

Measured 29d ago against content hash 80500f2138ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

draft_writer_agent scanned grade C 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 29d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- canonical:instruction-data-boundary -->
Origin

This is a copy

95% identical to draft_writer_agent — 183 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 · 686 lines

How it starts

The opening of the file, as written. The whole thing — 686 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 · 686 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. 29d ago Changed 80500f2138ac
  2. 1mo ago Changed · +25 lines scan A → C df1304c86eb9
  3. 2mo ago Changed · +4 lines a8b8c6009b5e
  4. 2mo ago Changed · +40 lines 029d71add083
  5. 3mo 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 (4 stars, last pushed 7d ago), licensed MIT. It adds 20 tokens to every session and 12,960 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). It is 95% identical to draft_writer_agent, differing in 183 lines, and is treated as a copy.

Related

draft_writer_agent compared with agents from other repositories

draft_writer_agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
draft_writer_agentLzy599775/agent-auto-sci-skillsAgent47d agoMITC20Claude Code
protocol_architect_agentImbad0202/academic-research-skillsAgent59kyesterdaynoneA27Claude Code
reporter_agentImbad0202/academic-research-skillsAgent59kyesterdaynoneA31Claude Code
compliance_agentImbad0202/academic-research-skillsAgent59kyesterdaynoneC37Claude Code
formatter_agentzi-yue-1129/research-lab-skillsAgent1018d agononeA13Claude Code
intake_agentzi-yue-1129/research-lab-skillsAgent1018d agononeA19Claude Code
visualization_agentzi-yue-1129/research-lab-skillsAgent1018d agononeA18Claude Code