一键导入
experiment-design
当 Owner 说"设计个实验""怎么验证这个 idea", 或 autoresearch 判断某个 developing/validated idea 需要实验验证时, 为 idea 设计完整实验方案
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
当 Owner 说"设计个实验""怎么验证这个 idea", 或 autoresearch 判断某个 developing/validated idea 需要实验验证时, 为 idea 设计完整实验方案
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate and rank research ideas given a broad direction. Use when user says "找idea", "brainstorm ideas", "generate research ideas", or "what can we work on".
当 Owner 说"记录一下实验结果""实验跑完了", 或 Researcher 完成一轮实验需要记录时, 在 Experiment 笔记中追加 Run Entry 并更新状态
当 Owner 说"分析一下实验结果", 或实验 status 变为 completed 后 autoresearch 自动调用, 分析实验数据并判断假设是否成立
当 Owner 说"写一下 introduction""起草 related work", 或 autoresearch 判断某 direction 已积累足够素材需要成文时, 起草论文或报告的指定章节
当 Owner 说"打磨一下""改改这段""逻辑不通顺", 或 autoresearch 在写作阶段自检时, 从结构/清晰度/论据三个维度打磨已有文稿
当积累了新的 validated insight、实验结果改变了方向判断、 或 Owner 说"更新研究方向""复盘 agenda"时, 根据记忆和发现演化研究议程
| name | experiment-design |
| description | 当 Owner 说"设计个实验""怎么验证这个 idea", 或 autoresearch 判断某个 developing/validated idea 需要实验验证时, 为 idea 设计完整实验方案 |
| argument-hint | <idea> [constraints] |
| allowed-tools | Read, Write, Edit, Glob, Grep |
experiment-design 是 MindFlow 从 idea 到实验的桥接技能。给定一个 status 为 developing 或 validated 的研究 idea,它综合 idea 的 hypothesis、历史记忆中的有效方法与失败方向,为其设计完整的实验方案,并按 Templates/Experiment.md 格式写入 Experiments/ 目录。
实验方案覆盖六个核心模块:
| 模块 | 内容 |
|---|---|
| Variables | 自变量 / 因变量 / 控制变量 |
| Baseline | 对比方法与来源 |
| Metrics | 可量化的评估指标 |
| Steps | 具体执行步骤 |
| Expected Outcome | 假设成立与不成立两种情况 |
| Risk & Mitigation | 主要风险点与应对方案 |
用 Read 打开 idea 参数指向的 Ideas/xxx.md 文件。重点提取以下字段:
title:idea 标题hypothesis:核心假设(实验围绕此展开)status:当前状态——必须为 developing 或 validated,否则立即停止执行并告知 Ownertags:所属 domain / 领域关键词related_papers:引用的 Paper 笔记列表若文件不存在,停止并告知 Owner,不继续执行。
读取 skills/5-evolution/memory-retrieve/SKILL.md,按其 Steps 执行,scope 设为 effective-methods + failed-directions,query 使用 idea 的 hypothesis 和 tags 关键词。
从检索结果中识别:
若记忆文件不存在或无相关条目,跳过此步,在实验方案中注明"无历史记忆参考"。
综合 Step 1 的 idea 内容、Step 2 的历史记忆、以及可选的 constraints 参数,逐一设计以下六个模块:
列举 2-4 个 baseline,每个 baseline 注明:
[[Papers/xxx]])若 constraints 中含"纯理论推导",可省略实验 baseline,改为理论分析对比。
列举 2-4 个指标,每个指标必须满足:
禁止使用无法量化的描述性指标(如"效果更好"、"更鲁棒")——必须转化为具体数值(如"success rate ↑ X%"、"BLEU-4 score")。
按时间顺序列出 4-8 个可执行步骤,每步包含:
若有 constraints(如"单卡 A100"),在 Steps 中体现对应的资源配置。
必须包含两种情况:
列举 2-3 个主要风险,每条注明:
优先纳入 Step 2 中识别的历史失败方向作为风险条目。
读取 Templates/Experiment.md,以其格式为基础,在 Experiments/ 目录下创建新文件。
文件命名规则:Experiments/YYYY-MM-DD-<IdeaTitle>.md(日期为今天,IdeaTitle 取 idea 的 title 字段,去除空格和特殊字符)。
Frontmatter 字段填写:
title:实验标题(可与 idea title 相同或更具体)idea:"[[Ideas/xxx]]"(关联源 idea)tags:从 idea 继承status:设为 planneddate_created:今天日期正文按 Step 3 的六模块内容填充各 section,具体对应:
## Objective:填写来自 hypothesis 的实验目标(1-3 句话)## Setup:从 Variables(控制变量)和 Steps(环境要求)提取## Method:填写 Steps(执行步骤)和 Baseline## Results:留空(实验完成后由 experiment-track 填写)## Analysis:留空## Insights:留空## Next Steps:填写 Expected Outcome 中"假设不成立"情况下的后续路径在文件末尾额外追加一个 ## Design Notes 节,包含 Variables 完整设计、Metrics、Expected Outcome(两种情况)、Risk & Mitigation,以保留完整实验设计细节。
用 Edit 在源 Idea 文件(Ideas/xxx.md)末尾追加以下格式的链接节:
## Experiments
- [[Experiments/YYYY-MM-DD-IdeaTitle]] — <一句话说明这个实验验证什么>
若 Idea 文件中已有 ## Experiments 节,在该节末尾追加新条目,不重建整个节。不修改 idea 的 hypothesis 字段或任何其他已有内容。
用 Edit(若文件不存在则先 Write)将以下 log entry 追加到 Workbench/logs/YYYY-MM-DD.md:
### [HH:MM] experiment-design
- **input**: [[Ideas/xxx]]
- **output**: [[Experiments/YYYY-MM-DD-IdeaTitle]]
- **hypothesis**: <一句话复述 idea 的 hypothesis>
- **primary-metric**: <主指标名称>
- **key-risk**: <最高优先级风险一句话>
- **status**: success
若日志文件不存在,先创建文件(一级标题 # YYYY-MM-DD),再追加 entry。
Experiments/YYYY-MM-DD-<IdeaTitle>.md 已创建,frontmatter status 为 plannedWorkbench/logs/YYYY-MM-DD.mdhypothesis 字段属于 idea-generate / idea-evaluate 的职责范围,experiment-design 只读取,绝不修改。developing 或 validated,立即停止,不执行任何写入操作。告知 Owner 当前 status 及建议(如先执行 idea-evaluate)。示例:为 VLA 相关 idea 设计实验
假设 Idea 文件为 Ideas/VLA-GoalConditionedRecovery.md,其关键字段为:
status: developinghypothesis: "在 VLA 策略中引入 goal-conditioned recovery module,可以在 distribution shift 情境下显著减少 task failure"tags: [VLA, robot-learning, recovery]执行过程:
Read Ideas/VLA-GoalConditionedRecovery.md — 确认 status=developing,提取 hypothesis 和 approach sketch(在 OpenVLA 基础上增加一个轻量 recovery head,输入 current state + goal image,输出 recovery action sequence)
执行 memory-retrieve(scope: effective-methods + failed-directions)— 检索到一条 effective-methods 条目:"reward shaping 在 manipulation task 上比直接 BC 收敛更稳定";检索到一条 failed-directions 条目:"直接 fine-tune 整个 VLA 做 recovery 导致 catastrophic forgetting"
设计六模块方案:
Variables
Baseline
OpenVLA([[Papers/2403-OpenVLA]]):无 recovery 机制的原始模型,直接对比SayCan + replanning([[Papers/2204-SayCan]]):基于 LLM replanning 的 failure recovery,代表现有主流方案Metrics
Steps
Expected Outcome
Risk & Mitigation
Read Templates/Experiment.md → Write Experiments/2026-03-28-VLA-GoalConditionedRecovery.md,填入上述方案,status=planned
Edit Ideas/VLA-GoalConditionedRecovery.md — 追加:
## Experiments
- [[Experiments/2026-03-28-VLA-GoalConditionedRecovery]] — 验证 goal-conditioned recovery module 在 OOD 扰动下的 task success rate 提升
Edit Workbench/logs/2026-03-28.md — 追加 log entry,primary-metric: task success rate on OOD test set,key-risk: recovery training set 规模不足导致过拟合