ar-run
它能做什么
这项技能运行自动化实验的一个受控回合。适合希望一次只尝试一项谨慎修改、并观察其是否有帮助的人。
适用场景
- ✓当你想对某个文件尝试一项改进并测量结果的时候。
- ✓当你想手动运行实验的单个步骤,而不是按计划运行的时候。
- ✓当你希望智能体避免重复已经失败的做法时。
技能链接
https://github.com/alirezarezvani/claude-skills/blob/main/engineering/autoresearch-agent/skills/ar-run/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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.
热度
- GitHub 星标
- 29k
- 排名
- #9538
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-launcher-orchestrator
29k帮你的智能体从一个清晰的目标出发,逐步规划、构建、测试并定时运行你自己账户中的 Claude 托管智能体。
grade-iterate
29k让你的智能体按评分标准为托管 AI 智能体的工作打分,并在固定的轮次内改进,因此它永远不会无限循环。
interview
29k让你的智能体就一个 AI 智能体的想法对你进行访谈,并在任何上线之前,把你的回答整理成一份简单的构建计划。
run-without-you
29k帮你的智能体设置托管 AI 智能体,使其按计划或在某个事件发生时运行,并在启动前检查定时设置。