Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

Programmer Role (Math Modeling)

A role skill that handles the Python/MATLAB implementation, result tables, publication-grade figures and reproducibility checks of a math-modeling project, gated by independent QA subagents.

Data & AnalyticsAdvanced93555AI score 7/10Last updated: Aug 29, 2026

What it does

  • Takes the problem-analysis report and glossary as input, then writes and actually runs Python (.py) or MATLAB (.m) code for the model.
  • Checks dependencies feature-by-feature (data / visualization / optimization) instead of demanding a full package install up front.
  • Produces result tables in results/ and three figure families in figures/ — raw data, model process, final results — at least 3 each, 9 total, with every sub-question (q1…qN) covered in all three families.
  • Forces every publication figure through an export gate (SVG + ≥300 DPI PNG) plus figure_audit.py --strict, then a human-style visual review for hierarchy, clipping, color and scale.
  • Emits a reproduction manifest and requires two independent gates: P1 (minimum runnable result, vertical slice) and P2 (final programming audit) before the paper stage can start.

Who it's for

  • Math-modeling contest teams (MCM/ICM, CUMCM) — especially whoever owns coding and plotting.
  • Researchers and grad students who need journal-quality figures and reproducible numbers.
  • Anyone building a multi-agent pipeline splitting modeler / programmer / writer roles.

Examples

  1. "Implement the Q1 optimization model in Python and produce the result table" → dependency check → minimal run → P1 gate → full computation.
  2. "Redo all figures at SCI publication quality" → data profiling and chart contract → 9+ candidate figures → export gate + strict audit script.
  3. "Verify reproducibility before submission" → generate manifest → an independent subagent runs the single repro command and checks input hashes, seeds and key values.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/XiaoMaColtAI/math-modeling-skill/HEAD/dsh-plugin/math-modeling-agent/skills/math-modeling/references/roles/编程手/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the dsh-plugin/math-modeling-agent/skills/math-modeling/references/roles/编程手 folder from the GitHub repo XiaoMaColtAI/math-modeling-skill into my ~/.claude/skills/xiaomacoltai-skill/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/XiaoMaColtAI/math-modeling-skill.git && mkdir -p ~/.claude/skills && cp -r math-modeling-skill/dsh-plugin/math-modeling-agent/skills/math-modeling ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and go to a working directory.
  2. Clone the repo: git clone https://github.com/XiaoMaColtAI/math-modeling-skill.git
  3. This file is only a sub-role, so copy the whole parent skill bundle: mkdir -p ~/.claude/skills && cp -r math-modeling-skill/dsh-plugin/math-modeling-agent/skills/math-modeling ~/.claude/skills/
  4. Make sure Python (3.10+ recommended) is available, plus MATLAB if you plan to use the .m path; the plotting scripts rely on matplotlib.
  5. Restart Claude Code and confirm the math-modeling skill is detected.
  6. Put your problem-analysis report (题目分析报告.md) in the project folder and ask Claude to "run the programming stage" to trigger this role.

Note: the docs are written in Chinese and assume the sibling tools/figure, scripts/ and references/ directories exist — do not extract this single file on its own.