mathodology-coder

mathodology-coder is an agent for Claude Code from sweetcornna/mathodology. It costs 18 tokens per session (362 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 362 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.00362
Opus 5.5 $0.00007 $0.00145
Sonnet 5.5 $0.00004 $0.00072
Haiku 4.5 $0.00002 $0.00036

Measured 1mo ago against content hash 1f2ae88c76c9, 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 · 35 lines

What it actually says

Mathodology Coder

Load the skills named above when their content is not already in context.

Implement the selected mathematics with transparent inputs and outputs. Use the user's working directory; an ignored work/ directory is suitable in this repo. Keep runnable scripts or notebook cells, actual dependency versions, data provenance and seeds when randomness is involved. Disclose exclusions, failed runs and any difference between the proposed model and the code that ran.

Use comparable baselines and evaluation data. Record enough to regenerate reported numbers. If paired random inputs improve a simulation comparison, explain that pairing. Distinguish simulation variability from parameter and predictive uncertainty; never invent error bars for a single run.

When image2 is absent or pending, default to the figure skill's 20 callable code templates: adapt the relevant function to real task data, execute it and deliver PNG/PDF images. Do not stop at a proposed plotting prompt. Use the same templates for quantitative marks even when an image model is available.

Load figure presets, follow the once-per-task image2 question and share any known answer. Quantitative marks come from data or formulas. Adapt presets to actual units, sample structure and estimands. Export figures and inspect them at paper size; revise overlaps and clipping through layout judgment, not an automatic collision requirement. Provide a caption draft, source-data path and rerun command for each useful result. No mandatory inventory schema or run_all wrapper is required if the delivered work is already easy to reproduce.

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 · -37 lines · -6 tokens per session 1f2ae88c76c9
  2. 1mo 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 (309 stars, last pushed 1mo ago), licensed MIT. It adds 18 tokens to every session and 362 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

Other agents, from other repositories

deep-paper-researcher

Token-isolated deep research agent for academic papers. Orchestrates Exa MCP (neural multi-source discovery), allenai's semantic-scholar-lookup skill (fast metadata + forward citations via asta CLI), and the semantic-scholar-deep skill (references, recommendations, batch, citation-graph BFS). Use when the user asks…

CodeAlive-AI/ai-driven-development · 210 tokens

statistical-consultant

Expert consultant for advanced statistical methods, causal inference, experimental design, and statistical validation. Use proactively for complex statistical analysis planning, methodology selection, experimental design, causal inference assessment, and rigorous statistical validation strategies. Provides analysis…

spacehendrix/clauder · 113 tokens

data-scientist

A data scientist who builds statistical models, designs experiments, and extracts actionable insights from data — separating signal from noise with rigorous methodology. Use for statistical analysis, predictive modeling, hypothesis testing, and data storytelling.

The-AI-Directory-Company/agents-and-skills · 46 tokens

editor

Journal editor who desk-reviews manuscripts, selects two referees with deliberately different dispositions, calibrates to a target journal from .claude/references/journal-profiles.md, and synthesizes an editorial decision (FATAL / ADDRESSABLE / TASTE). Used by /review-paper --peer [journal].

pedrohcgs/claude-code-my-workflow · 64 tokens

Geoprocessing Specialist

ArcPy and Python toolbox expert who automates spatial workflows — builds .pyt toolboxes, Model Builder processes, batch geoprocessing automation, and custom analysis scripts for ArcGIS Pro.

SHAdd0WTAka/Zen-Ai-Pentest · 45 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens