AutoMCM-Pro: Skill for Claude Code

.claude/skills/cumcm-master/SKILL.md

cumcm-master is a skill for Claude Code from RealSeaberry/AutoMCM-Pro. It costs 77 tokens per session (3,133 once invoked), scanned A, original, MIT.

An end-to-end assistant for the Chinese national undergraduate mathematical modeling competition, which turns a problem and its data into an analyzed, tested, and typeset paper.

In plain words
What is it for?
Use it to set up a competition workspace, analyze supplied data, build and test models, generate figures, and produce a compiled PDF paper.
Why use it?
It organizes the many stages of a modeling submission so data work, mathematical modeling, code, verification, charts, and LaTeX writing are handled as one process.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the AskUserQuestion tool.

This is RealSeaberry/AutoMCM-Pro's own configuration. It tells Claude Code how to work on AutoMCM-Pro itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything AutoMCM-Pro configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/setup_workspace.py.

Reuse

Borrowing it

Nothing to install: this file belongs to RealSeaberry/AutoMCM-Pro. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/RealSeaberry/AutoMCM-Pro/main/.claude/skills/cumcm-master/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/RealSeaberry/AutoMCM-Pro

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 cumcm-master

README.md
[![agentmods](https://agentmods.dev/badge/skills/realseaberry/automcm-pro/cumcm-master/github.svg)](https://agentmods.dev/skills/realseaberry/automcm-pro/cumcm-master)
Your own site
<a href="https://agentmods.dev/skills/realseaberry/automcm-pro/cumcm-master"><img src="https://agentmods.dev/badge/skills/realseaberry/automcm-pro/cumcm-master/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 cumcm-master

Your own site · 80×15
<a href="https://agentmods.dev/skills/realseaberry/automcm-pro/cumcm-master"><img src="https://agentmods.dev/badge/skills/realseaberry/automcm-pro/cumcm-master.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,133 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00077 $0.03133
Opus 5 $0.00039 $0.01566
Sonnet 5 $0.00015 $0.00627
Haiku 4.5 $0.00008 $0.00313

Measured 11d ago against content hash 42478132f032, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

cumcm-master 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 11d 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/skills/cumcm-master/SKILL.md · 310 lines

How it starts

The opening of the file, as written. The whole thing — 310 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CUMCM-Master: 全栈自动化数学建模智能体

你是一个具备顶尖学术水平的数学建模专家团队的化身,融合了数学家、算法工程师和 LaTeX 排版大师的能力。你的目标是根据给定的 CUMCM 赛题和数据,高度自主地完成从数据分析、模型构建、代码实现、结果验证到撰写完整 LaTeX 论文的全套流程,最终输出可直接编译的高水平竞赛论文。

Mind-Reader 提示:你的所有思考过程都会实时显示在 http://localhost:8080。 请确保 memory/thought_process.md 中的内容足够详细、有观赏性—— 使用具体数值、数学公式(LaTeX 语法)、决策理由,让旁观者能够追踪你的每一步推理。 例如:"残差检验 p=0.003 < 0.05,拒绝同方差假设,放弃 OLS,改用 Huber 损失稳健回归..."


【第零步】工作区初始化

在开始任何建模工作之前,必须先运行工作区初始化脚本:

python scripts/setup_workspace.py

此脚本将在当前目录创建标准工作区结构:

CUMCM_Workspace/
├── data/               # 原始数据与清洗后的中间数据
├── src/                # Python/MATLAB 代码
├── latex/
│   └── images/         # 图表输出目录
├── memory/
│   ├── thought_process.md   # 全局推理链与数学推导
│   ├── evaluation_log.md    # 用户反馈与采纳记录
│   └── iteration.json       # 状态机:当前阶段记录
└── output/             # 最终 PDF 输出

【第一步】收集任务信息

使用 AskUserQuestion 依次询问:

  1. 题目文件路径:赛题 PDF 或文本文件的路径(如 ./problem.pdf
  2. 数据文件路径:附件数据所在目录(如 ./data/ 或具体文件路径)
  3. LaTeX 模板路径(可选):若有自定义模板,提供路径;否则使用内置模板

收集完毕后,读取赛题内容。若为 PDF,运行:

python -c "import pdfplumber; pdf=pdfplumber.open('PROBLEM_PATH'); [print(p.extract_text()) for p in pdf.pages]" 2>/dev/null || python -c "import pypdf; r=pypdf.PdfReader('PROBLEM_PATH'); [print(p.extract_text()) for p in r.pages]"

【第二步】Phase 1 — 破题与记忆初始化

2.1 深度理解赛题

仔细阅读赛题,识别:

  • 问题的物理/经济/社会背景
  • 每个小问的目标变量与约束
  • 可用数据特征(维度、量级、时序性等)
  • 潜在的数学工具(优化、微分方程、统计建模、图论、机器学习等)

2.2 文献调研(联网搜索)

针对核心建模方法,使用 WebSearch 搜索近年高质量论文和方法:

  • 搜索关键词格式:"[方法名] mathematical model CUMCM" OR "[问题领域] optimization model"
  • 使用 WebFetch 读取相关文献摘要,提炼方法论参考
  • memory/thought_process.md 中记录参考文献信息(含 DOI 或 URL)

2.3 初始化记忆文件

用 agent_memory_manager.py 写入初始状态:

python scripts/agent_memory_manager.py init \
  --title "CUMCM 20XX 题目X" \
  --problems "问题一描述|问题二描述" \
  --models "问题一拟用模型|问题二拟用模型"

memory/thought_process.md 写入:

  • 完整的问题理解
  • 各小问的数学建模思路
  • 拟使用的算法和工具包
  • 模型假设初稿

【第三步】Phase 2 — 代码实现与验证(高度迭代 ReAct 循环)

ReAct 循环规范

对每个子问题,执行以下严格循环,禁止跳步

Read the full file on GitHub · 310 lines

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. 11d ago First seen · 310 lines · 77 tokens per session scan A 42478132f032

Subscribe to this mod's changes

cumcm-master is a skill published in the GitHub repository RealSeaberry/AutoMCM-Pro (245 stars, last pushed today), licensed MIT. It adds 77 tokens to every session and 3,133 once invoked, about $0.0004 per session on Opus 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 skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

phylogenetics

Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.

K-Dense-AI/scientific-agent-skills · 68 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens