一键导入
modeling-discovery
Workflow 1: 完整的建模方案发现流水线。编排 problem-analysis → model-creator → feasibility-check → model-review,从赛题到验证过的建模方案。当用户说'找方案全流程'、'建模方案发现'、'从零开始建模'时使用。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Workflow 1: 完整的建模方案发现流水线。编排 problem-analysis → model-creator → feasibility-check → model-review,从赛题到验证过的建模方案。当用户说'找方案全流程'、'建模方案发现'、'从零开始建模'时使用。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | modeling-discovery |
| description | Workflow 1: 完整的建模方案发现流水线。编排 problem-analysis → model-creator → feasibility-check → model-review,从赛题到验证过的建模方案。当用户说'找方案全流程'、'建模方案发现'、'从零开始建模'时使用。 |
| argument-hint | ["competition-problem"] |
| allowed-tools | Bash(*), Read, Write, Edit, Grep, Glob, WebSearch, WebFetch, Agent, Skill, mcp__codex__codex, mcp__codex__codex-reply |
Orchestrate a complete modeling discovery workflow for: $ARGUMENTS
This skill chains sub-skills into a single automated pipeline:
/problem-analysis → /model-creator → /feasibility-check → /model-review → /model-refine-pipeline
(survey) (brainstorm) (verify novel) (critical feedback) (refine method + plan experiments)
Each phase builds on the previous one's output. The final deliverables are a validated MODEL_REPORT.md with ranked 建模方案, plus a refined proposal (refine-logs/FINAL_PROPOSAL.md) and experiment plan (refine-logs/SOLVE_PLAN.md) for the top 建模方案.
false to always wait for explicit user confirmation.gpt-5.4 — Model used via Codex MCP. Must be an OpenAI model (e.g., gpt-5.4, o3, gpt-4o). Passed to sub-skills.true, /problem-analysis downloads the top relevant 参考资料 during Phase 1. When false (default), only fetches metadata. Passed through to /problem-analysis.true, generate compact summary files for short-context models and session recovery. Writes MODEL_CANDIDATES.md (top 3-5 建模方案 only) at the end of this workflow. Downstream skills read this instead of the full MODEL_REPORT.md.REF_METHOD_SUMMARY.md), then 建模方案 generation uses it as context. Combine with base repo for "improve this paper with this codebase" workflows.💡 These are defaults. Override by telling the skill, e.g.,
/modeling-discovery "topic" — ref method: https://method-search.org/abs/2406.04329or/modeling-discovery "topic" — compact: true.
Before starting any other phase, check for a detailed 赛题描述 in the project:
PROBLEM_BRIEF.md in the project root (or path passed as $ARGUMENTS)PROBLEM_BRIEF.md and a one-line $ARGUMENTS exist, merge them (brief takes priority for details, argument sets the direction)If no brief exists, proceed normally with $ARGUMENTS as the 赛题描述.
💡 Create a brief from the template:
cp templates/PROBLEM_BRIEF_TEMPLATE.md PROBLEM_BRIEF.md
Skip entirely if REF_METHOD is false.
Summarize the 参考方法 before searching the 参考资料:
If 方法参考链接 (e.g., https://method-search.org/abs/2406.04329):
/method-search "ARXIV_ID" — download to fetch the PDFIf local PDF path (e.g., papers/reference.pdf):
If other URL:
Generate REF_METHOD_SUMMARY.md:
# 参考方法概要
**Title**: [paper title]
**Authors**: [authors]
**Venue**: [venue, year]
## What They Did
[2-3 sentences: core method and contribution]
## Key Results
[Main quantitative findings]
## Limitations & Open Questions
[What the paper didn't solve, acknowledged weaknesses, future work suggestions]
## Potential Improvement Directions
[Based on the limitations, what could be improved or extended?]
## Codebase
[If `base repo` is also set: link to the repo and note which parts correspond to the paper]
🚦 Checkpoint: Present the summary to the user:
📄 参考方法 summarized:
- Title: [title]
- Key limitation: [main gap]
- Improvement directions: [2-3 bullets]
Proceeding to 赛题分析 with this as context.
Phase 1 and Phase 2 will use REF_METHOD_SUMMARY.md as additional context — /problem-analysis searches for related and competing work, /model-creator generates 建模方案 that build on or improve the 参考方法.
Invoke /problem-analysis to map the 方法地图:
/problem-analysis "$ARGUMENTS"
What this does:
🚦 Checkpoint: Present the landscape summary to the user. Ask:
📚 Literature survey complete. Here's what I found:
- [key findings, gaps, open problems]
Does this match your understanding? Should I adjust the scope before generating 建模方案?
(If no response, I'll proceed with the top-ranked direction.)
/problem-analysis with adjusted scope, and present again. Repeat until the user is satisfied.Invoke /model-creator with the landscape context (and REF_METHOD_SUMMARY.md if available):
/model-creator "$ARGUMENTS"
What this does:
REF_METHOD_SUMMARY.md exists, include it as context — 建模方案 should build on, improve, or extend the 参考方法MODEL_REPORT.md🚦 Checkpoint: Present MODEL_REPORT.md ranked 建模方案 to the user. Ask:
💡 Generated X 建模方案, filtered to Y, 验证ed Z. Top results:
1. [建模方案 1] — 验证: POSITIVE (+X%)
2. [建模方案 2] — 验证: WEAK POSITIVE (+Y%)
3. [建模方案 3] — 验证: NEGATIVE, eliminated
Which 建模方案 should I validate further? Or should I regenerate with different constraints?
(If no response, I'll proceed with the top-ranked 建模方案.)
For each top 建模方案 (positive 验证信号), run a thorough 可行性检查:
/feasibility-check "[top 建模方案 1 description]"
/feasibility-check "[top 建模方案 2 description]"
What this does:
Update MODEL_REPORT.md with deep 可行性 results. Eliminate any 建模方案 that turns out to be already published.
For the surviving top 建模方案(s), get brutal feedback:
/model-review "[top 建模方案 with hypothesis + 验证结果]"
What this does:
Update MODEL_REPORT.md with reviewer feedback and revised plan.
After review, refine the top 建模方案 into a concrete proposal and plan experiments:
/model-refine-pipeline "[top 建模方案 description + 验证结果 + reviewer feedback]"
What this does:
refine-logs/FINAL_PROPOSAL.md, refine-logs/SOLVE_PLAN.md, refine-logs/SOLVE_TRACKER.md🚦 Checkpoint: Present the refined proposal summary:
🔬 Method refined and experiment plan ready:
- Problem anchor: [anchored problem]
- Method thesis: [one sentence]
- Dominant contribution: [what's new]
- Must-run experiments: [N blocks]
- First 3 runs to launch: [list]
Proceed to implementation? Or adjust the proposal?
/model-refine for another round./model-refine only (skip /solve-plan) and note remaining risks in the report.Finalize MODEL_REPORT.md with all accumulated information:
# 建模方案发现报告
**Direction**: $ARGUMENTS
**Date**: [today]
**Pipeline**: problem-analysis → model-creator → feasibility-check → model-review → model-refine-pipeline
## Executive Summary
[2-3 sentences: best 建模方案, key evidence, recommended next step]
## Literature Landscape
[from Phase 1]
## Ranked 建模方案
[from Phase 2, updated with Phase 3-4 results]
### 🏆 建模方案 1: [title] — RECOMMENDED
- 验证: POSITIVE (+X%)
- 可行性: CONFIRMED (closest: [paper], differentiation: [what's different])
- Reviewer score: X/10
- Next step: implement full experiment → /auto-optimize-loop
### 建模方案 2: [title] — BACKUP
...
## Eliminated 建模方案
[建模方案 killed at each phase, with reasons]
## Refined Proposal
- Proposal: `refine-logs/FINAL_PROPOSAL.md`
- Experiment plan: `refine-logs/SOLVE_PLAN.md`
- Tracker: `refine-logs/SOLVE_TRACKER.md`
## Next Steps
- [ ] /run-solver to deploy experiments from the plan
- [ ] /auto-optimize-loop to iterate until 可提交
- [ ] Or invoke /mathmodel-pipeline for the complete end-to-end flow
Skip entirely if COMPACT is false.
Write MODEL_CANDIDATES.md — a lean summary of the top 3-5 surviving 建模方案:
# 建模方案候选
| # | 建模方案 | 验证 Signal | 可行性 | Reviewer Score | Status |
|---|------|-------------|---------|---------------|--------|
| 1 | [title] | +X% | Confirmed | X/10 | RECOMMENDED |
| 2 | [title] | +Y% | Confirmed | X/10 | BACKUP |
| 3 | [title] | Negative | — | — | ELIMINATED |
## Active 建模方案: #1 — [title]
- Hypothesis: [one sentence]
- Key evidence: [验证 result]
- Next step: /solve-bridge or /model-refine
This file is intentionally small (~30 lines) so downstream skills and session recovery can read it without loading the full MODEL_REPORT.md (~200+ lines).
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.
Don't skip phases. Each phase filters and validates — skipping leads to wasted effort later.
Checkpoint between phases. Briefly summarize what was found before moving on.
Kill 建模方案 early. It's better to kill 10 bad 建模方案 in Phase 3 than to implement one and fail.
Empirical signal > theoretical appeal. An 建模方案 with a positive 验证 outranks a "sounds great" 建模方案 without evidence.
Document everything. Dead ends are just as valuable as successes for future reference.
Be honest with the reviewer. Include negative results and failed 验证s in the review prompt.
Feishu notifications are optional. If ~/.claude/feishu.json exists, send checkpoint at each phase transition and pipeline_done at final report. If absent/off, skip silently.
After this pipeline produces a validated top 建模方案:
/modeling-discovery "direction" ← you are here (Workflow 1, includes method refinement + experiment planning)
/run-solver ← deploy experiments from the plan
/auto-optimize-loop "top 建模方案" ← Workflow 2: iterate until 可提交
Or use /mathmodel-pipeline for the full end-to-end flow.
数据清洗、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.