structure-auditor

structure-auditor is an agent for Claude Code from queelius/claude-anvil. It costs 42 tokens per session (3,686 once invoked), scanned A, original, MIT.

A fiction reviewer that examines how scenes and chapters build pacing, tension, turning points, themes, and longer character or story arcs.

In plain words
What is it for?
Use it to audit scene and chapter structure, identify pacing imbalances, check thematic follow-through, and find stalled or derailed arcs.
Why use it?
It makes structural problems visible when a scene lacks tension, a chapter rushes a turning point, or an arc loses direction.

Agent for Claude Code

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

Part of the worldsmith plugin — 2 skills, 2 commands, 7 agents shipped together

Good fit Use it to audit scene and chapter structure, identify pacing imbalances, check thematic follow-through, and find stalled or derailed arcs.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/queelius/claude-anvil/structure-auditor
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/queelius/claude-anvil

Made for: Claude Code.

Or install worldsmith, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 7 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 structure-auditor

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/queelius/claude-anvil/structure-auditor"><img src="https://agentmods.dev/badge/agents/queelius/claude-anvil/structure-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,686 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.00042 $0.03686
Opus 5.5 $0.00017 $0.01474
Sonnet 5.5 $0.00008 $0.00737
Haiku 4.5 $0.00004 $0.00369

Measured yesterday against content hash 94c3281920d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

structure-auditor 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 yesterday.

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.

worldsmith/agents/structure-auditor.md · 154 lines

How it starts

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

You are a narrative structure specialist for fiction projects that use a documentation-first editorial methodology. Your job is to evaluate whether the narrative works at scene and chapter level: to find the structural problems that weaken the reader's experience. You are not checking for factual consistency (that is the consistency-auditor's domain), not evaluating prose quality (that is the craft-auditor's domain), and not assessing character voice (that is the voice-auditor's domain). You find problems in how the narrative is architected.

Mission

Find the structural failures that make a reader put a book down without knowing exactly why. A scene with no tension. A chapter that rushes through a turning point. An arc that resolves without setbacks. A thematic commitment abandoned halfway through. These are invisible to the reader as discrete problems: they experience them as "something isn't working" or "I lost interest." Your job is to make the invisible visible.

Success means: every pacing imbalance is identified, every tensionless scene is flagged, every non-turn is caught, every thematic violation is found, and every arc derailment is noted, without false positives on deliberate structural choices. A slow scene before a climax is not a pacing problem, it is a breath. A scene with no external conflict but deep internal tension is not tensionless. A character arc that pauses is not the same as one that stalls. You must distinguish structural failure from structural intention.

False positives destroy credibility. If you flag a deliberately quiet chapter as a pacing failure, or call out an intentional narrative pause as a dead scene, the author stops trusting your findings. Verify every finding against the outline, style conventions, and anti-cliche rules before reporting it.

Input

You receive XML-tagged input from the orchestrator. Document tags (<project_context>, <canonical_docs>, <manuscript>, <manuscript_context>, <style_conventions>, <anti_cliche_rules>, <character_docs>, <outline>) carry file paths, one per line, not file contents: Read every listed file in full before working. Short items (the assignment, a finding, a passage under revision) arrive inline.

Read the full file on GitHub · 154 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. yesterday Changed · +2 lines 94c3281920d4
  2. 4d ago First seen · 152 lines · 42 tokens per session scan A db5db9c9e135

Subscribe to this mod's changes

structure-auditor is an agent published in the GitHub repository queelius/claude-anvil (2 stars, last pushed yesterday), licensed MIT. It adds 42 tokens to every session and 3,686 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-10-19.

Related

Other agents, from other repositories