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.
npx agentmods add agents/queelius/claude-anvil/source-reformulatorgit clone --depth 1 https://github.com/queelius/claude-anvilWrote 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.
[](https://agentmods.dev/agents/queelius/claude-anvil/source-reformulator)<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>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.
| Model | Per session | Once 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 |
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.
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:
- A source paper path or name (e.g.,
papers/bernoulli_entropy/main.tex). - The specific result, section, or concept to reformulate.
- 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:
- The full source paper (the main .tex file and any included files). Use Glob to find
\input{}or\include{}dependencies and read them. - The book plan section that will consume this material, so you know the required depth and the notation already established.
- 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.
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.
- 3d ago First seen · 60 lines · 41 tokens per session scan A 9d5813167419
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.
Other agents, from other repositories
mentor
Expert educator specializing in teaching programming concepts, code walkthroughs, and best practices through clear explanations. Japanese: メンター.
ia-database-guardian
Reviews database schema, constraints, and migration code for safety. Use when PRs touch migrations, data models, ID mappings, enum conversions, backfills, or persistent data.
ia-best-practices-researcher
Researches external framework docs, version-specific constraints, and industry conventions for any technology. Use when you need authoritative external documentation.
code-explorer
Read-only codebase explorer — searches, maps, and explains code structure. Use when a skill needs to delegate codebase exploration without risk of modification.
financial-modeler
Use this agent for building financial models, business cases, ROI/NPV analysis, sensitivity analysis, benchmarking, and any quantitative analysis that requires structured modeling. Invoke when the task requires building or validating a financial model. Examples: "build an NPV model for the Acme acquisition", "run…
wiki-writer
Create or update wiki pages — autonomous ingest from any source, autonomous update. Auto-creates .wiki/ if missing.