원클릭으로
model-creator
为数模赛题生成并排序建模方案。当用户说'生成方案'、'建模方案'、'model creator'、'有什么方法可以用'时使用。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
为数模赛题生成并排序建模方案。当用户说'生成方案'、'建模方案'、'model creator'、'有什么方法可以用'时使用。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
数据清洗、EDA、缺失值处理、异常值检测、相关性分析。触发词: 数据预处理、数据清洗、EDA、缺失值、异常值、data preprocessing、数据探索。
模型验证:交叉验证、留出法、残差分析、与已知解对比、假设检验。触发词: 模型验证、交叉验证、残差分析、model validation、留出法、误差分析、假设检验。
多子问题拆解与依赖分析。触发词: 子问题拆解、拆题、problem decomposition、依赖关系、求解顺序、时间分配、并行安排。
灵敏度分析:参数扰动、单因素/多因素分析、Monte Carlo 模拟、龙卷风图/蛛网图。触发词: 灵敏度分析、参数敏感性、sensitivity analysis、Monte Carlo、鲁棒性测试、参数扰动。
自动多轮评审优化循环。通过 Codex MCP 反复评审→修改→重新评审,直到达标或达到最大轮数。当用户说'自动优化循环'、'auto optimize'、'评审到通过'时使用。
Autonomously improve a generated paper via GPT-5.4 xhigh review → implement fixes → recompile, for 2 rounds. Use when user says "改论文", "improve paper", "论文润色循环", "auto improve", or wants to iteratively polish a generated paper.
| name | model-creator |
| description | 为数模赛题生成并排序建模方案。当用户说'生成方案'、'建模方案'、'model creator'、'有什么方法可以用'时使用。 |
| argument-hint | ["competition-problem"] |
| allowed-tools | Bash(*), Read, Write, Grep, Glob, WebSearch, WebFetch, Agent, mcp__codex__codex, mcp__codex__codex-reply |
为数模赛题生成建模方案: $ARGUMENTS
给定数模竞赛赛题,系统性地生成、验证和排序可行的建模方案。本 skill 与 /problem-analysis、/feasibility-check、/model-review 组合形成完整的建模方案发现流水线。
gpt-5.4 — Model used via Codex MCP for brainstorming and review. Must be an OpenAI model (e.g., gpt-5.4, o3, gpt-4o).💡 Override via argument, e.g.,
/model-creator "赛题" — verify budget: 20min per approach, 90min total.
分析赛题结构,理解已有数据,检索适用的经典方法。
读取赛题分析: Check PROBLEM_ANALYSIS.md in the project directory for existing analysis. If available, use it as baseline. If not, scan data/ and reference/ for problem context.
检索经典方法 using WebSearch:
Build a method landscape map:
识别建模难点与创新空间:
Use the external LLM via Codex MCP for divergent thinking:
mcp__codex__codex:
model: REVIEWER_MODEL
config: {"model_reasoning_effort": "xhigh"}
prompt: |
你是一位数学建模竞赛资深指导教师,正在为参赛队伍设计建模方案。
赛题描述: [赛题原文]
已有分析:
[paste method landscape map from Phase 1]
建模难点与创新空间:
[paste gaps from Phase 1]
请生成 5-8 种可行的建模方案。对每种方案:
1. 方案名称和一句话概述
2. 核心数学方法(主方法 + 辅助方法)
3. 最小验证实验(用最少的计算量验证方案可行性)
4. 预期贡献类型: 精确求解 / 近似优化 / 统计预测 / 模拟仿真 / 评价决策
5. 风险等级: LOW (经典方法,稳妥) / MEDIUM (有一定挑战) / HIGH (创新方法,有风险)
6. 预估实现时间: 小时级 / 半天 / 一天
优先推荐的方案应:
- 可在个人电脑上用 Python/MATLAB 在合理时间内计算完成
- 数学含量高(体现建模能力,不是纯数据处理)
- 有创新点(方法组合、模型改进、新视角)
- 与数据特征匹配(不要用数据不支持的方法)
兼顾稳健性和创新性。一个好的方案既要能出结果,又要有亮点让评委眼前一亮。
Save the threadId for follow-up.
For each generated approach, quickly evaluate:
可行性检查: Can we actually implement and solve this with available resources?
创新性快速检查: For each approach, do 2-3 targeted searches to see if past competition papers used the same method for similar problems. Full /feasibility-check comes later for survivors.
评委印象评估: Would a competition judge score this highly?
Eliminate approaches that fail any of these. Typically 5-8 approaches reduce to 3-5.
For each surviving approach, run a deeper evaluation:
可行性验证: Use the /feasibility-check workflow (data-method compatibility + compute estimation + GPT-5.4 cross-verification) for each approach
评委视角审查: Use GPT-5.4 via mcp__codex__codex-reply (same thread):
以下是筛选后的候选建模方案:
[paste surviving approaches with feasibility check results]
请以数模竞赛评委的视角审查每个方案:
- 评委最可能提出的质疑是什么?
- 该方案最可能的失败点在哪里?
- 按国赛一等奖/美赛O奖标准排序,哪些方案最有竞争力?
- 你会推荐队伍选择哪 2-3 个方案?
Combine rankings: Merge your assessment with GPT-5.4's ranking. Select top 2-3 approaches for quick verification.
Before committing to a full modeling effort, run quick verification calculations to get empirical signal. This is the key differentiator from paper-only validation.
Design verifications: For each top approach, define the minimal calculation that would give a positive or negative signal:
Run locally: Use /run-solver to launch verifications on local Python/MATLAB:
Verification 1: Approach 1 — simplified model on data subset
Verification 2: Approach 2 — basic implementation on sample data
Verification 3: Approach 3 — toy example to test method feasibility
Use run_in_background: true to launch all at once.
Collect results: Use /monitor-solver to check progress. If any verification exceeds VERIFY_TIMEOUT_MINUTES, kill it and collect partial results. Once all verifications complete (or timeout), compare:
Re-rank based on empirical evidence: Update the approach ranking using verification results. An approach with strong verification signal jumps ahead of a theoretically appealing but untested approach.
Note: Skip this phase if the approaches are purely analytical or if computation is not feasible yet. Flag skipped approaches as "needs verification" in the report.
Write a structured report to MODEL_REPORT.md in the project root:
# 建模方案报告
**赛题**: [competition problem title]
**Generated**: [date]
**方案评估**: X generated → Y survived filtering → Z verified → W recommended
## 方法地图概要
[3-5 paragraphs on applicable methods and their suitability]
## 推荐方案 (ranked)
### 方案 1: [title]
- **核心方法**: [one sentence]
- **最小验证**: [concrete description]
- **预期效果**: [what success/failure looks like]
- **创新性**: X/10 — 最接近的已有方案: [reference]
- **可行性**: [compute, data, implementation estimates]
- **风险**: LOW/MEDIUM/HIGH
- **贡献类型**: 精确求解 / 近似优化 / 统计预测 / 模拟仿真 / 评价决策
- **验证结果**: [POSITIVE: R²=0.95 / NEGATIVE: no convergence / SKIPPED: needs full data]
- **评委可能质疑**: [strongest counterargument]
- **推荐理由**: [1-2 sentences]
### 方案 2: [title]
...
## 淘汰方案 (for reference)
| 方案 | 淘汰原因 |
|------|---------|
| ... | 数据不支持该方法 |
| ... | 计算复杂度超出时间限制 |
| ... | 数学含量不足,难以拿高分 |
## 快速验证结果
| 方案 | 环境 | 耗时 | 关键指标 | 信号 |
|------|------|------|---------|------|
| 方案 1 | Python | 8 min | R²=0.95 | POSITIVE |
| 方案 2 | Python | 5 min | RMSE=12.3 | WEAK POSITIVE |
| 方案 3 | MATLAB | 12 min | 不收敛 | NEGATIVE |
## 建议执行顺序
1. Start with 方案 1 (positive verification signal, lowest risk)
2. 方案 2 as backup (weak signal, may need parameter tuning)
3. 方案 3 eliminated by verification — negative result documented
## Next Steps
- [ ] Scale up 方案 1 to full data (complete dataset, all sub-problems)
- [ ] If confirmed, invoke /auto-optimize-loop for iterative improvement
Large file handling: If the Write tool fails due to file size, immediately retry using Bash (cat << 'EOF' > file) to write in chunks. Do NOT ask the user for permission — just do it silently.
The user provides a COMPETITION PROBLEM, not a modeling approach. Your job is to generate the approaches.
Quantity first, quality second: brainstorm broadly, then filter ruthlessly.
A failed verification is just as informative as a successful one. It eliminates bad approaches early and saves precious competition time.
Don't fall in love with any approach before validating it. Be willing to kill approaches.
Always estimate compute time. An approach that needs hours of computation is risky in a 72-hour competition.
"Directly apply standard method X" is acceptable but won't score high. Push for creative combinations and improvements.
Include eliminated approaches in the report — they save time by documenting what doesn't work.
If the user's problem description is too vague (e.g., just "优化问题" without specifics), STOP and ask them to provide the full competition problem text. A good input includes the complete problem statement, available data files, and any constraints. Without sufficient specificity, generated approaches will be too generic to implement.
After this skill produces the ranked report:
/model-creator "赛题" → ranked modeling approaches
/feasibility-check "top approach" → deep feasibility verification (already done in Phase 4, but user can re-run)
/model-review "top approach" → external critical feedback from competition judge perspective
implement → write solver code
/run-solver → run locally
/auto-optimize-loop → iterate until submission-ready for competition