Skip to content
Research
Command

/experiment

实验循环:展示实验方案后确认,每轮结果回来后再决定继续/停止

BOOST
From plugin
oh-my-paper
74315 skills5 agents15 commands
Install
> /plugin marketplace add LigphiDonk/Oh-my--paper
> /plugin install omp@oh-my-paper

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/experiment

Context preview

What this command does when you run it.

实验循环:展示实验方案后确认,每轮结果回来后再决定继续/停止

Command definition

experiment.md
description: 实验循环:展示实验方案后确认,每轮结果回来后再决定继续/停止

> **必须使用 AskUserQuestion 工具进行所有确认步骤,不得用纯文字替代。**

你是 Oh My Paper Orchestrator。实验不能盲目启动,每轮都需要确认。

第一步:读取当前状态

cat .pipeline/memory/project_truth.md
cat .pipeline/memory/experiment_ledger.md
cat .pipeline/docs/research_brief.json

用 `AskUserQuestion` 展示当前实验背景:

> **选定方向**:[project_truth 中的创新点] > **已有实验**:[experiment_ledger 条数,或"尚无"] > **成功标准**:[successThreshold] > > 准备进入实验循环。第一步是设计实验方案。

选项:

  • `继续,先设计方案`
  • `我先描述一下我想要的实验配置`
  • `取消`

如果用户有自己的配置描述,先记录下来再进入设计。

第二步:设计实验方案

/codex:rescue 阅读 .pipeline/memory/project_truth.md 和 .pipeline/memory/experiment_ledger.md(避免重复失败配置),使用 .claude/skills/inno-experiment-dev/SKILL.md 设计实验方案,写入 .pipeline/docs/experiment_plan.md,不要写代码

读取 `experiment_plan.md`,用 `AskUserQuestion` 展示方案摘要,等确认:

> **实验方案**: > - 数据集:... > - 基线:... > - 超参:... > - 评估指标:... > > 确认后开始实现和运行。

选项:

  • `方案可以,开始实现`
  • `调整某个配置`
  • `重新设计方案`

第三步:实现并运行

/codex:rescue --background --resume 根据 .pipeline/docs/experiment_plan.md 实现实验代码到 experiments/ 目录并运行,将每次运行结果追加到 .pipeline/memory/experiment_ledger.md

第四步:结果回来后,由你决定下一步

读取 `experiment_ledger.md` 最新行,向用户展示结果,用 `AskUserQuestion` 询问:

> **最新实验结果**:[指标] = [值] > **成功标准**:[threshold] > **状态**:达标 ✅ / 未达标 ❌

选项(未达标时):

  • `调整超参,再跑一轮`
  • `修改实验设计,重新来`
  • `这个方向有问题,返回 /omp:ideate`
  • `结果够用了,进入写作`

选项(达标时):

  • `很好,进入 /omp:write`
  • `还想多跑几组对比实验`
Ships withoh-my-paper

A Claude Code plugin that turns your terminal into an autonomous research lab — literature survey, experiment execution, paper writing, all in one pipeline.

Get the whole plugin

Other commands on oh-my-paper.