improve
Skill2 starsChanged 6 months agoMITView on GitHub
Self-improvement — analyze the project and update AGENTS.md, rules, settings, and agents to improve AI effectiveness
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
- 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
- improveSkill
- indexSkill
- iterative-reviewSkill
- merge-resolveSkill
- mock-endpointSkill
- planSkill
- promoteSkill
- refine-storySkill
- scaffold-design-systemSkill
- searchSkill
- setupSkill
- teamSkill
- skill-nameSkill
- update-trackerSkill
- validateSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 9 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 35 edited versions we read keep these.
9
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
- Very specific: line 38
Framework detection: Read config files (next.config.*, vite.config.*, angular.json, etc.)
- Distinctive: line 46
Read current AGENTS.md and check:
- Distinctive: line 57
Missing information: Add sections for:
- Distinctive: line 62
Outdated information: Check if documented commands, paths, or patterns still exist
- Very specific: line 64
If --scope agents-md or full pass: apply changes.
- Distinctive: line 72
Check if files matching those patterns actually exist
- Very specific: line 73
If patterns are still {{PLACEHOLDER}}, replace with discovered file patterns
- Distinctive: line 76
If the project has file types not covered by any rule, consider adding rules
- Distinctive: line 80
If a rule's file patterns match zero files, warn (don't delete — user may add files later)
- Very specific: line 86
Read .codex/settings.local.json and check:
- Distinctive: line 89
If project uses git heavily, ensure Bash(git*) patterns
- Distinctive: line 90
If project needs web access for docs, ensure WebFetch/WebSearch
- Distinctive: line 102
Tool appropriateness: Do the allowed tools match what the agent needs?
“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 .codex/ configuration for better AI assistance.
Usage
/improve — Full improvement pass (all areas)
/improve agents-md — Update AGENTS.md only (fill placeholders, add patterns)
/improve rules — Update rule file patterns to match actual project
/improve settings — Update permissions and model config
/improve agents — Tune agent tools and models for project needs
/improve scan — Report only, no changes (dry run)Process
Phase 1: Project Discovery
Scan the project to build a comprehensive profile:
- Tech stack detection:
# Package managers and dependency files
ls package.json requirements.txt Pipfile go.mod Cargo.toml build.gradle pom.xml Gemfile composer.json sfdx-project.json 2>/dev/null- File type census:
find . -type f -not -path "*/.git/*" -not -path "*/node_modules/*" -not -path "*/__pycache__/*" -not -path "*/vendor/*" -not -path "*/.next/*" -not -path "*/dist/*" -not -path "*/build/*" | sed 's/.*\.//' | sort | uniq -c | sort -rn | head -20- Framework detection: Read config files (next.config., vite.config., angular.json, etc.)
- Directory structure: Map the top-level architecture
- Existing tooling: Find linter configs, test configs, CI configs
Phase 2: AGENTS.md Improvement
Read current AGENTS.md and check:
- Unfilled placeholders: Find any remaining
{{...}}and fill from discovered data:{{PROJECT_DESCRIPTION}}— from README.md, package.json description, etc.{{TECH_STACK_TABLE}}— build from dependency files{{CODE_STRUCTURE}}— generate directory tree{{CODING_STANDARDS}}— infer from linter configs (.eslintrc, .prettierrc, pyproject.toml, etc.){{ERROR_HANDLING_PATTERN}}— find common error patterns in code{{TESTING_STRATEGY}}— infer from test config and existing tests{{INTEGRATIONS}}— list discovered external services
- Missing information: Add sections for:
- Discovered environment variables and their purposes
- Common commands found in package.json scripts or Makefile
- Team conventions visible in git log patterns
- Outdated information: Check if documented commands, paths, or patterns still exist
If --scope agents-md or full pass: apply changes. Otherwise skip.
Phase 3: Rules Improvement
For each rule file in .codex/rules/:
- Verify patterns match reality:
- Extract the glob patterns from the YAML frontmatter
- Check if files matching those patterns actually exist
- If patterns are still
{{PLACEHOLDER}}, replace with discovered file patterns
- Add missing rules:
- If the project has file types not covered by any rule, consider adding rules
- Common gaps: middleware files, config schemas, migration files, test utilities
- Remove irrelevant rules:
- If a rule's file patterns match zero files, warn (don't delete — user may add files later)
If --scope rules or full pass: apply changes. Otherwise skip.
Phase 4: Settings Improvement
Read .codex/settings.local.json and check:
- Permissions: Are all tools the project workflow needs allowed?
- If project uses git heavily, ensure Bash(git*) patterns
- If project needs web access for docs, ensure WebFetch/WebSearch
- Model: Is the default model appropriate?
- Complex architecture projects may benefit from opus
- High-volume code generation may benefit from sonnet for speed
If --scope settings or full pass: apply changes. Otherwise skip.
Phase 5: Agent Improvement
For each agent in .codex/agents/:
- Tool appropriateness: Do the allowed tools match what the agent needs?
- Model selection: Is the model appropriate for the task complexity?
- Placeholder check: Are any
{{PLACEHOLDER}}values unfilled?
If --scope agents or full pass: apply changes. Otherwise skip.
Phase 6: Report
## Framework Improvement Report
### Project Profile
- **Type:** {detected project type}
- **Stack:** {tech stack summary}
- **Size:** {file count, LOC estimate}
### Changes Made
| File | Change | Reason |
|------|--------|--------|
| {path} | {description} | {why} |
### AGENTS.md Status
- Placeholders filled: {n}
- Placeholders remaining: {n} (need human input)
- Sections added: {list}
- Sections updated: {list}
### Rules Status
- Rules with matching files: {n}/{total}
- Patterns updated: {list}
- New rules created: {list}
### Recommendations (need human decision)
- {items that require human judgment}
### Next Steps
1. Review changes in AGENTS.md and fill remaining placeholders
2. Run `/improve scan` again after making manual updates
3. Consider `/team review` to validate the improved configurationEdge Cases
| Scenario | Behavior |
| AGENTS.md doesn't exist | Create from template, fill what's discoverable |
| No .codex/ directory | Run setup.sh first (print instructions) |
--scope scan | Report only, make no changes |
| Mixed project (frontend + backend) | Detect both, configure rules for both |
| Monorepo with multiple apps | Detect workspace structure, note in AGENTS.md |
Related Skills
/ai-update— Create branch + PR for AI config changes (use after /improve for tracked 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.

