self-improve

Detects concrete weaknesses in a skill after it runs and drafts approval-gated improvement diffs.

14|1|Updated Jun 14, 2026
One-click install
npx skills add https://github.com/allemaar/open-skills --skill self-improve-allemaar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: self-improve
Source: https://github.com/allemaar/open-skills/tree/main/skills/self-improve
Command: npx skills add https://github.com/allemaar/open-skills --skill self-improve-allemaar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Skills that agents run repeatedly accumulate friction: ambiguous instructions, uncovered edge cases, misfired gates, and stale cross-references. Without a feedback loop, these flaws persist across every run. The Self-Improvement Protocol (SIP) turns each skill run into a chance to catch a concrete weakness and propose a specific fix, without ever auto-applying changes. ## Core Features & Use Cases - Signal-based detection: Fires only on concrete, material signals from the current run — ambiguity, uncovered edge cases, forced deviations, misfired rules, stale cross-references, or user corrections — and stays silent otherwise. - Specific diff drafting: Produces exact line-level changes to SKILL.md or protocol.yon with a one-line rationale, rather than vague suggestions. - Approval-gated surfacing: Routes every proposal through /ask-gate with approve/edit/decline options, never auto-applies, and deduplicates proposals within a session to avoid nag fatigue. - Use Case: After a planning skill forces the agent to improvise around an unhandled edge case, SIP detects the gap, drafts a new gate step for the skill, and surfaces it for the handler to approve before any file changes. ## Quick Start Run /self-improve after a skill completes, or invoke /self-improve [skill] to review a specific skill against its most recent run.

Frequently Asked Questions about self-improve

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I improve an AI agent skill based on its runs?

Invoke /self-improve after a skill completes, or /self-improve [skill] to target a specific skill's most recent run. The protocol detects concrete signals like ambiguity or uncovered edge cases and drafts a specific diff for you to approve, edit, or decline.

What signals trigger a self-improvement proposal?

Six concrete signals qualify: ambiguous instructions, uncovered edge cases, forced deviations from prescribed steps, misfired gates or rules, stale cross-references, and user corrections. The signal must also be material to the current run or recur at least twice in the session.

Does the self-improve protocol modify skill files automatically?

No, proposals are never auto-applied. Every suggested diff is surfaced through /ask-gate with approve, edit, or decline options, and changes are only written through the normal edit path after explicit handler approval.

How does a skill opt in to self-improvement checks?

A skill opts in by setting self-improvable: true in its frontmatter and adding a self-improvement pointer at the end of its SKILL.md body. Dual-document skills also add a closing step:sip step in protocol.yon after the next-skills step.

When should I use insight-skill-gap instead of self-improve?

Use insight-skill-gap for deliberate batch scans of recent work to find missing or outdated skills. Self-improve is the in-the-moment, per-skill detector that fires on concrete signals from a single run, and it delegates to insight-skill-gap when a pattern is bigger than one fix.