Skip to content
Skillpedia
Agents29k · #9538

ar-run

What it does

This skill runs a single controlled round of an automated experiment. It is for people who want to try one careful change at a time and see whether it helps.

When to use it

  • ✓When you want to try one improvement to a file and measure the result.
  • ✓When you want to run a single step of an experiment by hand instead of on a schedule.
  • ✓When you want the agent to avoid repeating approaches that already failed.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/alirezarezvani/claude-skills/blob/main/engineering/autoresearch-agent/skills/ar-run/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Run one more iteration of the api-speed experiment and tell me whether the change helped.”

5 new skills a week. 1 minute to read.

How it works

The agent reads the experiment settings and history, decides on one change to the target file based on what has worked, commits it and runs the evaluation. It keeps the change if the result improves and discards it otherwise.

Technical content (original SKILL.md)

Original text by the author, straight from 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.
FAQ

Does it make many changes at once?

No. The skill asks for exactly one change per run, so results are easy to read.

How does it choose what to try?

It looks at which past changes were kept and discarded, and it tries bolder ideas as the run count grows.

What if no experiment is given?

It lists the available experiments and asks you to pick one.

Details

Original description by the author

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

repo: alirezarezvani/claude-skills

Popularity

GitHub stars
29k
Ranking position
#9538
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills