Run

alirezarezvani/claude-skills/engineering/autoresearch-agent/skills/run

作者 alirezarezvani19392f7a08264ed00486a251f5b2098321771f94無授權條款27K 個星標收錄於 2026年10月9日更新於 2026年10月9日儲存庫5 週前更新

Run a single experiment iteration. Edit the target file, evaluate, keep or discard. Use when the user runs /ar:run or asks for one manual autoresearch iteration.

僅含說明AI & Agents
AI 產生的概覽

執行一次手動自動研究實驗迭代:檢視歷史、做一處修改、提交、評估,並保留或丟棄結果。

功能
此技能會執行自動化研究迴圈中的單次迭代。它會解析實驗、載入設定、策略說明與結果歷史,切換到實驗分支,決定一處變更,編輯目標檔案並提交,然後執行評估指令碼。接著回報結果是保留、丟棄還是崩潰,並定期更新程式說明中的策略部分。
適用情境
當使用者執行 /ar:run 或要求進行一次手動自動研究迭代時使用。它適合針對評估器反覆迭代目標檔案並跨多次執行追蹤結果的工作流程。
執行需求
需要 git 與 Python,以及已存在的 .autoresearch 實驗目錄,其中包含 config.cfg、program.md 和 results.tsv。它會引用 setup_experiment.py 與 run_experiment.py 指令碼,但此技能本身不附帶指令碼,僅為說明文件。

/ar:run — Single Experiment Iteration

Run exactly ONE experiment iteration: review history, decide a change, edit, commit, evaluate.

Usage

/ar:run engineering/api-speed              # Run one iteration/ar:run                                     # List experiments, let user pick

What It Does

Step 1: Resolve experiment

If no experiment specified, run python {skill_path}/scripts/setup_experiment.py --list and ask the user to pick.

Step 2: Load context

bash
# Read experiment configcat .autoresearch/{domain}/{name}/config.cfg
# Read strategy and constraintscat .autoresearch/{domain}/{name}/program.md
# Read experiment historycat .autoresearch/{domain}/{name}/results.tsv
# Checkout the experiment branchgit checkout autoresearch/{domain}/{name}

Step 3: Decide what to try

Review results.tsv:

  • What changes were kept? What pattern do they share?
  • What was discarded? Avoid repeating those approaches.
  • What crashed? Understand why.
  • How many runs so far? (Escalate strategy accordingly)

Strategy escalation:

  • Runs 1-5: Low-hanging fruit (obvious improvements)
  • Runs 6-15: Systematic exploration (vary one parameter)
  • Runs 16-30: Structural changes (algorithm swaps)
  • Runs 30+: Radical experiments (completely different approaches)

Step 4: Make ONE change

Edit only the target file specified in config.cfg. Change one thing. Keep it simple.

Step 5: Commit and evaluate

bash
git add {target}git commit -m "experiment: {short description of what changed}"
python {skill_path}/scripts/run_experiment.py \  --experiment {domain}/{name} --single

Step 6: Report result

Read the script output. Tell the user:

  • KEEP: "Improvement! {metric}: {value} ({delta} from previous best)"
  • DISCARD: "No improvement. {metric}: {value} vs best {best}. Reverted."
  • CRASH: "Evaluation failed: {reason}. Reverted."

Step 7: Self-improvement check

After every 10th experiment (check results.tsv line count), update the Strategy section of program.md with patterns learned.

Rules

  • ONE change per iteration. Don't change 5 things at once.
  • NEVER modify the evaluator (evaluate.py). It's ground truth.
  • Simplicity wins. Equal performance with simpler code is an improvement.
  • No new dependencies.

來源與署名

來源:alirezarezvani/claude-skills位於engineering/autoresearch-agent/skills/run提交19392f7

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架