self-improve
БесплатноБез исполняемых скриптовНе проверенImprove the agent itself, or audit its recent performance - better skills, prompts, workflows, and config, plus a quality/reliability/memory-hygiene review of…
от aeonfun★ 801 звезда на GitHubОб этом скилле
${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.
Mode: improve (default)
Improve the agent itself based on recent performance. ONE change per run.
Steps
Check for open improvement PRs - don't pile up unreviewed work. Run the count as its own Bash call (see Shell shape in the Network note):
gh pr list --state open --json title,number --jq '[.[] | select(.title | test("^(fix|feat|chore)\\("; "i"))] | length'It prints OPEN_PRS. If there are already 3+ open improvement PRs, log "self-improve: 3+ open PRs, waiting for review" and exit. Don't create more debt.
Identify what to improve. If the focus area is empty, scan for issues:
- Read
memory/logs/from last 2 days — look for:- Skills that failed or produced low-quality output
- Errors, timeouts, "zero output", rate limiting
- Notifications that didn't send or were truncated
- Memory consolidation problems
- Read
memory/cron-state.jsonfor skills with low success rates - Read
output/articles/repo-actions-*.mdfrom last 7 days for self-improvement ideas - Pick the highest-impact, smallest-effort fix. One change per run.
- Read
Understand the area you're fixing. Read the relevant files:
- Skills:
skills/{name}/SKILL.md - Config:
aeon.yml - Workflows:
.github/workflows/*.yml - Agent instructions:
CLAUDE.md - Dashboard:
apps/dashboard/(if UI-related)
Understand the current behavior before changing anything.
- Skills:
Implement the fix. Make minimal, targeted changes:
- If a skill prompt is unclear → rewrite the ambiguous section
- If a skill is hitting rate limits → add backoff logic or reduce frequency
- If output quality is low → tighten the prompt, add examples, clarify format
- If a notification is broken → fix the formatting or truncation
- If a config is wrong → fix aeon.yml
Do NOT:
- Rewrite entire skills from scratch
- Add new features (that's create-skill's job)
- Change the core architecture
- Modify secrets or environment variables
4b. Dry-run gate. Before opening the PR, execute the improved skill once with synthetic secrets, so a regression never reaches production having run only with real credentials. Write the skill you edited in literally as <SKILL>. One call (the script's default verdict path is output/.dry-run/<SKILL>.json, so no DRYRUN_VERDICT= prefix is needed):
./scripts/dry-run.sh run <SKILL>
A non-zero exit is not the verdict; carry on and read the file. Read output/.dry-run/<SKILL>.json: passed: true (or skipped: true, when the SKILL_DRYRUN repo variable is 0) continues. passed: false means revert the edit and stop (log self-improve: dry-run gate failed for <SKILL> with the verdict reasons[]; do not open the PR). Put the verdict under a ## Dry-run section in the PR body. The gate is structural (exit, output, declared mode, declared requires:); no real credential enters the run.
- Create a branch and PR, each command as its own call:
git checkout -b fix/self-improve-${today}git add -A
Open a PR:git commit -m "fix: [description of what was improved] Problem: [what was failing/degraded] Fix: [what was changed] Evidence: [log entries, error messages, success rates]"gh pr create --title "fix: [short description]" \ --body "## Problem [What was failing or degraded — cite specific log entries or error messages] ## Fix [What wa
Установить self-improve в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл self-improve?
Improve the agent itself, or audit its recent performance - better skills, prompts, workflows, and config, plus a quality/reliability/memory-hygiene review of what it did and what failed
Как установить скилл self-improve?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл self-improve запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic