mathodology-coder

mathodology-coder is an agent for Claude Code from sweetcornna/mathodology. It costs 18 tokens per session (209 once invoked), scanned A, original, MIT.

An agent for turning a selected mathematical model into repeatable computations, simulations, experiments, figures, and tables. It records the code, settings, results, and supporting evidence for a Mathodology award run.

In plain words
What is it for?
Use it to create runnable analysis code, track deterministic settings, generate figures and tables, run sensitivity or robustness checks, and log where each result belongs in the paper.
Why use it?
It reduces the risk that results cannot be reproduced, checked, or connected to the claims in the submission.

Agent for Claude Code

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

Good fit Use it to create runnable analysis code, track deterministic settings, generate figures and tables, run sensitivity or robustness checks, and log where each result belongs in the paper.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sweetcornna/mathodology/mathodology-coder
Install

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.

Clone the repo
git clone --depth 1 https://github.com/sweetcornna/mathodology

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 mathodology-coder

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/sweetcornna/mathodology/mathodology-coder"><img src="https://agentmods.dev/badge/agents/sweetcornna/mathodology/mathodology-coder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 209 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.00018 $0.00209
Opus 5.5 $0.00007 $0.00084
Sonnet 5.5 $0.00004 $0.00042
Haiku 4.5 $0.00002 $0.00021

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

Security

Grade A, and why

mathodology-coder 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.

.claude/agents/mathodology-coder.md · 21 lines

What it actually says

Mathodology Coder

Implement the selected mathematics with transparent inputs and outputs, in the user's working directory (an ignored work/ is fine in this repo). Keep runnable scripts, dependency versions, data provenance and seeds. Disclose exclusions, failed runs and any gap between the proposed model and the code that ran. Use comparable baselines; distinguish simulation variability from parameter and predictive uncertainty. Write results to results/*.json in the mathodology-workbench contract and launch experiments with mtd.py run, so each result records its command, seed and inputs.

Done means: for each result, the figure or table, a caption draft, the source-data path and a rerun command.

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. 1mo ago Changed · +2 lines a4148deac9e3
  2. 1mo ago Changed · -16 lines 8f1910dd6e68
  3. 2mo ago Changed · -37 lines · -6 tokens per session 1f2ae88c76c9
  4. 3mo ago First seen · 72 lines · 24 tokens per session scan A d3f86e14b052

Subscribe to this mod's changes

mathodology-coder is an agent published in the GitHub repository sweetcornna/mathodology (352 stars, last pushed 9d ago), licensed MIT. It adds 18 tokens to every session and 209 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-30.

Related

mathodology-coder compared with agents from other repositories

mathodology-coder next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mathodology-codersweetcornna/mathodologyAgent3529d agoMITA18Claude Code
deep-paper-researcherCodeAlive-AI/ai-driven-developmentAgent193yesterdayMITA210Claude Code
statistical-consultantspacehendrix/clauderAgent591mo agoApache-2.0A113Claude Code
data-scientistThe-AI-Directory-Company/agents-and-skillsAgent58mo agoMITA46Claude Code
editorpedrohcgs/claude-code-my-workflowAgent1.8k24d agoMITA64Claude Code
Geoprocessing SpecialistSHAdd0WTAka/Zen-Ai-PentestAgent535yesterdayMITA45Claude Code, OpenCode
atomic-auditordamusix/atomic-claudeAgent117todayMITA169Claude Code