本文へスキップ
Skillpedia
エージェント29k · #9538

ar-run

できること

このスキルは、自動化された実験を一回だけ慎重に進めます。一度に一つの変更を試し、それが役立つかを確かめたい人を対象としています。

使う場面

  • ✓ファイルに一つの改善を試して、結果を測定したいとき。
  • ✓定期実行ではなく、実験の一段階を手動で実行したいとき。
  • ✓すでに失敗したやり方をエージェントに繰り返させたくないとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/alirezarezvani/claude-skills/blob/main/engineering/autoresearch-agent/skills/ar-run/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“api-speedの実験をもう一回実行してください。変更が役立ったかどうかを教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは実験の設定と履歴を読み、これまでの結果に基づいて対象ファイルへの変更を一つ決め、コミットして評価を実行します。結果が改善すれば変更を残し、そうでなければ捨てます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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.
よくある質問

一度に多くの変更を加えますか?

いいえ。スキルは一回の実行につき一つの変更を求めるため、結果が読み取りやすくなります。

何を試すかはどう決めますか?

過去にどの変更が残され、どれが捨てられたかを確認します。実行回数が増えるにつれて、より大胆な案を試します。

実験を指定しない場合はどうしますか?

利用可能な実験の一覧を表示し、どれかを選ぶように求めます。

詳細

作者による元の説明

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

repo: alirezarezvani/claude-skills

人気

GitHubのスター
29k
ランキング
#9538
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル