Skip to content
Skillpedia
General coding41k Β· #7024

self-improve

What it does

This skill runs an automated loop that tries several improvements to a project and keeps the ones that perform best. It is for people who want measurable, repeated improvement and are comfortable with the agent running on its own.

When to use it

  • βœ“When you want a benchmark-driven improvement loop run on a project.
  • βœ“When you want several candidate changes tested and only the best kept.
  • βœ“When you want a record of each improvement round.

Skill link

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/self-improve/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/Yeachan-Heo/oh-my-claudecode/blob/main/skills/self-improve/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 an improvement loop on this project using our benchmark command, and keep the best version with a log of each round.”

5 new skills a week. 1 minute to read.

How it works

The agent confirms the project path and benchmark command with you first. It then runs research, planning and execution steps, tests the candidates, selects the best one, records each round, and stops only when a set stop condition is reached.

Technical content (original SKILL.md)

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

FAQ

Will it ask me questions during the loop?

Not during the loop. It asks you to confirm the repo path and benchmark command during setup, then runs on its own.

Does it install packages or change system settings?

No. The skill says it does not install packages or modify the system.

What stops the loop?

Only the stop conditions set for the run, such as a limit on rounds or a target result.

Details

Original description by the author

Autonomous evolutionary code improvement engine with tournament selection

repo: Yeachan-Heo/oh-my-claudecode

Popularity

GitHub stars
41k
Ranking position
#7024
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills