跳到正文
Skillpedia
智能体29k · #9538

ar-run

它能做什么

这项技能运行自动化实验的一个受控回合。适合希望一次只尝试一项谨慎修改、并观察其是否有帮助的人。

适用场景

  • ✓当你想对某个文件尝试一项改进并测量结果的时候。
  • ✓当你想手动运行实验的单个步骤,而不是按计划运行的时候。
  • ✓当你希望智能体避免重复已经失败的做法时。

技能链接

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/autoresearch-agent/skills/ar-run/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/alirezarezvani/claude-skills/blob/main/engineering/autoresearch-agent/skills/ar-run/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为 api-speed 实验再运行一次迭代,并告诉我这项修改是否有帮助。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会读取实验设置和历史,根据哪些做法有效,决定对目标文件做一项修改,提交它并运行评估。如果结果有所改进就保留该修改,否则丢弃。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

/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

# Read experiment config
cat .autoresearch/{domain}/{name}/config.cfg

# Read strategy and constraints
cat .autoresearch/{domain}/{name}/program.md

# Read experiment history
cat .autoresearch/{domain}/{name}/results.tsv

# Checkout the experiment branch
git 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

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.
常见问题

它会一次做很多修改吗?

不会。该技能要求每次运行只做一项修改,以便结果容易解读。

它如何选择要尝试的内容?

它会查看过去哪些修改被保留、哪些被丢弃,并随着运行次数增加尝试更大胆的想法。

如果没有给出实验怎么办?

它会列出可用的实验,并请你选择一个。

详情

作者的原始描述

Use for /ar-run, or to run one manual autoresearch iteration: edit, evaluate, keep or discard.

repo: alirezarezvani/claude-skills

热度

GitHub 星标
29k
排名
#9538
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能