setup
它能做什么
这项技能为新的自动化实验创建配置。适合希望开始让某个文件朝可测量目标改进的人。
适用场景
- ✓当你想在某个文件上启动新的自动研究实验的时候。
- ✓当你想查看哪些实验已经存在的时候。
- ✓当你想选择内置评估器来衡量结果的时候。
技能链接
https://github.com/alirezarezvani/claude-skills/blob/main/engineering/autoresearch-agent/skills/setup/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请设置一个实验,使用 pytest bench.py 降低 src/api.py 的 p50 延迟。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会询问领域、实验名称、目标文件、评测命令、指标和方向,或从你的命令中获取这些信息。然后它创建实验设置,并可列出已有实验或内置评估器。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
/autoresearch-agent:setup — Create New Experiment
Set up a new autoresearch experiment with all required configuration.
Usage
/autoresearch-agent:setup # Interactive mode
/autoresearch-agent:setup engineering api-speed src/api.py "pytest bench.py" p50_ms lower
/autoresearch-agent:setup --list # Show existing experiments
/autoresearch-agent:setup --list-evaluators # Show available evaluators
What It Does
If arguments provided
Pass them directly to the setup script:
python {skill_path}/scripts/setup_experiment.py \
--domain {domain} --name {name} \
--target {target} --eval "{eval_cmd}" \
--metric {metric} --direction {direction} \
[--evaluator {evaluator}] [--scope {scope}]
If no arguments (interactive mode)
Collect each parameter one at a time:
- Domain — Ask: "What domain? (engineering, marketing, content, prompts, custom)"
- Name — Ask: "Experiment name? (e.g., api-speed, blog-titles)"
- Target file — Ask: "Which file to optimize?" Verify it exists.
- Eval command — Ask: "How to measure it? (e.g., pytest bench.py, python evaluate.py)"
- Metric — Ask: "What metric does the eval output? (e.g., p50_ms, ctr_score)"
- Direction — Ask: "Is lower or higher better?"
- Evaluator (optional) — Show built-in evaluators. Ask: "Use a built-in evaluator, or your own?"
- Scope — Ask: "Store in project (.autoresearch/) or user (~/.autoresearch/)?"
Then run setup_experiment.py with the collected parameters.
Listing
# Show existing experiments
python {skill_path}/scripts/setup_experiment.py --list
# Show available evaluators
python {skill_path}/scripts/setup_experiment.py --list-evaluators
Built-in Evaluators
| Name | Metric | Use Case |
|---|---|---|
benchmark_speed |
p50_ms (lower) |
Function/API execution time |
benchmark_size |
size_bytes (lower) |
File, bundle, Docker image size |
test_pass_rate |
pass_rate (higher) |
Test suite pass percentage |
build_speed |
build_seconds (lower) |
Build/compile/Docker build time |
memory_usage |
peak_mb (lower) |
Peak memory during execution |
llm_judge_content |
ctr_score (higher) |
Headlines, titles, descriptions |
llm_judge_prompt |
quality_score (higher) |
System prompts, agent instructions |
llm_judge_copy |
engagement_score (higher) |
Social posts, ad copy, emails |
After Setup
Report to the user:
- Experiment path and branch name
- Whether the eval command worked and the baseline metric
- Suggest: "Run
/ar-run {domain}/{name}to start iterating, or/ar-loop {domain}/{name}for autonomous mode."
常见问题
我可以使用哪些领域?
该技能建议工程、营销、内容、提示词,或自定义名称。
它会检查目标文件是否存在吗?
会。在交互模式下,它会在继续之前核实目标文件。
我能看到可用的评估器吗?
能。有一个选项可以列出内置评估器。
详情
作者的原始描述
Use for /autoresearch-agent:setup, or to start a new autoresearch experiment: target, eval command, metric, direction, evaluator.
热度
- GitHub 星标
- 29k
- 排名
- #9541
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-launcher-orchestrator
29k帮你的智能体从一个清晰的目标出发,逐步规划、构建、测试并定时运行你自己账户中的 Claude 托管智能体。
grade-iterate
29k让你的智能体按评分标准为托管 AI 智能体的工作打分,并在固定的轮次内改进,因此它永远不会无限循环。
interview
29k让你的智能体就一个 AI 智能体的想法对你进行访谈,并在任何上线之前,把你的回答整理成一份简单的构建计划。
run-without-you
29k帮你的智能体设置托管 AI 智能体,使其按计划或在某个事件发生时运行,并在启动前检查定时设置。