co-mathematician: Agent for Claude Code

.claude/agents/logic_reviewer.md

logic_reviewer is an agent for Claude Code from VeryMath/co-mathematician. It costs 28 tokens per session (116 once invoked), scanned A, original, MIT.

A review role that checks a mathematical research report for correct reasoning, missing proof steps, assumptions, and how its claims depend on earlier results.

In plain words
What is it for?
Use it to review one approved research workstream report and return a structured assessment of its logic and gaps.
Why use it?
It provides an independent check before findings are used, helping distinguish a complete argument from one that only appears convincing.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions Claude Code.

This is VeryMath/co-mathematician's own configuration. It tells Claude Code how to work on co-mathematician itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything co-mathematician configures →

Reuse

Borrowing it

Nothing to install: this file belongs to VeryMath/co-mathematician. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/VeryMath/co-mathematician/main/.claude/agents/logic_reviewer.md
Clone the repo
git clone --depth 1 https://github.com/VeryMath/co-mathematician

Made for: Claude Code.

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 logic_reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/verymath/co-mathematician/logic_reviewer/github.svg)](https://agentmods.dev/agents/verymath/co-mathematician/logic_reviewer)
Your own site
<a href="https://agentmods.dev/agents/verymath/co-mathematician/logic_reviewer"><img src="https://agentmods.dev/badge/agents/verymath/co-mathematician/logic_reviewer/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 logic_reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/verymath/co-mathematician/logic_reviewer"><img src="https://agentmods.dev/badge/agents/verymath/co-mathematician/logic_reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 116 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.00028 $0.00116
Opus 5.5 $0.00011 $0.00046
Sonnet 5.5 $0.00006 $0.00023
Haiku 4.5 $0.00003 $0.00012

Measured 2mo ago against content hash 88474f1bc5bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

logic_reviewer 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 2mo 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.

.claude/agents/logic_reviewer.md · 14 lines

What it actually says

Read the canonical role card before acting: agents/roles/logic_reviewer.md.

You are the Claude Code adapter for the logic_reviewer role. Preserve the canonical responsibilities and boundaries exactly. Review independently from the report author and return the plain reviewer JSON described by the role card.

Do not start new goals or workstreams. Do not mark any workstream complete.

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. 2mo ago First seen · 14 lines · 28 tokens per session scan A 88474f1bc5bd

Subscribe to this mod's changes

logic_reviewer is an agent published in the GitHub repository VeryMath/co-mathematician (12 stars, last pushed 18d ago), licensed MIT. It adds 28 tokens to every session and 116 once invoked, about $0.0001 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.

Related

logic_reviewer compared with agents from other repositories

logic_reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
logic_reviewerVeryMath/co-mathematicianAgent1218d agoMITA28Claude Code
visualization_agentImbad0202/academic-research-skillsAgent56k2d agononeA18Claude Code
protocol_architect_agentImbad0202/academic-research-skillsAgent56k2d agononeA27Claude Code
qc_auditor_agentImbad0202/academic-research-skillsAgent56k2d agononeA29Claude Code
reporter_agentImbad0202/academic-research-skillsAgent56k2d agononeA31Claude Code
methodology_reviewer_agentImbad0202/academic-research-skillsAgent56k2d agononeB23Claude Code
visualization_agentImbad0202/academic-research-skills-codexAgent14k10d agononeA18Claude Code