Setup skill for Claude
The Claude code setup skill by alirezarezvani: Use for /autoresearch-agent:setup, or to start a new autoresearch experiment: target, eval command, metric, direction, evaluator.
Setup SKILL.md
The full skill file from alirezarezvani/claude-skills (MIT).
/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."
How to install the Claude code setup skill
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit alirezarezvani/claude-skills/engineering/autoresearch-agent/skills/setup#main ~/.claude/skills/setupCodex
npx degit alirezarezvani/claude-skills/engineering/autoresearch-agent/skills/setup#main ~/.codex/skills/setupClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What is the Claude code setup skill?
Use for /autoresearch-agent:setup, or to start a new autoresearch experiment: target, eval command, metric, direction, evaluator.
+How do I install the Claude skills setup?
Copy the skill folder into ~/.claude/skills/setup, for example with "npx degit alirezarezvani/claude-skills/engineering/autoresearch-agent/skills/setup#main ~/.claude/skills/setup". Claude Code loads it automatically and uses it when a task matches.
+Does Setup work with ChatGPT or Codex?
Yes. Setup uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/setup. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is Setup free?
Setup is published on GitHub by alirezarezvani under the MIT license, which allows free use.