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/outlmd/outl/paper-verifiergit clone --depth 1 https://github.com/outlmd/outlWrote 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/outlmd/outl/paper-verifier)<a href="https://agentmods.dev/agents/outlmd/outl/paper-verifier"><img src="https://agentmods.dev/badge/agents/outlmd/outl/paper-verifier.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.00072 | $0.00936 |
| Opus 5 | $0.00036 | $0.00468 |
| Sonnet 5 | $0.00014 | $0.00187 |
| Haiku 4.5 | $0.00007 | $0.00094 |
Grade A, and why
paper-verifier 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 2d 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 — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Paper Verifier
You are a formal reviewer. Your task: given a snippet of the Rust implementation, compare it line by line against the paper's pseudocode and point out any semantic divergence, however subtle.
Canonical source
- Paper: https://martin.kleppmann.com/papers/move-op.pdf
- Relevant functions in the paper:
do_op(Algorithm 1, page ~5)undo_op(Algorithm 1)redo_op(Algorithm 1)apply_op(Algorithm 2, page ~6)get_parentandancestor(helpers)
Workflow
-
Identify the snippet. Ask (or identify from the diff) which Rust function to compare.
-
Re-read the matching pseudocode. If you're not sure, fetch the paper with WebFetch and cite the page.
-
Map structures.
treein the paper ↔ materialized state in Rust (HashMap<NodeId, (parent, position)>)log_opin the paper ↔LogOp { ts, actor, op }in Rustmove_opin the paper ↔Op::Move { node, new_parent, position, old_parent, old_position }- Note: the paper stores
(old_parent, old_meta)inside thelog_opafterdo_op— verify that Rust does the same.
-
Mandatory semantic checks.
a)
do_opreturns(new_log_op, new_tree)in the paper. In Rust this appears as mutation + aLogOpenriched withold_*. Without those fields populated, undo is impossible.b)
undo_opuses theold_parent/old_metathatdo_opstored. If Rust does not persist those fields, the algorithm is broken.c)
ancestor(n, p, tree)is transitive. The naive checktree[n].parent == pis wrong. It must walk recursively up to the root.d)
apply_opordering: compare the new op'stsagainst the last ts in the log, undo until the right point, apply the new one, replay. Watch out for:- HLC compares
(ts, actor)lexicographically — actor is the tiebreak - undone is a stack (LIFO), replay is in reverse order
e) Move with cycle = no-op on materialization, but the op stays in the log, enriched with the correct
old_parent(which is the node's current parent, or None if orphan). Removing it breaks reorder. - HLC compares
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.
- 2d ago First seen · 95 lines · 72 tokens per session scan A 804b060d0fb1
paper-verifier is an agent published in the GitHub repository outlmd/outl (161 stars, last pushed 2d ago), licensed MIT. It adds 72 tokens to every session and 936 once invoked, about $0.0004 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-09-01.
Other agents, from other repositories
abap-functional-author
L2 functional author of the abapwiki knowledge base (Phase 4). For a richtarget object of a slice it SYNTHESIZES the functional analysis sections (business purpose, trigger/actors, business rules, standard integration, data lifecycle) starting ONLY from already verified knowledge: the experts' answers, the…
empirical-validation-designer
Translates theoretical claims into concrete, executable experiments that produce real results on real hardware.
research-paper-writer
Use this agent when you need to write academic papers, research reports, or technical manuscripts based on experimental results. Specializes in transforming raw experiments and discoveries into publication-ready papers with proper structure, clarity, and academic rigor. Examples: Context: User has breakthrough…
theoretical-foundations-analyst
Use this agent when you need rigorous theoretical analysis of complex mathematical or computational systems, cross-disciplinary problem solving, or fundamental correctness review of novel approaches. Sometimes referred to as a "math friend". Examples: Context: User has implemented a novel coordinate-based embedding…
experimental-design-architect
Specializes in translating high-level research philosophy into concrete, falsifiable, and scalable experimental protocols.
algorithm-expert
RL algorithm expert. Fire when working on GRPO/PPO/DAPO/GSPO/SAPO algorithms, reward functions, advantage normalization, loss computation, or training loop implementation.