MathModeling-skills is a collection of Claude Code and Codex skills for mathematical modeling competitions, guiding users through data analysis, method-specific checks, reproducible computations, figures, and paper audits without taking over modeling decisions. It is for contestants who want AI to handle mechanical checks while they retain responsibility for choosing methods and interpreting results. The catalogue entries form the project's skills, instructions, hook, setting, and plugin workflow.
Borrowing it
Nothing to install: this file belongs to zhnnky329/MathModeling-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/zhnnky329/MathModeling-skills/main/.claude/skills/model-code-analyzer/SKILL.mdgit clone --depth 1 https://github.com/zhnnky329/MathModeling-skillsWrote 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/skills/zhnnky329/mathmodeling-skills/model-code-analyzer)<a href="https://agentmods.dev/skills/zhnnky329/mathmodeling-skills/model-code-analyzer"><img src="https://agentmods.dev/badge/skills/zhnnky329/mathmodeling-skills/model-code-analyzer/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/skills/zhnnky329/mathmodeling-skills/model-code-analyzer"><img src="https://agentmods.dev/badge/skills/zhnnky329/mathmodeling-skills/model-code-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00041 | $0.00790 |
| Opus 5.5 | $0.00016 | $0.00316 |
| Sonnet 5.5 | $0.00008 | $0.00158 |
| Haiku 4.5 | $0.00004 | $0.00079 |
Grade A, and why
model-code-analyzer 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.
How it starts
The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
Define exactly what code must implement and save. Do not expand the approved experiment scope or fully plan a dormant fallback.
Preconditions
methods/Qx/qx_method_card.mdand probe summary exist.methods/Qx/qx_decisions.jsonlcontains a humanDECIDEDmethod choice.- A usable baseline is identified.
- Cleaned data and
data_profile.jsonare ready when data is required. - Implementation target and round are known.
Read legacy candidate/decision artifacts only when the new artifacts are absent.
Workflow
- Read the approved choice, method card, probe conditions, and experiment budget.
- Plan only:
- approved
main; - approved
usable_baseline; - shared helpers and comparison logic.
- approved
- Record the fallback ID and trigger, but do not plan its full implementation unless the trigger is already evidenced and the human chose activation.
- Map mathematical definitions to inputs, processing steps, intermediate evidence, outputs, and validation checks.
- Define a directly comparable metric/output contract for main and baseline.
- Define the round output:
results/Qx/experiments/roundN/
├── figures/
├── tables/
├── metrics/
└── run_summary.json
Create logs/ only for failures, warnings, or reproducibility needs.
7. Write code/Qx/qx_code_plan.md for Python or code/matlab/Qx/qx_code_plan.md for MATLAB.
8. Hand off to the matching language generator.
Run Summary Contract
Require:
{
"schema_version": 1,
"question": "Q1",
"round": "round1",
"implementation_target": "python",
"random_seed": 2026,
"approved_decision_id": "q1_method_choice",
"methods": [
{
"method_id": "M1",
"role": "usable_baseline",
"script": "code/Q1/q1_baseline.py",
"status": "success",
"execution_time_seconds": 0,
"input_files": [],
"output_files": [],
"figure_files": [],
"metrics_summary": {},
"warnings": [],
"errors": []
}
],
"comparison": {},
"fallback_trigger": {
"fallback_id": null,
"condition": null,
"observed": false,
"evidence": null
},
"environment": {}
}
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.
- 2mo ago First seen · 112 lines · 41 tokens per session scan A 6b68d5e1bc78
model-code-analyzer is a skill published in the GitHub repository zhnnky329/MathModeling-skills (1,080 stars, last pushed 1mo ago), licensed MIT. It adds 41 tokens to every session and 790 once invoked, about $0.0002 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.
model-code-analyzer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| model-code-analyzerzhnnky329/MathModeling-skills | Skill | 1.1k | 1mo ago | MIT | A | 41 | Claude Code |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 35k | 2d ago | Apache-2.0 | A | 123 | Claude Code |
| exploratory-data-analysisK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 83 | Claude Code |
| matlabK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 44 | Claude Code |
| phylogeneticsK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 71 | Claude Code, Codex |
| research-engineerdavila7/claude-code-templates | Skill | 33k | yesterday | MIT | A | 43 | Claude Code, Codex |
| mapping-to-snomedmaziyarpanahi/openmed | Skill | 5.8k | yesterday | Apache-2.0 | A | 205 | Claude Code |