Skills for Real Engineers. Straight from my .agents directory.
self-improvement-loops
Agent skill frommuratcankoylan/Agent-Skills-for-Context-Engineering
This skill should be used when the harness, scaffold, workflow, or optimizer itself is the optimization target: recursive self-improvement (RSI) loops, meta-harnesses, self-improving harnesses that mine their own failures and propose bounded edits, evolutionary or population-based search over agent scaffolds, acceptance gates for self-modifying systems, and agentic context evolution where the mechanism that produces context is versioned and evolved. Route governance of a single autonomous loop (locked surfaces, durable logs, rollback, novelty gates, approval boundaries) to harness-engineering, measurement and quality-gate design to evaluation, judge design to advanced-evaluation, and remote sandbox infrastructure to hosted-agents.
How to install self-improvement-loops
npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering# or add only this skill to Claude Code: copy the folder
skills/self-improvement-loops/
# into
~/.claude/skills/self-improvement-loops/ (all projects)
.claude/skills/self-improvement-loops/ (one project)
1# Self-Improvement Loops23This skill covers systems where the harness is the artifact being optimized: an agent mines its own failures and edits its own scaffold, a meta-agent searches over harness code, a population of workflow candidates evolves against an evaluator, or the mechanism that produces context is itself versioned and improved. The design question shifts from "how do I control one loop" (harness-engineering) to "how do I let a loop rewrite parts of itself without corrupting the signal that steers it".45The controlling constraint across every published system: the loop optimizes whatever signal it is given, including the signal's own weaknesses. Design the loop assuming the optimizer will find every gap between the metric and the intent.67## When to Activate89Activate this skill when:1011- Building a loop where an agent proposes edits to its own harness, prompts, context playbook, or workflow based on mined failure patterns12- Designing meta-level search over harness or scaffold code: meta-agent search, tree search over workflow graphs, evolutionary program search with an LLM mutation operator13- Choosing acceptance criteria for any self-modifying agent system14- Evolving the mechanism that manages context (a skill, playbook, or context function) rather than hand-editing the context artifact15- Diagnosing a degenerating self-improvement loop: reward hacking, diversity collapse, context collapse, or silent stagnation16…
Excerpt shown under the repository's MIT license.
More skills in Agent-Skills-for-Context-Engineering
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
