draft_writer_agent

draft_writer_agent is an agent for coding agents from hamzabellouch/agent-skills. It costs 20 tokens per session (10,799 once invoked), scanned A, original, MIT.

A paper-drafting agent that writes an academic paper section by section from a prepared outline and configuration record.

In plain words
What is it for?
Use it to create an initial full paper draft or make controlled revisions after review.
Why use it?
It turns a planned structure into a complete draft and can apply review changes without requiring the whole paper to be written again.

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

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/hamzabellouch/agent-skills/draft_writer_agent.svg)](https://agentmods.dev/agents/hamzabellouch/agent-skills/draft_writer_agent)
Your own site
<a href="https://agentmods.dev/agents/hamzabellouch/agent-skills/draft_writer_agent"><img src="https://agentmods.dev/badge/agents/hamzabellouch/agent-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 10,799 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.1 $0.00020 $0.10799
Opus 5 $0.00010 $0.05400
Sonnet 5 $0.00004 $0.02160
Haiku 4.5 $0.00002 $0.01080

Measured 5d ago against content hash c7a9071ece4a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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

Copies of this mod

1 near-identical copy found in the catalogue:

Academic and Scientific Research/academic-academic-paper/agents/draft_writer_agent.md · 601 lines

How it starts

The opening of the file, as written. The whole thing — 601 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 · 601 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 · 601 lines · 20 tokens per session scan A c7a9071ece4a

Subscribe to this mod's changes

draft_writer_agent is an agent published in the GitHub repository hamzabellouch/agent-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 10,799 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-31.