self-improving-agent

self-improving-agent is a skill for Claude Code from kopp0510/claude-dd. It costs 94 tokens per session (1,655 once invoked), scanned A, original, MIT.

A tool for reviewing Claude Code’s saved project notes and turning repeated, reliable lessons into project instructions or reusable skills. It works with MEMORY.md, CLAUDE.md, and .claude/rules/.

In plain words
What is it for?
Use it to review memory, check its health, save important knowledge, promote proven patterns into project rules, and extract recurring solutions into standalone skills.
Why use it?
It reduces the chance that useful fixes and preferences remain buried in old notes or are forgotten between sessions. It also helps identify outdated, duplicated, or conflicting guidance.

Skill for Claude Code

Written for Claude Code: PostToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/codex-install.sh --skill self-improving-agent.

Part of the self-improving-agent plugin — 5 skills shipped together

Good fit Use it to review memory, check its health, save important knowledge, promote proven patterns into project rules, and extract recurring solutions into standalone skills.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/kopp0510/claude-dd
agentmods
npx agentmods add skills/kopp0510/claude-dd/self-improving-agent

Made for: Claude Code.

Or install self-improving-agent, the plugin that ships this one along with the rest of its 5 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for self-improving-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/kopp0510/claude-dd/self-improving-agent/github.svg)](https://agentmods.dev/skills/kopp0510/claude-dd/self-improving-agent)
Your own site
<a href="https://agentmods.dev/skills/kopp0510/claude-dd/self-improving-agent"><img src="https://agentmods.dev/badge/skills/kopp0510/claude-dd/self-improving-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for self-improving-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/kopp0510/claude-dd/self-improving-agent"><img src="https://agentmods.dev/badge/skills/kopp0510/claude-dd/self-improving-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,655 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.01655
Opus 5.5 $0.00038 $0.00662
Sonnet 5.5 $0.00019 $0.00331
Haiku 4.5 $0.00009 $0.00166

Measured 1mo ago against content hash 3b41414418c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

self-improving-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (hooks/error-capture.sh, hooks/test-error-capture.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/self-improving-agent/SKILL.md · 163 lines

How it starts

The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Self-Improving Agent

Auto-memory captures. This plugin curates.

Claude Code's auto-memory (v2.1.32+) automatically records project patterns, debugging insights, and your preferences in MEMORY.md. This plugin adds the intelligence layer: it analyzes what Claude has learned, promotes proven patterns into project rules, and extracts recurring solutions into reusable skills.

Quick Reference

Command What it does
/self-improving-agent:review Analyze MEMORY.md — find promotion candidates, stale entries, consolidation opportunities
/self-improving-agent:promote Graduate a pattern from MEMORY.md → CLAUDE.md or .claude/rules/
/self-improving-agent:extract Turn a proven pattern into a standalone skill
/self-improving-agent:status Memory health dashboard — line counts, topic files, recommendations
/self-improving-agent:remember Explicitly save important knowledge to auto-memory

How It Fits Together

┌─────────────────────────────────────────────────────────┐
│                  Claude Code Memory Stack                │
├─────────────┬──────────────────┬────────────────────────┤
│  CLAUDE.md  │   Auto Memory    │   Session Memory       │
│  (you write)│   (Claude writes)│   (Claude writes)      │
│  Rules &    │   MEMORY.md      │   Conversation logs    │
│  standards  │   + topic files  │   + continuity         │
│  Full load  │   First 200 lines│   Contextual load      │
├─────────────┴──────────────────┴────────────────────────┤
│              ↑ /self-improving-agent:promote        ↑ /self-improving-agent:review          │
│         Self-Improving Agent (this plugin)               │
│              ↓ /self-improving-agent:extract    ↓ /self-improving-agent:remember            │
├─────────────────────────────────────────────────────────┤
│  .claude/rules/    │    New Skills    │   Error Logs     │
│  (scoped rules)    │    (extracted)   │   (auto-captured)│
└─────────────────────────────────────────────────────────┘

Read the full file on GitHub · 163 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +2 lines 3b41414418c7
  2. 1mo ago First seen · 161 lines · 94 tokens per session scan A ed65e1c0ab59

Subscribe to this mod's changes

self-improving-agent is a skill published in the GitHub repository kopp0510/claude-dd (12 stars, last pushed yesterday), licensed MIT. It adds 94 tokens to every session and 1,655 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

reflect

Use Recall Reflect to review AI coding workflow history as a conversation-first timeline and discuss observed patterns before changing behavior. Trigger when the user asks to reflect on a project, review AI coding workflow, inspect workflow friction, discuss repeated corrections, review handoffs, or explore possible…

samzong/Recall · 57 tokens

evolve

Use when many related hardened instincts (high-confidence feedback/discovery memories) have piled up in one domain, when the user runs /evolve or asks to promote, cluster, graduate, or consolidate accumulated instincts into a Command, Skill, or Agent, or when files in Instinct Proposals need review. Part of the…

mycelium-hq/ai-brain-starter · 100 tokens

chief-of-staff

The CEO's right hand — maintains validated project context, prepares task contracts, logs cross-department decisions, and runs the weekly review. Use when the user says "what's in flight", "resume the project", "log this decision", "weekly review", "turn this idea into a brief", or when multi-department work needs…

alebgl77/claude-inc · 79 tokens

Himalaya Email

Work with IMAP email from the terminal using Himalaya for inbox reads, draft review, and carefully confirmed outbound sends.

agentic-in/elephant-agent · 29 tokens

GitHub PR Workflow

Move cleanly through branch, diff, review, validation, and PR update steps without losing scope or repository-native workflow.

agentic-in/elephant-agent · 29 tokens

note-taking

Note taking skills, to save information, assist with research, and collab on multi-session planning and information sharing.

clowlove/Hermes-House · 26 tokens