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 skills add queelius/claude-anvil --skill notebook-paired-with-prosegit 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/skills/queelius/claude-anvil/notebook-paired-with-prose)<a href="https://agentmods.dev/skills/queelius/claude-anvil/notebook-paired-with-prose"><img src="https://agentmods.dev/badge/skills/queelius/claude-anvil/notebook-paired-with-prose/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.
<a href="https://agentmods.dev/skills/queelius/claude-anvil/notebook-paired-with-prose"><img src="https://agentmods.dev/badge/skills/queelius/claude-anvil/notebook-paired-with-prose.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00058 | $0.00788 |
| Opus 5.5 | $0.00023 | $0.00315 |
| Sonnet 5.5 | $0.00012 | $0.00158 |
| Haiku 4.5 | $0.00006 | $0.00079 |
Grade A, and why
notebook-paired-with-prose 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.
How it starts
The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Notebook Paired with Prose (bookwright)
In a technical textbook, paired notebooks are not optional decoration. They are empirical verifiers: a chapter that claims a formula or worked example has a notebook that COMPUTES the formula and shows the empirical result matches. Broken notebook means broken chapter.
When notebooks are required vs optional
Required:
- Any chapter with a worked numerical example. The notebook must compute the same example and match.
- Any chapter with an algorithm. The notebook implements it and runs it.
- Any chapter with an empirical claim ("the SE is roughly 0.05"). The notebook simulates and verifies.
Optional or omitted:
- Theory-only chapters (no worked examples, no algorithms); the master spec marks them theory-only.
- Bridge chapters that exist only to connect Parts.
The master spec's chapter outline marks which chapters have notebooks. The per-chapter plan's notebook task spec lists the content + numerical-sanity targets.
Numerical-sanity-target convention
The plan lists explicit targets like:
- "Empirical FPR at $\fprate = 0.01$, k=7: within plus-or-minus 0.005 of theoretical 0.0078."
- "Wald CI coverage at $n_0 = 200, \fprate = 0.05$: in $[0.93, 0.97]$ band."
The notebook-author agent computes these and compares. Match = pass. Miss = flag for user review (could be the prose is wrong, could be the notebook is wrong, could be sampling noise).
Exec-from-fresh-kernel requirement
Notebooks MUST execute end-to-end from a fresh kernel with no errors; exit code 0 is required for commit. The per-stack execution commands live in one place, the notebook-author agent's Stack-Specific Execution table.
Common gotchas
- Python: forgetting to seed the RNG produces non-reproducible outputs. Always
np.random.default_rng(seed=42)or similar. - Python: dependencies must be in
pyproject.toml. New dependencies requirecd <project> && uv add <pkg>before re-executing. - R:
renv::status()should be clean; new packages requirerenv::install("pkg")thenrenv::snapshot(). - Quarto: cell-by-cell execution depends on engine; if mixing R + Python, configure the engine carefully.
- All stacks: explicitly seed any randomness. Markdown cells should describe what the code cell will do, not just narrate it.
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.
- 1mo ago Changed · -6 lines d87719bb6eed
- 3mo ago First seen · 70 lines · 58 tokens per session scan A 4d29d0ed2727
notebook-paired-with-prose is a skill published in the GitHub repository queelius/claude-anvil (3 stars, last pushed 1mo ago), licensed MIT. It adds 58 tokens to every session and 788 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.
notebook-paired-with-prose compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| notebook-paired-with-prosequeelius/claude-anvil | Skill | 3 | 1mo ago | MIT | A | 58 | Claude Code |
| lean-checkflonat/flonat-research | Skill | 155 | 17d ago | MIT | A | 63 | Claude Code |
| math-proofflonat/flonat-research | Skill | 155 | 17d ago | MIT | A | 68 | Claude Code, Codex |
| jupyter-notebookulises-jeremias/agent-toolkit | Skill | 28 | yesterday | MIT | A | 61 | Claude Code |
| explainharnessprotocol/harness-kit | Skill | 13 | yesterday | Apache-2.0 | A | 95 | Claude Code |
| cpp-reinforcement-learningAznatkoiny/zAI-Skills | Skill | 10 | 25d ago | MIT | A | 131 | Claude Code |
| beamer-academicFaust-Donf/beamer-academic | Skill | 352 | 3mo ago | MIT | B | 148 | Claude Code, Codex |