Setup

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

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

Set up a new autoresearch experiment interactively. Collects domain, target file, eval command, metric, direction, and evaluator. Use when the user runs /ar:setup or asks to start optimizing a file with the autoresearch loop.

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

透過收集領域、目標檔案、評估指令、指標、方向與評估器來設定新的自動研究實驗。

功能
此技能以互動方式或透過命令列參數設定新的自動研究實驗。它會收集領域、實驗名稱、目標檔案、評估指令、指標、最佳化方向、評估器與儲存範圍等參數,接著回報實驗路徑、分支名稱與基準指標。它也能列出既有實驗與可用的內建評估器。
適用情境
在開始新的自動研究最佳化實驗時,或使用者執行 /ar:setup 時使用。它也用于檢視既有實驗或了解可用的內建評估器。
執行需求
需要技能中引用的 setup_experiment.py 指令碼、Python 執行環境,以及針對目標檔案可用的評估指令。此技能本身不隨附指令碼,僅為說明文件。

/ar:setup — Create New Experiment

Set up a new autoresearch experiment with all required configuration.

Usage

/ar:setup                                    # Interactive mode/ar:setup engineering api-speed src/api.py "pytest bench.py" p50_ms lower/ar:setup --list                             # Show existing experiments/ar:setup --list-evaluators                  # Show available evaluators

What It Does

If arguments provided

Pass them directly to the setup script:

bash
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:

  1. Domain — Ask: "What domain? (engineering, marketing, content, prompts, custom)"
  2. Name — Ask: "Experiment name? (e.g., api-speed, blog-titles)"
  3. Target file — Ask: "Which file to optimize?" Verify it exists.
  4. Eval command — Ask: "How to measure it? (e.g., pytest bench.py, python evaluate.py)"
  5. Metric — Ask: "What metric does the eval output? (e.g., p50_ms, ctr_score)"
  6. Direction — Ask: "Is lower or higher better?"
  7. Evaluator (optional) — Show built-in evaluators. Ask: "Use a built-in evaluator, or your own?"
  8. Scope — Ask: "Store in project (.autoresearch/) or user (~/.autoresearch/)?"

Then run setup_experiment.py with the collected parameters.

Listing

bash
# Show existing experimentspython {skill_path}/scripts/setup_experiment.py --list
# Show available evaluatorspython {skill_path}/scripts/setup_experiment.py --list-evaluators

Built-in Evaluators

NameMetricUse Case
benchmark_speedp50_ms (lower)Function/API execution time
benchmark_sizesize_bytes (lower)File, bundle, Docker image size
test_pass_ratepass_rate (higher)Test suite pass percentage
build_speedbuild_seconds (lower)Build/compile/Docker build time
memory_usagepeak_mb (lower)Peak memory during execution
llm_judge_contentctr_score (higher)Headlines, titles, descriptions
llm_judge_promptquality_score (higher)System prompts, agent instructions
llm_judge_copyengagement_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."

來源與署名

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

授權條款: 無授權條款

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

檢舉或申請下架