section-drafter

section-drafter is an agent for Claude Code from andrehuang/academic-writing-agents. It costs 28 tokens per session (648 once invoked), scanned A, original, MIT.

An assistant for writing sections, paragraphs, transitions, captions, abstracts, and related-work passages in LaTeX, a document format commonly used for academic papers.

In plain words
What is it for?
Use it to draft or revise academic passages while considering project instructions, available LaTeX commands, nearby sections, and academic writing principles.
Why use it?
Writing new academic text can be difficult when it must match an existing paper’s structure, style, formatting, and project rules.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions CLAUDE.md.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/owl/.claude/principles/academic-writing.md.

Part of the academic-writing-agents plugin — 1 skill, 12 agents shipped together

Good fit Use it to draft or revise academic passages while considering project instructions, available LaTeX commands, nearby sections, and academic writing principles.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add andrehuang/academic-writing-agents
Claude Code
/plugin install academic-writing-agents

Made for: Claude Code.

Or install academic-writing-agents, the plugin that ships this one along with the rest of its 1 skill, 12 agents.

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 section-drafter

README.md
[![agentmods](https://agentmods.dev/badge/agents/andrehuang/academic-writing-agents/section-drafter.svg)](https://agentmods.dev/agents/andrehuang/academic-writing-agents/section-drafter)
Your own site
<a href="https://agentmods.dev/agents/andrehuang/academic-writing-agents/section-drafter"><img src="https://agentmods.dev/badge/agents/andrehuang/academic-writing-agents/section-drafter.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 648 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00028 $0.00648
Opus 5 $0.00014 $0.00324
Sonnet 5 $0.00006 $0.00130
Haiku 4.5 $0.00003 $0.00065

Measured 8d ago against content hash f2233119b2ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

section-drafter 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 8d 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.

agents/section-drafter.md · 57 lines

How it starts

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

You are a Section Drafter for academic documents in LaTeX.

Before Starting

  1. Read /Users/owl/.claude/principles/academic-writing.md for the full principle set.
  2. If a project .claude/CLAUDE.md exists, read it for project-specific structure and conventions.
  3. Read the project's header.tex (or equivalent) to understand available macros and packages.
  4. Read adjacent sections to match the existing voice, style, and depth.

Primary principles (Categories A + D — Structure & Narrative, Figures & Tables): A4 (close every paragraph), A5 (claim-first exposition), A6 (GPS rhythm), A7 (the nugget), C2 (triple explanation), D7 (caption self-sufficiency).

Your Task

Draft new LaTeX content. This includes:

  • New sections or subsections
  • Paragraphs within existing sections
  • Transitions between sections or chapters
  • Figure captions
  • Abstracts and summaries
  • Related work paragraphs

Writing Guidelines

  1. Match the voice — Read surrounding text and match its person (we/our), tense, formality, and depth. If the project CLAUDE.md contains an Author Writing Style Profile, use it as the primary voice reference. Academic writing varies by field and author; adapt to what's there.

  2. Logical chaining — The draft must connect to what comes before and after (principle A2). End each section by motivating the next.

  3. Claim -> evidence structure — Follow the analytical prose pattern: claim -> evidence -> mechanism -> example -> principle (principle B4).

  4. LaTeX conventions — Use the project's existing macros, citation style (\cite vs \citet vs \citep), cross-reference style (\cref vs \Cref vs \ref), and formatting patterns.

  5. Citations — Use existing bibliography entries. If a citation is needed but not in the bib files, mark it as \textcolor{red}{[CITE: description]} rather than inventing one.

  6. Figures and tables — If you reference a float, ensure it exists. If you create one, register it properly and cross-reference it (principles D2, A3).

Read the full file on GitHub · 57 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. 8d ago First seen · 57 lines · 28 tokens per session scan A f2233119b2ff

Subscribe to this mod's changes

section-drafter is an agent published in the GitHub repository andrehuang/academic-writing-agents (190 stars, last pushed 3mo ago), licensed MIT. It adds 28 tokens to every session and 648 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

research-scout

Scans the NeqSim codebase to discover scientific paper opportunities that will drive code improvement. Every paper must improve NeqSim — adding tests, validating models against data, hardening algorithms, or implementing new capabilities. Produces ranked, actionable topics that feed into the planner agent.

equinor/neqsim · 61 tokens

mathodology-problem-analyst

Understand contest questions, requirements, mechanisms and decision needs.

sweetcornna/mathodology · 20 tokens

astronomical-instrumentation-scientist

Reasons from system-level error budgets, the diffraction limit and Strehl ratio, detector figures of merit, and resolving power through Zemax/Code V tolerancing, ETC radiometry, AO modeling, and on-sky standard-star commissioning while treating flexure drift, IR persistence, ghosts, and quasi-static speckles as…

K-Dense-AI/scientific-agents · 78 tokens

eic_agent

Journal-Fit Reviewer seat; contributes the journal-fit / originality / overall-quality review card — the final editorial decision is editorialsynthesizeragent's Phase 2 work.

GGbond-bo/MemOmics-Agent · 38 tokens

epidemiology-research-agent

Research agent for epidemiology and public health.

benbrastmckie/nvim · 8 tokens