claude-skills/engineering-team/self-improving-agent
Claude 7b1abd5e8a
fix: close remaining v2.14.0 audit P2 items
- Rewrite code-reviewer, self-improving-agent, session-handoff, handoff and
  si:remember descriptions to lead with the user's ask; trigger evals go from
  1/24 to 15/28 positive hits with no false fires.
- Move OWASP references from Top 10:2021 to Top 10:2025 (pen-testing scanner,
  checklist, report example, secops/backend/security references) with a
  2021-to-2025 mapping table and new A10 Mishandling of Exceptional Conditions.
- Replace deprecated datetime.utcnow() in 15 scripts and hooks with identical
  output, and block it in CI.
- Make gate G9 blocking as a ratchet over a 240-tool legacy baseline.
- Fix INSTALLATION.md drift (Vibe flat layout, Codex advice, skill counts),
  add install lines to 35 plugin READMEs, regenerate all 20 agent-harness
  manifests and the docs site.
- Bump the 43 changed plugins to 2.14.2.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018HXynYUKMCEpmhMQjyTx8J
2026-10-26 12:56:55 +00:00
..
.claude-plugin fix: close remaining v2.14.0 audit P2 items 2026-10-26 12:56:55 +00:00
agents fix(scripts,plugins): exclude tool-sync dirs from convert.sh; rename si plugin's status/review skills 2026-07-08 05:37:03 +00:00
hooks fix: make two plugin hooks reach Claude; refresh dead CI templates; PR command targets dev 2026-10-21 07:07:17 +00:00
reference fix(scripts,plugins): exclude tool-sync dirs from convert.sh; rename si plugin's status/review skills 2026-07-08 05:37:03 +00:00
skills fix: close remaining v2.14.0 audit P2 items 2026-10-26 12:56:55 +00:00
templates feat: add self-improving-agent plugin — auto-memory curation for Claude Code (#260) 2026-03-05 17:16:53 +01:00
CLAUDE.md fix(scripts,plugins): exclude tool-sync dirs from convert.sh; rename si plugin's status/review skills 2026-07-08 05:37:03 +00:00
LICENSE feat: add self-improving-agent plugin — auto-memory curation for Claude Code (#260) 2026-03-05 17:16:53 +01:00
README.md fix(scripts,plugins): exclude tool-sync dirs from convert.sh; rename si plugin's status/review skills 2026-07-08 05:37:03 +00:00
settings.json fix: resolve the actionable reported issues (#954, #949, #933, #931, #969, #968, #924, #885) 2026-08-21 05:47:37 +00:00

Self-Improving Agent

Auto-memory captures. This plugin curates.

A Claude Code plugin that turns auto-memory into a structured self-improvement loop. Analyze what Claude has learned, promote proven patterns to enforced rules, and extract recurring solutions into reusable skills.

Why

Claude Code's auto-memory (v2.1.32+) automatically records project patterns in MEMORY.md. But it has no judgment about what to keep, what to promote, or when entries go stale. This plugin adds the intelligence layer.

The difference:

  • MEMORY.md: "I noticed this project uses pnpm" (background note, truncated at 200 lines)
  • CLAUDE.md: "Use pnpm, not npm" (enforced instruction, loaded in full)

Promoting a pattern from memory to rules fundamentally changes how Claude treats it.

Commands

Command What it does
/si:memory-review Analyze auto-memory — find promotion candidates, stale entries, health metrics
/si:promote Graduate a pattern from MEMORY.md → CLAUDE.md or .claude/rules/
/si:extract Turn a recurring pattern into a standalone reusable skill
/si:memory-status Memory health dashboard — line counts, capacity, recommendations
/si:remember Explicitly save important knowledge to auto-memory

Install

Claude Code

/plugin marketplace add alirezarezvani/claude-skills
/plugin install self-improving-agent@claude-code-skills

OpenClaw

clawhub install self-improving-agent

Codex CLI

./scripts/codex-install.sh --skill self-improving-agent

How It Works

Claude discovers pattern → auto-memory (MEMORY.md)
         ↓
Pattern recurs 2-3x → /si:memory-review flags it
         ↓
You approve → /si:promote graduates it to CLAUDE.md
         ↓
Pattern becomes enforced rule, memory entry removed
         ↓
Space freed for new learnings

What's Included

Component Count Description
Skills 5 review, promote, extract, status, remember
Agents 2 memory-analyst, skill-extractor
Hooks 1 PostToolUse error capture (zero overhead on success)
Reference docs 3 memory architecture, promotion rules, rules directory patterns
Templates 2 rule template, skill template

Design Principles

  1. Don't fight auto-memory — orchestrate it. Auto-memory captures. This plugin curates.
  2. No duplicate storage. Reads from ~/.claude/projects/ directly. No .learnings/ directory.
  3. Zero capture overhead. Auto-memory handles capture. Hook only fires on errors.
  4. Promotion = graduation. Moving a pattern from MEMORY.md to CLAUDE.md changes its priority.
  5. Respect the 200-line limit. Actively manages MEMORY.md capacity.

Platform Support

Platform Memory System Support
Claude Code Auto-memory (MEMORY.md) ✅ Full
OpenClaw workspace/MEMORY.md ✅ Adapted
Codex CLI AGENTS.md ✅ Adapted
GitHub Copilot copilot-instructions.md ⚠️ Manual

Credits

Inspired by pskoett/self-improving-agent — a structured learning loop for AI coding agents. This plugin builds on that concept by integrating natively with Claude Code's auto-memory system.

License

MIT — see LICENSE