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.svg" alt="Measured on agentmods" height="20"></a>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.01612 |
| Opus 5 | $0.00047 | $0.00806 |
| Sonnet 5 | $0.00019 | $0.00322 |
| Haiku 4.5 | $0.00009 | $0.00161 |
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 6d 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 — 161 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
19 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 2.9 KB
- hooks/error-capture.sh 4.1 KB runs code
- hooks/hooks.json 265 B
- LICENSE 1.0 KB
- README.md 3.4 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 4.9 KB
- skills/promote/SKILL.md 4.5 KB
- skills/remember/SKILL.md 3.3 KB
- skills/review/SKILL.md 4.2 KB
- skills/status/SKILL.md 2.9 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.
- 6d 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 (6 stars, last pushed 2d ago), licensed MIT. It adds 94 tokens to every session and 1,612 once invoked, about $0.0005 per session on Opus 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
docs-decisions
Work on Composio documentation content, Fumadocs configuration, changelogs, docs automation prompts, docs decisions, ADR-style records, and docs review guidance. Use for files under docs/, documentation workflows, or requests to record or update a docs decision. Do not use for SDK runtime changes unless docs are the…
skill-creator
Create new skills (SKILL.md files), modify and improve existing skills, and design skill descriptions for accurate triggering. Use when the user wants to create a new skill from scratch, edit an existing skill, optimize a skill's description, or convert a workflow they just demonstrated into a reusable skill.
agents-md-revise
Capture learnings from the current session into the project-rules file (AGENTS.md, CLAUDE.md, or local override) so future sessions benefit. Use when the user says "revise the rules", "update AGENTS.md / CLAUDE.md with what we just learned", "save this to project memory", "remember this for next time", or at the end…
session-management
Context preservation, tiered summarization, resumability.
sol-luna-router
Route substantial coding or repository-review work through a two-stage Sol commander/verifier and separate Luna Max CLI worker. Use when the user explicitly asks Sol to direct or supervise Luna, explicitly requests this router, needs an isolated auditable Luna-owned implementation with a Sol review loop, or asks to…
idea-team
想法群聊室主持人 — 把一句话想法丢给多角色 AI 团队(调研员/反方/类比者)做查漏补缺。每个角色有自己的 voice,他们互相 @ 接话;你随时插话。这是创意扩展工具,不打分、不否决、不堵路。Use when 用户说"组个团队聊一下"、"开会讨论这个想法"、"找几个角度看看"、"群聊一下 X"、"team review X",或调用插件命令 /idea-coach:idea-team。Do NOT use when 用户已决定做这个想法只要 PRD(用 idea-to-product)、或用户要单独某个角色 skill、或用户只想自由 brainstorm(不需要 team 结构)。.