math-modeling-contest
Industrial-grade math modeling contest agent for CUMCM, 51MCM, and MCM/ICM. Use when the user needs to solve, analyze, write, revise, or audit a math modeling…
от Chen-Jin-Han★ 24 звезды на GitHub
Установить math-modeling-contest в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Math Modeling Contest Agent
Use this skill as a contest-solving workflow, not as a generic writing prompt. The agent must keep claims, numbers, code, figures, and paper text traceable to upstream artifacts.
First Decision
Before doing any work, decide which route applies.
| Route | Use when | Main output |
|---|---|---|
| New solution | User provides a contest problem and wants solving/writing | parsed problem, models, code, figures, Markdown, DOCX |
| Existing DOCX revision | User provides a draft paper and asks to revise it | edited DOCX with change summary |
| Audit only | User asks for review/check/score | findings, risks, required fixes |
| Partial task | User asks for one subproblem, data check, figure, or method | scoped artifact only |
Manual mode is the default for serious contest work. Autopilot is allowed only when the user explicitly asks for full automatic execution.
Friendly Mode
For Manual mode, reduce the user's workload. Key decisions should be presented as numbered options, not as requests to edit JSON, run shell commands, or understand the whole pipeline.
Use numbered questions for:
- contest type and problem number
- available files and missing attachments
- model route selection
- whether to refine, continue, or stop at a gate
- paper route: new Markdown-to-DOCX or in-place DOCX revision
Every numbered decision should include a safe default such as "let the agent decide, recommended". If the user chooses the default, proceed with the most conservative high-quality option and record the decision.
One-Sentence Startup Prompt
When a user asks how to invoke the skill, suggest:
Please use the math-modeling-contest skill to solve my uploaded contest problem in Manual checkpoint mode. First read the problem and attachments, split all subproblems, inspect the data, propose 2-3 candidate models for each subproblem, build the dependency DAG, and wait for my confirmation before writing code or the paper.
For Chinese users, suggest:
请使用 math-modeling-contest skill 以 Manual checkpoint 模式处理我上传的数学建模赛题。请先读取题目和附件,拆解每一问,检查数据,给每一问提出 2-3 个候选模型,建立问题依赖 DAG,并在我确认路线后再写代码和论文。
Collaboration Roles
Keep the work organized as three cooperating roles. They are not separate agents unless the environment supports that; they are responsibility boundaries.
| Role | Owns | Must produce |
|---|---|---|
| Modeling lead | problem parsing, assumptions, model choice, formulas, dependency DAG | model contract, method comparison, variable table |
| Coding lead | data cleaning, reproducible scripts, result tables, figures | runnable code, logs, frozen result artifacts |
| Paper lead | argument structure, claim-evidence mapping, DOCX/PDF delivery | Markdown draft, DOCX, audit notes |
Role handoff rule: the next role may start only after the previous role leaves enough artifacts for traceability. Paper writing cannot start from memory; it must start from frozen results and a claim-evidence map.
State And Decision Log
For multi-turn or long contest work, maintain a lightweight state file in the user's workspace when practical:
state/decision_log.json
Track at least:
- contest type, problem number, mode, current gate, and deadline
- files received and files still missing
- model choices accepted/rejected and why
- frozen result file paths
- stale downstream artifacts after code/data changes
- user decisions at Manual checkpoints
Do not ask the user to manually edit this file. Update it yourself when creating or changing artifacts. If no state file exists, summarize the same fields in the chat after each gate.
Competition Profile
Adjust defaults by competition:
| Competition | Language | Time pressure | Paper emphasis |
|---|---|---|---|
| CUMCM | Chinese | 72h style | rigorous modeling, Chinese captions, three-line tables |
| 51MCM | Chinese | short contest style | fast execution, clear methods, robust formatting |
| MCM/ICM | English | 96h style | communication quality, summary/abstract clarity, reproducible evidence |
For Chinese competitions, use Chinese figure/table labels and concise formal Chinese. For MCM/ICM, use English labels and keep the writing argument-first.
Depth Mode
Choose a work depth from the user's deadline and intent:
| Mode | Use when | Behavior |
|---|---|---|
| Fast | quick feasibility check or very short deadline | baseline, one main model, minimal audit |
| Standard | normal contest workflow | full G1-G6, baseline comparisons, robustness checks |
| Championship | final push or high-quality submission | deeper review, adversarial critique, extra consistency checks |
Manual mode and depth mode are independent: Manual controls checkpoint style; depth controls how much review and iteration to spend.
Canonical Workflow
Follow these gates in order for a new contest solution. Do not write the paper before verified results exist.
- G1 Problem Parsed
- Identify contest type, language, deliverables, uploaded files, a
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- .gitignore
- README.md
- agents/openai.yaml
- assets/icon-large.svg
- assets/icon-small.svg
- check_fmt.py
- fix_skill.py
- references/algorithm-library/01-优化算法说明.md
- references/algorithm-library/02-预测类算法说明.md
- references/algorithm-library/03-评价类算法说明.md
- references/algorithm-library/04-图论与网络分析算法说明.md
- references/algorithm-library/05-统计分析与数据处理算法说明.md
- references/algorithm-library/06-综合类算法说明.md
- references/algorithm-library/07-机器学习算法说明.md
- references/algorithm-library/README.md
- references/documents-workflow.md
- references/experiment_design_framework.md
- references/format-spec-51mcm.md
- references/integrity_gate_checklist.md
- references/model-formulation-guide.md
- references/nature-figure-guide.md
- references/nature-writing-guide.md
- references/outstanding-thesis/2017MCM ICM/E/E类-O奖--61502.pdf
- references/outstanding-thesis/2017MCM ICM/E/E类-O奖--71672.pdf
- references/outstanding-thesis/README.md
- references/paper-writing-rules.md
- references/problem-algorithm-map.json
- references/problem-taxonomy.md
- references/problem-triage.md
- references/qa-checklist.md
- references/review_gate_config.json
- references/robustness-guide.md
- references/role-guides/建模手说明.md
- references/role-guides/编程手说明.md
- references/role-guides/论文手说明.md
- scripts/_archive/apply_new_p2.py
- scripts/_archive/check_kimi2.py
- scripts/_archive/check_kimi_search.py
- scripts/_archive/check_moonshot.py
- scripts/_archive/check_sheets.py
FAQ
Что делает скилл math-modeling-contest?
Industrial-grade math modeling contest agent for CUMCM, 51MCM, and MCM/ICM. Use when the user needs to solve, analyze, write, revise, or audit a math modeling contest problem end-to-end, including 数学建模, 国赛, 五一赛, 美赛, CUMCM, 51MCM, MCM, and ICM problems. Supports Manual checkpoints and Autopilot execution, model design, reproducible code, figure generation, paper writing, DOCX/PDF output, and revision workflows.
Как установить скилл math-modeling-contest?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл math-modeling-contest запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…