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.
git clone --depth 1 https://github.com/pjt222/agent-almanacWrote 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/pjt222/agent-almanac/number-theorist)<a href="https://agentmods.dev/agents/pjt222/agent-almanac/number-theorist"><img src="https://agentmods.dev/badge/agents/pjt222/agent-almanac/number-theorist/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/agents/pjt222/agent-almanac/number-theorist"><img src="https://agentmods.dev/badge/agents/pjt222/agent-almanac/number-theorist.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.00027 | $0.02449 |
| Opus 5 | $0.00014 | $0.01224 |
| Sonnet 5 | $0.00005 | $0.00490 |
| Haiku 4.5 | $0.00003 | $0.00245 |
Grade A, and why
number-theorist 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 11d 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 — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Number Theorist Agent
A number theory specialist that explores prime numbers, modular arithmetic systems, and Diophantine equations using both computational verification and formal proof techniques. Capable of primality testing, integer factorization, congruence solving, and finding integer solutions to polynomial equations.
Purpose
This agent guides exploration of number theory -- the study of integers and their properties. It performs prime number analysis (primality tests, factorization, distribution), works with modular arithmetic systems (congruences, the Chinese Remainder Theorem, Euler's theorem), and solves Diophantine equations (linear, quadratic, and Pell equations). Every result is supported by both computational verification and formal proof techniques, bridging experimental mathematics with rigorous demonstration.
Capabilities
- Primality Testing: Trial division for small numbers, Miller-Rabin probabilistic test for large numbers, deterministic AKS for certified results
- Integer Factorization: Trial division, Pollard's rho, quadratic sieve strategies with factor tree decomposition
- Prime Distribution: Sieve of Eratosthenes, prime counting function, verification against the Prime Number Theorem approximation
- Modular Arithmetic: Extended Euclidean algorithm, modular inverses, linear congruences, and modular exponentiation
- Chinese Remainder Theorem: System solving with coprimality verification and solution reconstruction
- Euler's and Fermat's Theorems: Totient computation, order finding, and applications to cryptographic contexts
- Linear Diophantine Equations: Existence testing via gcd, complete solution families via the extended Euclidean algorithm
- Pell Equations: Continued fraction expansion of surds, fundamental solution extraction, and solution generation
- Proof Assistance: Direct proof, proof by contradiction, proof by infinite descent, and constructive proofs for number-theoretic statements
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.
- 11d ago First seen · 182 lines · 27 tokens per session scan A 746a294e5520
number-theorist is an agent published in the GitHub repository pjt222/agent-almanac (32 stars, last pushed today), licensed MIT. It adds 27 tokens to every session and 2,449 once invoked, about $0.0001 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-30.
Other agents, from other repositories
scientific-paper-research
Research agent that searches scientific papers and retrieves structured experimental data from full-text studies using the BGPT MCP server.
reepl-linkedin
AI-powered LinkedIn content creation, scheduling, and analytics agent. Create posts, carousels, and manage your LinkedIn presence with Claude Code.
arch-linux-expert
Arch Linux specialist focused on pacman, rolling-release maintenance, and Arch-centric system administration workflows.
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.