Guide · Agent skill
How to use the Self-Improvement Loops agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
The self-improvement-loops skill is a design playbook for AI agent systems where the agent's own harness, prompts, workflow, or context-generating mechanism is the thing being automatically improved. It is advice and structure for building those loops, not a tool that runs one. After this guide you will know how to install the skill, how to ask for it in plain language, and what it will steer you toward when designing an improvement loop.
Quick start
- 1Download the ZIP. Download the self-improvement-loops skill ZIP from this directory page.
- 2Unzip into a skills folder. Unzip it into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder for one project.
- 3Or upload in the Claude apps. In the Claude apps, open Settings, go to Capabilities, then Skills, and upload the ZIP.
- 4Describe your loop in plain words. Ask for help with a recursive self-improvement, meta-harness or acceptance-gate design problem in your own terms.
- 5Check the rung and the gate. Have the agent identify which optimization rung the failure belongs to and how candidates should be accepted on held-in and held-out splits.
- 6Route governance and evaluation work. Use harness-engineering for single-loop governance and evaluation for quality gates when those topics come up.
What an agent skill is and what this one does
An agent skill is a folder with a SKILL.md file that an agent such as Claude loads when a request matches the skill's description. The skill adds instructions and reference material to the agent's working context for that task.
This skill applies when the harness, scaffold, workflow, or optimizer is the optimization target. It covers recursive self-improvement (RSI) loops, meta-harnesses, evolutionary search over agent scaffolds, acceptance gates for self-modifying systems, and context mechanisms that are versioned and evolved.
- Helps you pick the level at which to fix a recurring failure, from instruction prompts up to optimizer code.
- Explains how to keep the scoring signal out of the optimizer's reach so it cannot game the metric.
- Explains how to accept self-edits only when measured results show no regressions on a held-out split.
- Covers diversity preservation and archiving of candidates so evolutionary loops do not collapse.
Install the self-improvement-loops skill
Download the skill ZIP from this directory page. Unzip it into your personal skills folder at ~/.claude/skills/, or into a project's .claude/skills/ folder if you want the skill available only in that project.
You can also upload the ZIP in the Claude apps under Settings → Capabilities → Skills.
- Personal install: unzip into ~/.claude/skills/
- Project install: unzip into the project's .claude/skills/ folder
- Claude apps: Settings → Capabilities → Skills, then upload the ZIP
Trigger the skill with natural requests
You do not need a special command. Describe the design problem in plain words and mention the kind of loop you are building. The skill's description lists the triggers: recursive self-improvement, meta-harnesses, self-improving harnesses that propose bounded edits, evolutionary search over scaffolds, acceptance gates, and agentic context evolution.
If your request is about governing a single autonomous loop, the skill will route you elsewhere. Governance topics such as locked surfaces, durable logs, rollback and approval boundaries belong to harness-engineering, and evaluator design belongs to evaluation.
- Example: "Design an acceptance gate for an agent that edits its own prompts."
- Example: "Our meta-agent proposes harness code changes. How should we pick parents so the population does not collapse?"
- Example: "Diagnose why our self-improvement loop's score rises while its edit diffs are empty."
What the skill tells the agent to do
The skill organises design around an optimization ladder. Fix a recurring failure at the lowest rung that can express the fix, and move up only when failure clusters persist across candidates.
It stresses that the outside-the-loop invariant must hold. The evaluator, permission control and budget enforcement must live outside anything the loop can modify, and constraints written in prompt text get evolved away.
Acceptance is empirical. A held-in split checks the targeted weakness, a held-out split checks for regressions, and candidates that trade one split against the other are rejected even if their sum improves. Rejected candidates are logged with evidence.
- Rungs: instruction prompts, structured context, context mechanism, workflow graph, harness code, optimizer code.
- Track edit diffs, not only scores, to catch a broken improver that silently returns its input unchanged.
- Store candidates as directories with source, scores and raw traces, and let the proposer search them rather than receiving summaries.
Safety notes: scripts and network
According to the skill metadata, this skill runs no scripts and uses no network access, and it lists no required tools or packages. It is documentation the agent reads, so installing it does not add executable code to your system.
The loops you design with it are a different matter. A self-modifying loop can exploit weak scoring, so the skill advises enforcing budgets, permissions and sandbox boundaries at the OS or container level, not in prompt text.
- Runs scripts: no
- Uses network: no
- Requires: nothing listed
- Sandbox the loop you build at the OS or container level; do not rely on framework permission gates alone.
- Treat any detected exploit as a failed candidate, not a high score.
Tips for getting useful output
Give the agent your concrete failure cases and your current metric. The skill is most useful when it can reason about a specific gap between the metric and your intent.
Ask for a capability validation before enabling recursion. The skill recommends running a fixed number of iterations on a held-out task set and counting the loop as net-negative if the trajectory declines.
Check the reference file loop-design-evidence.md for per-system evidence. Its numbers are dated and the file says to revalidate them before quoting them as current.
- State which rung your failure sits at and whether it persists across candidates.
- Ask how to hide the scoring implementation from the proposer.
- Do not quote the evidence figures without checking them against current sources.
What people use it for
- Designing a self-revision loop where an agent proposes bounded edits to its own harness based on mined failure patterns.
- Setting acceptance criteria so a self-modifying prompt change is kept only when a held-out split shows no regressions.
- Diagnosing an evolutionary search over agent workflows whose population has converged on near-identical variants.
- Deciding whether a recurring failure should be fixed with a context change or a deeper harness code change.
Frequently asked questions
How do I install the self-improvement-loops skill?
Download the skill ZIP from this page and unzip it into ~/.claude/skills/ for personal use or into a project's .claude/skills/ folder. You can also upload the ZIP in the Claude apps under Settings → Capabilities → Skills.
What does the self-improvement-loops skill require?
The metadata lists no requirements. It runs no scripts and uses no network access, so it is a reference document the agent reads.
Is the self-improvement-loops skill free?
The skill is published under the MIT licence, as listed on this page. The source does not mention pricing.
Is this skill a tool that runs a self-improving agent for me?
No. The skill is design advice and structure for building self-improvement loops. It does not run a loop by itself, and for governing a single autonomous loop the skill points you to harness-engineering.
When should I use a different skill instead?
Use harness-engineering for locked surfaces, durable logs, rollback and approval boundaries on one loop. Use evaluation for building quality gates, advanced-evaluation for judge design, and hosted-agents for remote sandbox infrastructure.
What is reward hacking and how does this skill help?
Reward hacking is when an optimizer exploits gaps between its metric and your intent. The skill advises keeping the evaluator outside the modifiable surface, hiding scoring code from the proposer, and treating detected exploits as failed candidates.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
Use this skill if you are building recursive self-improvement, meta-harness or evolutionary agent experiments and need a disciplined design reference for acceptance gates and anti-gaming. Skip it if you only need to run one autonomous agent with logging and approvals, need a ready-made product, or only want one-off prompt or token tuning without an improvement loop.
Download the skill