agentleFS
rafeeqinearafeeqinea/claude-academic-toolkit/skills/meta/self-improve/SKILL.md

self-improve

Skill0 starsChanged 9 months agoMITView on GitHub

Deep self-analysis and improvement. Read all memory files, CLAUDE.md, and skills, then optimize them based on accumulated experience. Use when user says "improve yourself", "optimize", "self-improve", "upgrade yourself", or periodically after multiple sessions.

42 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ecosystem-reference, fractal-delegation and 10 more.

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.
  • naman10parikhSkill

    ecosystem-reference

    Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.

    Also in 5 projects that use this

  • naman10parikhSkill

    fractal-delegation

    Also in 5 projects that use this

  • roronoazoroshao369Skill

    memory-compression

    Also in 5 projects that use this

  • aaronjmarsSkill

    aeon-update

    Pull framework updates from the upstream Aeon repo into this instance - 3-way merges canon's new commits into a PR, never clobbering operator config.

    Also in 4 projects that use this

  • aaronjmarsSkill

    auto-workflow

    Two-mode aeon.yml workflow builder - analyze inspects URLs and emits a tiered, signal-verified skill-enablement plan plus an aeon.yml diff; enable flips slugs to enabled:true and opens a PR.

    Also in 4 projects that use this

  • +5 more from naman10parikh
  • +2 more from aaronjmars

The file

Show its rules and text

We split this skill into the rules it gives an agent

22 rules. 0 are common, 18 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 37 edited versions we read keep these.

  • 18

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read ALL configuration files:

    line 19
  2. Very specific:

    All files in memory directory (~/.claude/projects/*/memory/)

    line 21
  3. Very specific:

    All skill files (~/.claude/skills/*/SKILL.md)

    line 22
  4. Very specific:

    All agent files (~/.claude/agents/)

    line 23
  5. Distinctive:

    Run a search for latest CLAUDE.md best practices if significant changes are planned.

    line 37
  6. Distinctive:

    Update progress sections to reflect current state

    line 42
  7. Distinctive:

    Ensure cross-references between files are valid

    line 43
  8. Distinctive:

    Do any skills need updated instructions based on experience?

    line 49
  9. Distinctive:

    Should any skills be retired?

    line 50
  10. Distinctive:

    If gaps are found, either:

    line 52
  11. Very specific:

    Update an existing skill's SKILL.md

    line 54
  12. Distinctive:

    Always show changes BEFORE and AFTER so the user can verify

    line 86
  13. Distinctive:

    Never delete information without asking — compress or archive instead

    line 87
  14. Distinctive:

    If unsure about a change, list it under Recommendations instead of applying it

    line 88
  15. Distinctive:

    Keep CLAUDE.md laser-focused on behaviour, not facts

    line 90
  16. Distinctive:

    Keep MEMORY.md factual, not instructional

    line 91
  17. Distinctive:

    Never delete a working instruction, memory, or skill unless replacing with something STRICTLY better

    line 95
  18. Distinctive:

    Never weaken rules (e.g. "all systems max" must never become "moderate effort")

    line 96
  19. Distinctive:

    Never remove user preferences or corrections — those are permanent

    line 97
  20. Distinctive:

    Never overwrite files with shorter/vaguer versions to "simplify"

    line 98
  21. Distinctive:

    When consolidating, the merged version MUST contain ALL information from originals

    line 99
  22. Distinctive:

    If unsure whether a change is improvement or degradation — don't make it.

    line 100

“Common” is measured: kept by at least 6 in 10 of the 37 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Self-Improve — Deep Optimization Cycle

Trigger

/self-improve

Purpose

Comprehensive self-audit and optimization. Read everything I have, find inconsistencies, gaps, and opportunities, then upgrade my own configuration.

Workflow

Step 1: Full State Audit

Read ALL configuration files:

  • ~/.claude/CLAUDE.md — global instructions
  • All files in memory directory (~/.claude/projects/*/memory/)
  • All skill files (~/.claude/skills/*/SKILL.md)
  • All agent files (~/.claude/agents/)

Step 2: Consistency Check

  • Are there contradictions between CLAUDE.md and MEMORY.md?
  • Are there duplicate instructions across files?
  • Are there outdated facts that should be updated?
  • Are there memory entries that reference completed work and can be archived?
  • Are skills still relevant to the user's current projects?

Step 3: CLAUDE.md Optimization

Based on the Anthropic Skills Guide and CLAUDE.md best practices:

  • Is it under 50 lines? If not, consolidate.
  • Are instructions actionable and specific? Rewrite vague ones.
  • Are there missing instructions that past sessions suggest are needed?
  • Run a search for latest CLAUDE.md best practices if significant changes are planned.

Step 4: Memory Optimization

  • Compress verbose entries without losing information
  • Move stale project details to archive files
  • Update progress sections to reflect current state
  • Ensure cross-references between files are valid

Step 5: Skill Gap Analysis

Based on conversation patterns in memory:

  • Are there recurring tasks that don't have a skill yet?
  • Are existing skills being triggered correctly?
  • Do any skills need updated instructions based on experience?
  • Should any skills be retired?

If gaps are found, either:

  • Build a new skill (create folder + SKILL.md)
  • Update an existing skill's SKILL.md

Step 6: Report

Present a comprehensive improvement report:

## Self-Improvement Report

### Audit Results
- Files scanned: [count]
- Issues found: [count]
- Improvements made: [count]

### Changes Made
#### CLAUDE.md
- [change 1 and why]

#### Memory
- [change 1 and why]

#### Skills
- [new/modified/retired skills and why]

### Recommendations
- [things that need user input to decide]
- [suggested skills or tools to explore]

### Health Score
[Overall assessment of configuration quality: instruction clarity, memory freshness, skill coverage]

Rules

  • Always show changes BEFORE and AFTER so the user can verify
  • Never delete information without asking — compress or archive instead
  • If unsure about a change, list it under Recommendations instead of applying it
  • The goal is QUALITY over QUANTITY — fewer, better instructions beat many vague ones
  • Keep CLAUDE.md laser-focused on behaviour, not facts
  • Keep MEMORY.md factual, not instructional

HARD CONSTRAINT: Never degrade

  • Self-improvement is monotonic — only ever improve, never regress
  • Never delete a working instruction, memory, or skill unless replacing with something STRICTLY better
  • Never weaken rules (e.g. "all systems max" must never become "moderate effort")
  • Never remove user preferences or corrections — those are permanent
  • Never overwrite files with shorter/vaguer versions to "simplify"
  • When consolidating, the merged version MUST contain ALL information from originals
  • If unsure whether a change is improvement or degradation — don't make it. Flag it for the user
  • The ratchet only turns one way

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.