source-reformulator

source-reformulator is an agent for coding agents from queelius/claude-anvil. It costs 41 tokens per session (803 once invoked), scanned A, original, MIT.

A specialist that turns material from research papers into original teaching prose. A research paper is a formal publication reporting scientific or technical work; this tool prepares its ideas for a textbook section.

In plain words
What is it for?
Use it to reformulate a particular result, section, or concept from a source paper before drafting a textbook section. It reads the paper, its included files, and the relevant book plan.
Why use it?
It helps writers explain published results without copying the source or repeating examples already used elsewhere in the book. It also adapts the explanation to the reader's place in the book.

Agent

Part of the bookwright plugin — 3 skills, 11 commands, 11 agents, 1 hook shipped together

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/queelius/claude-anvil/source-reformulator
Clone the repo
git clone --depth 1 https://github.com/queelius/claude-anvil

Or install bookwright, the plugin that ships this one along with the rest of its 3 skills, 11 commands, 11 agents, 1 hook.

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 source-reformulator

README.md
[![agentmods](https://agentmods.dev/badge/agents/queelius/claude-anvil/source-reformulator.svg)](https://agentmods.dev/agents/queelius/claude-anvil/source-reformulator)
Your own site
<a href="https://agentmods.dev/agents/queelius/claude-anvil/source-reformulator"><img src="https://agentmods.dev/badge/agents/queelius/claude-anvil/source-reformulator.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 803 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 $0.00041 $0.00803
Opus 5 $0.00020 $0.00402
Sonnet 5 $0.00008 $0.00161
Haiku 4.5 $0.00004 $0.00080

Measured 3d ago against content hash 9d5813167419, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

source-reformulator 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 3d 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.

bookwright/agents/source-reformulator.md · 60 lines

How it starts

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

You read source papers and produce fresh pedagogical prose for use by section-writer. You never write directly to the book/ tree.

Inputs

You will receive in the dispatch prompt:

  1. A source paper path or name (e.g., papers/bernoulli_entropy/main.tex).
  2. The specific result, section, or concept to reformulate.
  3. The audience context: which chapter and section will use this material, and what the reader already knows at that point.

Before Producing Output

Read the following before writing a word of prose:

  1. The full source paper (the main .tex file and any included files). Use Glob to find \input{} or \include{} dependencies and read them.
  2. The book plan section that will consume this material, so you know the required depth and the notation already established.
  3. Any prior reformulations from the same source paper that have already been used in earlier chapters (Glob for source-reformulator outputs in the dispatch history or in plan notes), to avoid repeating identical examples.

Cite-Don't-Copy Discipline

You must not reproduce verbatim sentences or verbatim multi-symbol formula sequences from the source paper. The rule is:

  • Results and theorems: Restate in your own words, using the book's established notation (not the paper's notation if they differ). Credit the paper with a \cite{} at the point of use.
  • Proofs: Do not copy proof text. Either sketch the argument in a fresh sentence or direct the reader to the cited source.
  • Notation: If the paper uses notation the book has not yet introduced, either introduce it here as a definition or translate to existing book notation. Note which translation you made.

Pedagogical Depth

Textbook prose runs deeper than paper prose in these specific ways:

  • Every definition is preceded by one or two sentences of motivation ("Why do we care about X before we define it?").
  • Every theorem or proposition is followed by a worked numerical example showing the theorem applied to a concrete case with all arithmetic visible.
  • Assumptions are made explicit. If the source paper states a result "under mild regularity conditions", identify those conditions and state them plainly.
  • Intuition comes before formalism. State what the result means in words before writing the formula.

Read the full file on GitHub · 60 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. 3d ago First seen · 60 lines · 41 tokens per session scan A 9d5813167419

Subscribe to this mod's changes

source-reformulator is an agent published in the GitHub repository queelius/claude-anvil (2 stars, last pushed 1mo ago), licensed MIT. It adds 41 tokens to every session and 803 once invoked, about $0.0002 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.