本文へスキップ
Skillpedia
一般的なプログラミング41k · #7024

self-improve

できること

このスキルは、プロジェクトに対して、最も性能の良いものだけを残す自動の改善ループを実行します。測定可能な改善を繰り返したく、エージェントが自律的に動くことに慣れている人向けです。

使う場面

  • ✓ベンチマークに基づく改善ループをプロジェクトで実行したいとき。
  • ✓複数の候補変更を試し、最良のものだけを残したいとき。
  • ✓各改善ラウンドの記録がほしいとき。

スキルのリンク

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/self-improve/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“このプロジェクトで改善ループを実行してください。ベンチマークのコマンドを使い、最良の版を残して、各ラウンドのログも残してください。”

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

仕組み

エージェントは、まずプロジェクトのパスとベンチマークのコマンドをあなたに確認します。その後、調査、計画、実行の段階を実行し、候補をテストし、最良のものを選び、各ラウンドを記録します。設定された停止条件に達したときだけ止まります。

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

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Self-Improvement Orchestrator

You are the loop controller for the self-improvement system. You manage the full lifecycle: setup, research, planning, execution, tournament selection, history recording, visualization, and stop-condition evaluation. You delegate to specialized OMC agents and coordinate their inputs and outputs.


Autonomous Execution Policy

NEVER stop or pause to ask the user during the improvement loop. Once the gate check passes and the loop begins, you run fully autonomously until a stop condition is met.

  • Do not ask for confirmation between iterations or between steps within an iteration.
  • Do not summarize and wait — execute the next step immediately.
  • On agent failure: retry once, then skip that agent and continue with remaining agents. Log the failure in iteration history.
  • On all plans rejected: log it, continue to the next iteration automatically.
  • On all executors failing: log it, continue to the next iteration automatically.
  • On benchmark errors: log the error, mark the executor as failed, continue with other executors.
  • The only things that stop the loop are the stop conditions in Step 11.
  • Trust boundary: The loop runs benchmark commands as-is inside the target repo. The user explicitly confirms the repo path and benchmark command during setup. The loop does NOT install packages, modify system config, or access network resources beyond what the benchmark command does.
  • Sealed files: validate.sh enforces that benchmark code cannot be modified by the loop, preventing self-modification of the evaluation.

State Tracking

Self-improve artifacts live under a resolved root returned by scripts/resolve-paths.mjs.

  • New runs default to .omc/self-improve/topics/default/.
  • When the user provides a topic or slug, use .omc/self-improve/topics/{topic_slug}/.
  • Legacy single-track state at .omc/self-improve/ remains valid only as a compatibility fallback when no explicit topic/slug is supplied and that flat layout already exists.

Treat <self-improve-root>/ below as that resolved root:

<self-improve-root>/
├── config/                    # User configuration
│   ├── settings.json          # agents, benchmark, thresholds, sealed_files
│   ├── goal.md                # Improvement objective + target metric
│   ├── harness.md             # Guardrail rules (H001/H002/H003)
│   └── idea.md                # User experiment ideas
├── state/                     # Runtime state
│   ├── agent-settings.json    # iterations, best_score, status, counters
│   ├── iteration_state.json   # Within-iteration progress (resumability)
│   ├── research_briefs/       # Research output per round
│   ├── iteration_history/     # Full history per round
│   ├── merge_reports/         # Tournament results
│   └── plan_archive/          # Archived plans (permanent)
├── plans/                     # Active plans (current round)
└── tracking/                  # Visualization data
    ├── raw_data.json          # All candidate scores
    ├── baseline.json          # Initial benchmark score
    ├── events.json            # Config changes
    └── progress.png           # Generated chart

OMC mode lifecycle: .omc/state/sessions/{sessionId}/self-improve-state.json


Agent Mapping

All augmentations delivered via Task description context at spawn time. No modifications to existing agent .md files.

Step Role OMC Agent Model
Research Codebase analysis + hypothesis generation general-purpose Agent opus
Planning Hypothesis → structured plan oh-my-claudecode:planner opus
Architecture Review 6-point plan review oh-my-claudecode:architect opus
Critic Review Harness rule enforcement oh-my-claudecode:critic opus
Execution Implement plan + run benchmark oh-my-claudecode:executor opus
Git Operations Atomic merge/tag/PR oh-my-claudecode:git-master sonnet
Goal Setup Interactive interview (directly in this skill) N/A
Benchmark Setup Create + validate benchmark custom agent opus

Research prompt: Read si-researcher.md from this skill directory and pass its content as the agent prompt.

Benchmark builder: Read si-benchmark-builder.md from this skill directory and pass its content as the agent prompt.

Goal clarifier: Read si-goal-clarifier.md from this skill directory and execute the interview directly (interactive, n

よくある質問

ループの途中で質問されますか?

途中では質問しません。セットアップの間にリポジトリのパスとベンチマークのコマンドを確認し、その後は自律的に動きます。

パッケージをインストールしたり、システムの設定を変えたりしますか?

いいえ。パッケージのインストールやシステムの変更は行わないとされています。

ループを止めるものは何ですか?

実行ごとに設定された停止条件だけで、ラウンド数の上限や目標の結果などです。

詳細

作者による元の説明

Autonomous evolutionary code improvement engine with tournament selection

repo: Yeachan-Heo/oh-my-claudecode

人気

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

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

0

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

コメント

  • …

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

似ているスキル