self-improve
Skill766 starsChanged 3 months agoMITView on GitHub
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
- Commits and pushes
15 other projects use a version of this.
Adopted by
Most recently taken up by
- forefy/.contexttheir own version, first seen Sep 29, 2026
- Yeachan-Heo/oh-my-claudecodetheir own version, first seen Sep 22, 2026
- eai-org/agent-toolkittheir own version, first seen Sep 13, 2026
- randomittin/heimdalltheir own version, first seen Sep 3, 2026
- strikersam/autonomous-ai-agencytheir own version, first seen Aug 30, 2026
- aaronjmars/miroshark-aeonword for word, first seen Aug 20, 2026
Used with
Projects with it also use research.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
DockerSkillresearch
Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".
Also in 3 projects that use this
Other versions15 projects use a version of this.
Word for word · 1
- aaronjmars/miroshark-aeon★ 18100% same
Edited · 0
None found.
Wrote their own version · 14
- Yeachan-Heo/oh-my-claudecode★ 40ksame name
- forefy/.context★ 151same name
- eai-org/agent-toolkit★ 55same name
- neuron-one/GODMODE★ 33same name
- shahshrey/unclaw★ 16same name
- allemaar/open-skills★ 14same name
- naman10parikh/agentgrid★ 9same name
- strikersam/autonomous-ai-agency★ 9same name
- randomittin/heimdall★ 5same name
- thoriqakbar0/skills★ 2same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository88 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- aeonSkill
- action-converterSkill
- aeon-doctorSkill
- aeon-updateSkill
- arc-studioSkill
- articleSkill
- auto-mergeSkill
- autoresearchSkill
- auto-workflowSkill
- base-mcpSkill
- bd-radarSkill
- changelogSkill
- competitor-monitorSkill
- compute-resellSkill
- cortx-reliabilitySkill
- create-proveSkill
- create-skillSkill
- defi-overviewSkill
- deploy-prototypeSkill
- deploy-uni-hookSkill
- digestSkill
- distribute-tokensSkill
- executor-mcpSkill
- featureSkill
- feedback-builderSkill
- fetch-tweetsSkill
- finance-district-mcpSkill
- fleet-controlSkill
- fork-fleetSkill
- github-monitorSkill
- github-trendingSkill
- glim-mcpSkill
- heartbeatSkill
- higgsfieldSkill
- hunter-22Skill
- idea-forgeSkill
- idea-pipelineSkill
- inbox-triageSkill
- install-skillSkill
- investigation-reportSkill
- last30Skill
- memory-flushSkill
- mention-radarSkill
- miroshark-matchdaySkill
- monitor-polymarketSkill
- narrative-convergenceSkill
- narrative-trackerSkill
- onchain-monitorSkill
- operator-scorecardSkill
- pack-submitSkill
- picks-trackerSkill
- pm-manipulationSkill
- posthog-errorsSkill
- price-alertSkill
- pr-reviewSkill
- pr-triageSkill
- remotionSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
26 rules. 0 are common, 12 are distinctive, and 14 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
14
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
If the mode is audit → run the Mode: audit branch below (focus = optional area to concentrate the review on).
- Very specific: line 21
If the mode is improve or empty → run the Mode: improve branch below (focus = optional area to fix).
- Very specific: line 22
If the token is neither keyword but non-empty (e.g.
- Very specific: line 25
Read memory/MEMORY.md for high-level context and goals.
- Very specific: line 26
Read recent memory/logs/ (improve mode: last 2 days.
- Distinctive: line 28
If a focus area is set, concentrate the run on that area.
- Distinctive: line 42
If there are already 3+ open improvement PRs, log "self-improve: 3+ open PRs, waiting for review" and exit.
- Distinctive: line 44
Identify what to improve: If the focus area is empty, scan for issues:
- Very specific: line 45
Read memory/logs/ from last 2 days — look for:
- Very specific: line 50
Read memory/cron-state.json for skills with low success rates
- Very specific: line 51
Read output/articles/repo-actions-*.md from last 7 days for self-improvement ideas
- Distinctive: line 54
Understand the area you're fixing: Read the relevant files:
- Distinctive: line 64
If a skill prompt is unclear → rewrite the ambiguous section
- Distinctive: line 65
If a skill is hitting rate limits → add backoff logic or reduce frequency
- Distinctive: line 66
If output quality is low → tighten the prompt, add examples, clarify format
- Distinctive: line 67
If a notification is broken → fix the formatting or truncation
- Very specific: line 68
If a config is wrong → fix aeon.yml
- Distinctive: line 72
Add new features (that's create-skill's job)
- Distinctive: line 118
If you can't find anything to improve, that's fine.
- Very specific: line 119
Never modify workflow files (.github/workflows/) — only skill files, CLAUDE.md, and aeon.yml.
- Distinctive: line 120
Don't create circular improvements (e.g.
- Very specific: line 130
Read memory/MEMORY.md for context and goals.
- Very specific: line 133
Read recent articles in output/articles/ — are they substantive or formulaic?
- Distinctive: line 134
Check recent notifications in logs — were they useful or noisy?
- Very specific: line 152
Update feeds.yml if feeds are dead
- Very specific: line 167
After completing the run, append a log entry to memory/logs/${today}.md under a single ### self-improve heading, with a discriminator line …
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
${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:
If there are already 3+ open improvement PRs, log "self-improve: 3+ open PRs, waiting for review" and exit. Don't create more debt.OPEN_PRS=$(gh pr list --state open --json title,number --jq '[.[] | select(.title | test("^(fix|feat|chore)\\("; "i"))] | length') - 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. Let $skill be the skill you edited:
DRYRUN_VERDICT="output/.dry-run/$skill.json" bash scripts/dry-run.sh run "$skill" || trueRead 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:
Open a PR:git checkout -b fix/self-improve-${today} git add -A 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 was changed and why] ## Evidence - [Relevant log entries] - [Success rate before: X%] - [Error pattern: ...]" - Notify. Send via
./notify:self-improve: [what was fixed] — PR: [url] - Log (see the shared
## Logsection below).
Guidelines
- ONE fix per run. Don't bundle unrelated changes.
- Smallest viable fix. A one-line prompt tweak > a full rewrite.
- If you can't find anything to improve, that's fine. Log "self-improve: everything looks healthy" and exit.
- Never modify workflow files (.github/workflows/) — only skill files, CLAUDE.md, and aeon.yml.
- Don't create circular improvements (e.g. don't improve self-improve).
Mode: audit
Audit what the agent did, what failed, and what to improve. Produce a full review, apply safe fixes, and surface recommendations.
Steps
Read memory/MEMORY.md for context and goals. Read ALL memory/logs/ entries from the last 7 days.
- Audit quality of outputs:
- Read recent articles in
output/articles/— are they substantive or formulaic? - Check recent notifications in logs — were they useful or noisy?
- Review any PR comments posted — were they actionable?
- Read recent articles in
- Audit reliability:
- How many skills ran vs expected?
- Any repeated errors or patterns of failure?
- Are monitors catching real issues or always returning OK?
- Audit memory hygiene:
- Is
MEMORY.mdcurrent and under 50 lines? - Are logs structured consistently?
- Any stale data that should be cleaned?
- Is
- Generate improvement recommendations:
- Skills to add, modify, or disable
- Schedule adjustments
- Config changes (feeds, repos, addresses to add/remove)
- Quality improvements (better prompts, new data sources)
- Save the full review to
output/articles/self-review-${today}.md. - Apply any safe, obvious improvements directly:
- Prune stale
MEMORY.mdentries - Update
feeds.ymlif feeds are dead
- Prune stale
- Send a summary via
./notify:*Self Review — ${today}* Quality: assessment Reliability: X/Y skills ran Actions taken: what was fixed Recommendations: top 2-3 suggestions - Log (see the shared
## Logsection below).
Log
After completing the run, append a log entry to memory/logs/${today}.md under a single ### self-improve heading, with a discriminator line naming the mode that ran:
### self-improve
- **Mode:** improve (or: audit)Then, for improve mode:
- **Target:** [what was improved]
- **Problem:** [what was failing]
- **Fix:** [what was changed]
- **PR:** [url]For audit mode:
- **Review:** output/articles/self-review-${today}.md
- **Quality:** [assessment]
- **Reliability:** [X/Y skills ran]
- **Actions taken:** [what was fixed directly]
- **Recommendations:** [top 2-3]Network note
Write mode. Both branches touch the repo (improve opens a PR via git/gh; audit writes output/articles/self-review-${today}.md and may prune MEMORY.md/feeds.yml). For the GitHub API, use the gh CLI (gh pr list, gh pr create) — it handles auth internally, so no $SECRET ever touches the command line (a bare secret on the line is what the Bash permission layer refuses; there is no network sandbox). No pre-fetch or post-process side-channel is needed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

