setup-cumcm-skills
Skill11 starsChanged 3 months agoMITView on GitHub
在赛题工作区初始化 CUMCM 目录、contest-state.json 与忽略规则。在第一次使用本技能包、或目录里还没有 contest-state.json 时使用。不要在已初始化且用户只想建模时使用。
- Reads credentials
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- academic-voiceSkill
- ask-cumcmSkill
- assumption-setSkill
- award-reviewSkill
- chart-styleSkill
- compliance-aiSkill
- compute-implSkill
- contest-runSkill
- data-prepSkill
- grill-problemSkill
- model-buildSkill
- model-selectSkill
- model-validateSkill
- paper-writeSkill
- problem-briefSkill
- problem-classifySkill
The file
Files
setup-cumcm-skills
只建工作区,不解题。
何时使用
必须使用:当前目录没有 contest-state.json;用户说「初始化」「搭目录」。
禁止使用:已经初始化且用户要读题/写论文。不要覆盖已有 data/raw。
循环
目标:目录与状态文件就位,且原始数据目录可写但为空或仅有用户已放文件。
max_rounds: 2
步骤
- 确认 cwd 是赛题仓库。如果 cwd 是本 skills 开源仓库(存在
skills/contest-run)→ 停,要求用户换到赛题目录。 - 创建:
problem/data/raw/data/processed/src/scripts/configs/results/figures/results/tables/results/logs/paper/support/。 - 若无
contest-state.json,按本仓库templates/contest-state.json的字段写出最小实例:schema_version=0.1.0,status=uninitialized,problems=[]。 - 确保赛题仓库
.gitignore含.env、身份类文件;提醒用户不要把problem/推到公开 remote。 - 问四项(可短答):年份、题号(A/B/C…)、论文语言(zh/en)、论文引擎(
latex/word)。前三项写入contest.*,引擎写入paper.engine。 - 若
paper/下还没有稿:在 cwd、.agents/skills、.claude/skills里找paper-write/assets/,按引擎复制到paper/latex/或paper/word-outline.md。找不到就写paper/README.md,让用户从本技能包的paper-write/assets/拷。不要覆盖已有.tex/.docx。
验收
contest-state.json可 JSON.parse- 上列目录存在
- 未删除用户已有数据文件
- 当前仓库不是误初始化在 skills 源码仓(除非用户明确要求)
输出
写入 contest.*(用户已答部分)和 paper.engine(若已选)。status 仍为 uninitialized 直到 grill 锁定题目。
下一跳
grill-problem(用户确认题号后)。不要自动开始写论文。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

