improve
Skill2 starsChanged 6 months agoMITView on GitHub
Self-improvement — orchestrates framework-improver-detector and framework-improver-applier across a skip-list-aware pipeline. Distinct from /setup (first-run shape decisions); /improve owns ongoing evolution and refuses to overwrite layers /setup decided
36 other projects use a version of this.
Adopted by
Most recently taken up by
- crbnos/carbontheir own version, first seen Oct 4, 2026
- kyashrathore/Claxedotheir own version, first seen Oct 4, 2026
- getstackit/stackittheir own version, first seen Oct 1, 2026
- garthcodes/claude-skillstheir own version, first seen Sep 30, 2026
- manusco/resonancetheir own version, first seen Sep 28, 2026
- jim60105/copilot-prompttheir own version, first seen Sep 28, 2026
Used with
Projects with it also use goal, loop and 7 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.
jthackSkillgoal
Codex-style /goal for Claude Code. Use when the user runs /goal, wants a persistent long-running objective, or wants to pause, resume, clear, or complete a goal.
Also in 3 projects that use this
ww-w-aiSkillloop
Run a prompt or command on a recurring interval. Useful for monitoring, polling, or periodic checks.
Also in 3 projects that use this
Microsoft AzureSkilltest
Also in 5 projects that use this
Google CloudSkillfix
Plan a remediation strategy after a test failure.
Also in 3 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 4 projects that use this
renatorozasSkillgrill
Adversarial code review. Don't let me ship until the changes pass your scrutiny.
Also in 3 projects that use this
Other versions36 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 36
- crbnos/carbon★ 2.7ksame name
- SethGammon/Citadel★ 922same name
- gadicc/yahoo-finance2★ 802same name
- shobcoder/shob★ 577same name
- owainlewis/blueprint★ 410same name
- AkaraChen/aghub★ 271same name
- kyashrathore/Claxedo★ 83same name
- joshuadavidthomas/agent-skills★ 54same name
- valpere/session-indexer★ 42same name
- manusco/resonance★ 37same name
26 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 repository45 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- improveSkill
- teamSkill
- ccf-architecture-contractSkill
- ccf-build-and-envSkill
- ccf-change-controlSkill
- ccf-debugging-playbookSkill
- ccf-doc-sync-campaignSkill
- ccf-dogfood-and-driftSkill
- ccf-domain-referenceSkill
- ccf-failure-archaeologySkill
- ccf-onboarding-tourSkill
- ccf-parity-playbookSkill
- ccf-release-and-installSkill
- ccf-testing-and-qaSkill
- improveSkill
- teamSkill
- add-referenceSkill
- ai-updateSkill
- app-blueprintSkill
- buildSkill
- check-readinessSkill
- deploySkill
- developSkill
- draft-storySkill
- error-analyzeSkill
- factorySkill
- fetch-docsSkill
- generate-internal-appSkill
- impactSkill
- indexSkill
- iterative-reviewSkill
- merge-resolveSkill
- mock-endpointSkill
- planSkill
- promoteSkill
- refine-storySkill
- scaffold-design-systemSkill
- searchSkill
- setupSkill
- teamSkill
- skill-nameSkill
- update-trackerSkill
- validateSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 35 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 47
If --scope scan, stop here.
- Very specific: line 65
Read .claude/state/improve-applied.md and surface:
“Common” is measured: kept by at least 6 in 10 of the 35 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
Improve — Framework Self-Improvement
Analyze the current project state and improve the .claude/ configuration. This is the ongoing-evolution lifecycle counterpart to /setup — it tunes around shape decisions /setup already made instead of overwriting them.
Lifecycle vs /setup: /setup decides shape (first run). /improve keeps shape in tune as the project grows. Boundary is enforced architecturally: the detector reads setup-applied.md to build a skip-list at proposal time, the applier re-validates the skip-list at apply time. Items /setup owns never become candidates.
Usage
/improve full pass: detect → apply (no user gate; autonomous)
/improve scan dry run — produce proposal only, don't apply
/improve claude-md scope to CLAUDE.md placeholders
/improve rules scope to .claude/rules/ patterns
/improve settings scope to .claude/settings.local.json
/improve agents scope to .claude/agents/ tuningScopes are passed through to the detector to limit the proposal.
Process
Phase 1: Detect (read-only)
Spawn framework-improver-detector:
Run your full process. Read setup-applied.md (if present) and build the
skip-list, scan the project per docs/project-detection.md, identify
improvements, filter against the skip-list, and write
.claude/state/improve-proposal.md. End with the surface summary.The detector is read-only by tool restriction. It writes only .claude/state/improve-proposal.md.
Phase 2: Verify proposal
Read the proposal:
- Confirm
## Improvementsis well-formed - Confirm
## Filtered (owned by /setup)lists items the detector dropped — surface to user as "respected /setup decisions" - Confirm there are no path-allowlist violations (the applier will halt if there are, but flagging here is faster)
If --scope scan, stop here. Print the path to improve-proposal.md for inspection.
Phase 3: Apply
Spawn framework-improver-applier:
Read .claude/state/improve-proposal.md. Run all 4 pre-apply gates
(proposal exists, re-derive skip-list, filter & halt if non-empty drop
count, allowlist validate). On success, snapshot to
.claude/state/improve-backup-<ts>/, apply substitutions, smoke-check,
write .claude/state/improve-applied.md. Auto-rollback on any error.The applier has Edit/Write but refuses to apply any item in the /setup-owned skip-list.
Phase 4: Verify and report
Read .claude/state/improve-applied.md and surface:
- Count of changes applied
- Count of refusals (skip-list enforcement — should be 0 if detector did its job)
- List of remaining
{{...}}placeholders (intentionally vs unexpected) - Backup directory path (rollback path)
- Path to
docs/ai-improvements.md(append-only changelog)
State Files
| File | Owner | Lifecycle |
.claude/state/improve-proposal.md | detector (Phase 1) | Overwritten each run |
.claude/state/improve-applied.md | applier (Phase 3) | Append-only audit |
.claude/state/improve-backup-<ts>/ | applier (Phase 3) | Created every apply; rollback path |
docs/ai-improvements.md | applier (Phase 3) | Append-only project-level changelog |
When to Use /improve vs /setup
| Situation | Use |
First-time onboarding (just ran setup.sh) | /setup |
| Convention drift after weeks of development | /improve |
Filling specific {{...}} placeholders | /improve claude-md |
| Adding new rule patterns based on actual file structure | /improve rules |
| Switched stacks (e.g., npm → pnpm) | /setup --layer=build |
/setup is shape-deciding. /improve is shape-tuning. They don't overlap — the skip-list mechanism enforces it.
Edge Cases
| Scenario | Behavior |
setup-applied.md doesn't exist (no /setup ever run) | Detector treats every layer as in-scope; user warned that /setup is recommended for first-time onboarding |
| Detector proposes empty improvements list | Skill skips Phase 3; reports "nothing to improve" |
| Applier gate 3 drops items (non-empty) | Halt; surface refusals; user reviews and decides |
CLAUDE.md doesn't exist | Detector recommends running /setup first; does not fill placeholders into a missing file |
| Apply fails mid-flight | Auto-rollback from backup; apply log not written; proposal stays valid for re-run after fix |
--scope scan | Stop after Phase 2; do not spawn applier |
Related
framework-improver-detectoragent — runs Phase 1, produces proposal (read-only by tool removal)framework-improver-applieragent — runs Phase 3, applies with skip-list enforcement + backup + audit/setup— first-run shape decisions; writes the skip-list this skill respectsdocs/project-detection.md— shared detection bashdocs/setup-state-schema.md— schema for setup-proposal.md and setup-applied.md (defines the layer→placeholder mapping the skip-list uses)/ai-update— Create branch + PR for AI config changes/add-reference— Add domain knowledge references/team full— Run all agents to validate improved configuration
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.

