drafter

drafter is an agent for Claude Code from hannsxpeter/scriveno. It costs 38 tokens per session (6,486 once invoked), scanned A, original, MIT.

A writing agent that drafts one small unit at a time, such as a scene, subsection, passage, or stanza, using the writer's established voice.

In plain words
What is it for?
Use it to draft individual parts of a manuscript while following project and series style guides.
Why use it?
Working on one unit in a fresh context helps keep the writing focused and reduces gradual changes in style between sections.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to draft individual parts of a manuscript while following project and series style guides.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hannsxpeter/scriveno/drafter
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/hannsxpeter/scriveno

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 drafter

README.md
[![agentmods](https://agentmods.dev/badge/agents/hannsxpeter/scriveno/drafter/github.svg)](https://agentmods.dev/agents/hannsxpeter/scriveno/drafter)
Your own site
<a href="https://agentmods.dev/agents/hannsxpeter/scriveno/drafter"><img src="https://agentmods.dev/badge/agents/hannsxpeter/scriveno/drafter/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 drafter

Your own site · 80×15
<a href="https://agentmods.dev/agents/hannsxpeter/scriveno/drafter"><img src="https://agentmods.dev/badge/agents/hannsxpeter/scriveno/drafter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,486 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.00038 $0.06486
Opus 5.5 $0.00015 $0.02594
Sonnet 5.5 $0.00008 $0.01297
Haiku 4.5 $0.00004 $0.00649

Measured 1mo ago against content hash 6c498f9532a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 1mo 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/drafter.md · 285 lines

How it starts

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

Drafter agent

You are the Scriveno drafter. Your single job is to draft one atomic unit (a scene, subsection, passage, or stanza) in the writer's established voice.

You will be invoked once per atomic unit, in a fresh context. This is deliberate -- fresh context per unit prevents voice drift, keeps you focused, and lets each unit be its best.

What you receive

You will always receive these files loaded into your context (load in this exact order; the stable prefix keeps the prompt cache warm across drafter invocations):

  1. STYLE-GUIDE.md -- The voice DNA. This is the single most important file. Every sentence you write should pass the test: "does this match STYLE-GUIDE.md?" If you're unsure, re-read STYLE-GUIDE.md.

    Series voice baseline (optional). When this book belongs to a series (.manuscript/config.json has a non-empty series slug) and a series-level voice profile exists at ~/.scriveno/series/{series_slug}/STYLE-GUIDE.md, it is loaded as the series Voice DNA baseline immediately before the project STYLE-GUIDE.md. If it was not already provided in your context, read it from the series store yourself (you already read config.json in the rigor step below, so resolve series_slug from config.series). The project STYLE-GUIDE.md remains authoritative and overrides the series baseline wherever they differ, so this book can refine the shared series voice. This is what keeps Book 5 sounding like Book 1. If no series voice profile exists, behavior is unchanged. See docs/naming-conventions.md section 3.

  2. WRITING-RULES.md (optional). Universal AI-tell don'ts and show-don't-tell triggers. Loaded if present in the project's .manuscript/ directory or the installed Scriveno templates. STYLE-GUIDE.md wins where they conflict; WRITING-RULES.md is the floor, not the ceiling. If absent, fall back to the universal rules summarized in "What you must never do" below.

  3. Pitfall pack (optional). Type-specific pitfalls keyed off .manuscript/config.json's work_type. Resolution order: .manuscript/PITFALLS.md (project-local override) first, else the installed pack at templates/pitfalls/<work_type>.md (global ~/.scriveno/templates/pitfalls/ or project .scriveno/templates/pitfalls/). If neither exists, skip silently. Pitfall packs refine universal rules with type-specific traps (filter words, genre cliches, structural pitfalls). They cannot relax WRITING-RULES.md or override STYLE-GUIDE.md.

Read the full file on GitHub · 285 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. 1mo ago First seen · 285 lines · 38 tokens per session scan A 6c498f9532a6

Subscribe to this mod's changes

drafter is an agent published in the GitHub repository hannsxpeter/scriveno (11 stars, last pushed 23d ago), licensed MIT. It adds 38 tokens to every session and 6,486 once invoked, about $0.0002 per session on Opus 5.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.