当用户要求数学建模、建模竞赛、建模分析、代码求解、结果可视化或生成数学建模论文时使用。支持完整三阶段流程、单独执行任一角色,以及在关键节点使用独立 Subagent 进行阶段内质检;默认只启用质检 Subagent,用户可明确选择额外协作。
npx skills add https://github.com/XiaoMaColtAI/math-modeling-skill --skill math-modeling
本 Skill 用三个独立角色完成数学建模。生成的论文仅供用户参考,不作为可直接提交的作品。论文结构与格式必须以目标竞赛当届官方规则和官方模板为准,不能用往届经验替代官方要求。
用户明确点名本 Skill 或任务命中本 Skill 时,严格执行以下协议;不要把它降级为建议:
SKILL_ROOT、PROJECT_ROOT、当前阶段、目标竞赛与届次、计划读取的角色和工具入口。未确认的官方规则明确标为待核验。SKILL.md;使用 PDF、Excel、论文搜索、DOCX 或 LaTeX 时,再实际读取对应工具的 SKILL.md。知道文件路径不等于已经执行。references/Subagent调度.md 在关键节点立即派发独立质检;禁止等全流程结束后才首次派发,作者自检不能替代独立验收。除固定质检外,不主动派发其他 Subagent;仅在用户明确启用具体协作任务时按所选范围执行。M1/P1/P2/W1/W2 质检 Subagent;调研、原型和并行实验等可选协作默认关闭,不询问、不暂停流程。M1 建模终检、P1 最小可运行结果、P2 编程终检、W1 证据大纲和 W2 论文终检。P1 通过后才能全量计算与正式出图,P2 通过后进入论文规划,W1 通过后才开始长篇正文和双格式排版。FAIL 必须按证据返回对应角色修正并复验;被审产物发生实质变化时,相关 PASS 立即失效。BLOCKED 或受限交付并明确报告“独立验收未完成”,不得把主 Agent 自检描述为独立通过或声称完整完成。详细的默认开关、可选协作任务、派发输入、固定回执和并行边界见 references/Subagent调度.md。
SKILL_ROOT:本文件所在目录,只读。角色说明、算法资料、脚本和模板都从这里读取。PROJECT_ROOT:用户题目和项目所在目录,所有新产物只能写入这里。SKILL_ROOT 内任何文件。PROJECT_ROOT 再处理。| 用户意图 | 加载入口 | 是否要求前一阶段已完成 |
|---|---|---|
| 完整建模、完成整题 | references/roles/建模手/SKILL.md → references/roles/编程手/SKILL.md → references/roles/论文手/SKILL.md | 按顺序执行 |
| 只做题目分析、选模型 | references/roles/建模手/SKILL.md | 否 |
| 只写代码、跑结果、出图 | references/roles/编程手/SKILL.md | 需要题目和可执行的模型说明;缺失时先补齐必要分析 |
| 只写或修改论文 | references/roles/论文手/SKILL.md | 需要题目、模型、真实运行结果和图表;缺失时回退到对应阶段 |
不要在单阶段任务中强制执行完整流程。
只交付:
题目分析报告.md术语表格.md交付:
.py)或 MATLAB(.m)代码;可同时交付两种语言。.csv、题目要求的 .xlsx。raw_q1_*、process_q1_*、result_q1_* 等格式,不设上限。相同内容的 SVG、PNG 和灰度预览按 1 张逻辑图计数。results/复现清单.json,含随机种子、输入文件 SHA-256、运行时和依赖版本、关键参数、唯一复现命令。默认同时交付两种格式,且正文内容、数据、图表和结论保持一致:
完整论文.docx;由 LaTeX 转换时同时保留哈希绑定的 .conversion.json。完整论文-LaTeX/ 源码项目、由其实际编译得到的 完整论文.pdf 和哈希绑定的 .build.json。用户明确只要一种格式时,只生成指定格式。内部检查记录不作为额外交付物。
无论目标竞赛为何,论文默认至少包含 8 幅正式图;当届官方规则或用户明确要求与此冲突时,以其要求为准并记录依据。
FAIL 时,按回执中的文件、命令、数值或来源证据回到对应角色;修正后重跑受影响门禁,不得由主 Agent 口头覆盖。先读当前阶段的 SKILL.md,再按其中“何时加载”表读取所需参考,禁止一次性加载全部资料。
| 当前任务 | 额外读取 |
|---|---|
| 选模型或查算法 | references/算法索引.md,再读取一个或少数几个相关 assets/*.md |
| 搜索论文 | tools/paper_search/SKILL.md |
| 读取题目 PDF | tools/pdf/SKILL.md |
| 处理 Excel | tools/xlsx/SKILL.md |
| 生成 Word 论文 | tools/docx/SKILL.md |
| 生成 LaTeX 论文 | tools/latex/SKILL.md |
| LaTeX 论文转 Word | tools/docx/SKILL.md |
| 派发 Subagent 或阶段质检 | references/Subagent调度.md |
完整导航见 references/README.md。
PASS,且通过后产物未发生未经复验的实质变化;缺少 Subagent 能力时只能报告 BLOCKED 或受限交付。PROJECT_ROOT,SKILL_ROOT 未被改写。Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Replace with description of the skill and when Claude should use it.
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Take xiaomacoltai/math-modeling from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.