From am2rican5
Run a self-improvement cycle that analyzes Claude Code usage patterns and applies targeted improvements to CLAUDE.md, hooks, and skills. Audits current setup, identifies gaps from usage data, and proposes grouped changes with rationale. Use when user says "improve my setup", "self-improve", "optimize my Claude config", "fix my workflow", or after running /insights and wanting to act on the results. Do NOT use for general Claude Code help, configuration questions, or manual editing of individual files.
How this skill is triggered — by the user, by Claude, or both
Slash command
/am2rican5:self-improveThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- NEVER apply changes without explicit user approval
$ARGUMENTS contains a file path, read that report file~/.claude/usage-data/report.html/insights first to generate one, then re-run /self-improve." and stop.Extract from the report:
Read these files to understand the current configuration:
~/.claude/CLAUDE.md (global rules)~/.claude/settings.json (hooks, permissions, plugins).claude/CLAUDE.md in the current working directory~/.claude/hooks/~/.claude/skills/Compare the current setup against the report findings. Identify gaps: what problems from the report are NOT addressed by existing rules, hooks, or skills?
Present a numbered list of proposed changes, grouped by type:
CLAUDE.md Rules:
Hooks:
Skills:
Workflow Changes:
For each proposed change, state:
WAIT for user to approve, reject, or modify each proposed change.
User says: "I just ran /insights, now improve my setup"
Actions:
~/.claude/usage-data/report.htmlResult: Targeted config updates linked to actual usage patterns.
User says: "/self-improve ~/Downloads/report.html"
Actions:
Result: Improvements based on the provided report.
Cause: User hasn't run /insights yet.
Solution: Tell the user to run /insights first, then re-run this skill.
Cause: Usage data is too sparse or setup is already well-optimized. Solution: Inform the user that no changes are recommended and explain why.
npx claudepluginhub am2rican5/cc-plugin --plugin am2rican5Analyzes session friction with Claude Code skills, agents, permissions, hooks; gathers config from settings.json, CLAUDE.md; proposes targeted improvements.
Analyzes coding sessions to detect corrections and preferences, proposing targeted updates to active Skills or CLAUDE.md. Triggered by 'learn from this session' or 'update skills'.
Transforms analysis findings into hooks, agent prompt refinements, skill patches, CLAUDE.md updates, and automation scripts. Activates on kaizen/improvement requests or manual /kaizen-improvement.