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.
git clone --depth 1 https://github.com/kopp0510/claude-ddnpx agentmods add skills/kopp0510/claude-dd/self-improving-agentWrote 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.
[](https://agentmods.dev/skills/kopp0510/claude-dd/self-improving-agent)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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.
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)│
└─────────────────────────────────────────────────────────┘
What ships with it
21 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .claude-plugin/plugin.json 341 B
- agents/memory-analyst.md 2.6 KB
- agents/skill-extractor.md 3.0 KB
- CLAUDE.md 3.8 KB
- hooks/CLAUDE.md 6.6 KB
- hooks/error-capture.sh 5.5 KB runs code
- hooks/hooks.json 292 B
- hooks/test-error-capture.sh 9.0 KB runs code
- LICENSE 1.0 KB
- README.md 3.6 KB
- reference/memory-architecture.md 4.8 KB
- reference/promotion-rules.md 3.2 KB
- reference/rules-directory-patterns.md 3.4 KB
- settings.json 930 B
- skills/extract/SKILL.md 5.7 KB
- skills/promote/SKILL.md 4.9 KB
- skills/remember/SKILL.md 3.6 KB
- skills/review/SKILL.md 4.7 KB
- skills/status/SKILL.md 4.5 KB
- templates/rule-template.md 240 B
- templates/skill-template.md 873 B
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.
- 1mo ago Changed · +2 lines 3b41414418c7
- 1mo ago First seen · 161 lines · 94 tokens per session scan A ed65e1c0ab59
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.
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…
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…
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…
Himalaya Email
Work with IMAP email from the terminal using Himalaya for inbox reads, draft review, and carefully confirmed outbound sends.
GitHub PR Workflow
Move cleanly through branch, diff, review, validation, and PR update steps without losing scope or repository-native workflow.
note-taking
Note taking skills, to save information, assist with research, and collab on multi-session planning and information sharing.