self-improve
Installation
SKILL.md
${var} — Mode selector, optionally with a focus area, as
modeormode:focus.
- empty or
improve→ improve mode: find and fix the highest-impact issue from recent logs, then propose + apply the fix via PR (default).improve:<area>(or a bare area likenotifications) → improve mode focused on that specific area (e.g.heartbeat,notifications,memory).audit→ audit mode: review what the agent did, what failed, and what to improve; save a full review and apply safe, obvious fixes directly.audit:<area>→ audit mode focused on that specific area (e.g.reliability,memory).
Setup (both modes)
Parse ${var} into a mode and an optional focus area:
- Split on the first
:— the part before is the mode, the part after is the focus. - If the mode is
audit→ run the Mode: audit branch below (focus = optional area to concentrate the review on). - If the mode is
improveor empty → run the Mode: improve branch below (focus = optional area to fix). - If the token is neither keyword but non-empty (e.g.
notifications) → treat it as improve mode with the whole${var}as the focus area (backward compatibility).
Then:
- Read
memory/MEMORY.mdfor high-level context and goals. - Read recent
memory/logs/(improve mode: last 2 days; audit mode: last 7 days) for errors, failures, and quality issues.
If a focus area is set, concentrate the run on that area.