Ar Run skill for Claude

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

Ar Run SKILL.md

The full skill file from alirezarezvani/claude-skills (MIT).

/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.

How to install Ar Run

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/ar-run#main ~/.claude/skills/ar-run

Codex

npx degit alirezarezvani/claude-skills/engineering/autoresearch-agent/skills/ar-run#main ~/.codex/skills/ar-run

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Ar Run skill do?

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

+How do I install Ar Run in Claude Code?

Copy the skill folder into ~/.claude/skills/ar-run, for example with "npx degit alirezarezvani/claude-skills/engineering/autoresearch-agent/skills/ar-run#main ~/.claude/skills/ar-run". Claude Code loads it automatically and uses it when a task matches.

+Does Ar Run work with ChatGPT or Codex?

Yes. Ar Run uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/ar-run. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Ar Run free?

Ar Run is published on GitHub by alirezarezvani under the MIT license, which allows free use.

Related software development skills

  1. Code Review

    Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's…

    mattpocock/skills★ 327k
  2. Using Agent Skills

    Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece of…

    addyosmani/agent-skills★ 119k
  3. Build

    Fully automate a coding task with make-plan, do, and babysit.

    thedotmack/claude-mem★ 118k
  4. Ar Status

    Show autoresearch results and progress. Use when asked how an experiment runs, or /ar-status.

    alirezarezvani/claude-skills★ 30k
  5. Autoresearch Agent

    Make a file measurably better by trial: faster code, smaller bundle, higher pass rate or prompt score.

    alirezarezvani/claude-skills★ 30k
  6. Behuman

    Reply like a real person, direct and warm, without lists or hedging.

    alirezarezvani/claude-skills★ 30k
  7. Changelog Generator

    Write release notes and CHANGELOG.md from commits and pick the next semver version.

    alirezarezvani/claude-skills★ 30k
  8. Code Reviewer

    Use for any code review: a pull request, a diff, a commit, or a pasted function, handler or file in TypeScript, JavaScript, Python, Go,…

    alirezarezvani/claude-skills★ 30k
  9. Code To Prd

    Use when asked to write a PRD or product spec from an existing codebase (reverse-engineer requirements, document pages, fields, routes and…

    alirezarezvani/claude-skills★ 30k

See all software development skills →

More skills from alirezarezvani

  1. Arquiteto De Empresa

    Use when a founder wants to document or design a whole company as version-controlled markdown (company as code, a company wiki agents can…

    alirezarezvani/claude-skills★ 30k
  2. Atlassian Admin

    Use for Atlassian org administration: Jira or Confluence users and groups, permissions, SSO, marketplace apps or security policy.

    alirezarezvani/claude-skills★ 30k

All skills by alirezarezvani →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.