self-improving-agent
A universal self-improving agent that learns from ALL skill experiences.
Skill by zhouguoqing
Install
Works with Claude Code. Read the repository before you give any tool access to your data.
npx agentmarket install skill/zhouguoqing-self-improving-agent
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/self-improving-agent
Tools it pre-approves 7
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Read,Write,Edit,Bash,Grep,Glob,WebSearch
What's inside
- Skill name
self-improving-agent- Description
- A universal self-improving agent that learns from ALL skill experiences. Uses multi-memory architecture (semantic + episodic + working) to continuously evolve the codebase. Auto-triggers on skill completion/error with hooks-based self-correction.
- License
- Apache-2.0
- Allowed tools
- Read,, Write,, Edit,, Bash,, Grep,, Glob,, WebSearch
- Instructions
- 384 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Pre-approves some shell commands
Files (10)
- README.md
- SKILL.md
- post-bash.sh · hooks/
- pre-tool.sh · hooks/
- session-end.sh · hooks/
- semantic-patterns.json · memory/
- appendix.md · references/
- correction-template.md · templates/
- pattern-template.md · templates/
- validation-template.md · templates/
SKILL.md (first lines)
# Self-Improving Agent
> "An AI agent that learns from every interaction, accumulating patterns and insights to continuously improve its own capabilities." — Based on 2025 lifelong learning research
## Overview
This is a **universal self-improvement system** that learns from ALL skill experiences, not just PRDs. It implements a complete feedback loop with:
- **Multi-Memory Architecture**: Semantic + Episodic + Working memory
- **Self-Correction**: Detects and fixes skill guidance errors
- **Self-Validation**: Periodically verifies skill accuracy
- **Hooks Integration**: Auto-triggers on skill events (before_start, after_complete, on_error)
- **Evolution Markers**: Traceable changes with source attribution
## Research-Based Design
Based on 2025 research:
| Research | Key Insight | Application |
|----------|-------------|-------------|
| [SimpleMem](https://arxiv.org/html/2601.02553v1) | Efficient lifelong memory | Pattern accumulation system |
| [Multi-Memory Survey](https://dl.acm.org/doi/10.1145/3748302) | Semantic + Episodic memory | World knowledge + experiences |
| [Lifelong Learning](https://arxiv.org/html/2501.07278v1) | Continuous task stream learning | Learn from every skill use |
| [Evo-Memory](https://shothota.medium.com/evo-memory-deepminds-new-benchmark) | Test-time lifelong learning | Real-time adaptation |
## The Self-Improvement Loop
```
┌─────────────────────────────────────────────────────────────────┐
│ UNIVERSAL SELF-IMPROVEMENT │
├─────────────────────────────────────────────────────────────────┤
│ │
│ Skill Event → Extract Experience → Abstract Pattern → Update │
│ │ │ │ │ │
│ ▼ ▼ ▼ ▼ │
│ ┌─────────────────────────────────────────────────────┐ │
│ │ MULTI-MEMORY SYSTEM │ │
│ ├─────────────────────────────────────────────────────┤ │
│ │ Semantic Memory │ Episodic Memory │ Working Memory │ │
│ │ (Patterns/Rules) │ (Experiences) │ (Current) │ │
│ │ memory/semantic/ │ memory/episodic/ │ memory/working/│ │
│ └─────────────────────────────────────────────────────┘ │
│ │
│ ┌─────────────────────────────────────────────────────┐ │
│ │ FEEDBACK LOOP │ │
│ │ User Feedback → Confidence Update → Pattern Adapt │ │
│ └─────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────┘
```
## When This Activates
### Automatic Triggers (via hooks)
| Event | Trigger | Action |
|-------|---------|--------|
| **before_start** | Any skill starts | Log session start |
| **after_complete** | Any skill completes | Extract patterns, update skills |
| **on_error** | Bash returns non-zero exit | Capture error context, trigger self-correction |
### Manual Triggers
- User says "自我进化", "self-improve", "从经验中学习"
- User says "分析今天的经验", "总结教训"
- User asks to improve a specific skill
## Evolution Priority Matrix
Trigger evolution when new reusable knowledge appears:
| Trigger | Target Skill | Priority | Action |
|---------|--------------|----------|--------|
| New PRD pattern discovered | prd-planner | High | Add to quality checklist |
| Architecture tradeoff clarified | architecting-solutions | High | Add to decision patterns |
| API design rule learned | api-designer | High | Update template |
| Debugging fix discovered | debugger | High | Add to anti-patterns |
| Review checklist gap | code-reviewer | High | Add checklist item |
| Perf/security insight | performance-engineer, security-auditor | High | Add to patterns |
| UI/UX spec issue | prd-planner, architecting-solutions | High | Add visual spec requirements |
| React/state pattern | debugger, refactoring-specialist | Medium | Add to patterns |
| Test strategy improvement | test-automator, qa-expert | Medium | Update approach |
| CI/deploy fix | deployment-engineer | Medium | Add to troubleshooting |
## Multi-Memory Architecture
### 1. Semantic Memory (`memory/semantic-patterns.json`)
Stores **abstract patterns and rules** reusable across contexts:
```json
{
"patterns": {
"pattern_id": {
"id": "pat-2025-01-11-001",
"name": "Pattern Name",
"source": "user_feedback|implementation_review|retrospective",
"confidence": 0.95,
"applications": 5,
"created": "2025-01-11",
"category": "prd_structure|react_patterns|async_patterns|...",
"pattern": "One-line summary",
"problem": "What problem does this solve?",
"solution": { ... },
"quality_rules": [ ... ],
"target_skills": [ ... ]
}
}
}
```
### 2. Episodic Memory (`memory/episodic/`)
Stores **specific experiences and what happened**:
```
memory/episodic/
├── 2025/
│ ├── 2025-01-11-prd-creation.jsonFrom zhouguoqing/QianYuan.AIAgenticFramework, Apache-2.0.
More from zhouguoqing/QianYuan.AIAgenticFramework
- 0.589score
pdf
zhouguoqing
Use this skill whenever the user wants to do anything with PDF files.
SkillBFreshness: B★ 37Claude Code +9 - 0.589score
find-skills
zhouguoqing
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express…
SkillBFreshness: B★ 37Claude Code +9 - 0.569score
proactive-agent
zhouguoqing
Transform AI agents from task-followers into proactive partners that anticipate needs and continuously improve.
SkillCFreshness: C★ 37Claude Code +9 - 0.569score
summarize
zhouguoqing
Use the steipete/summarize CLI to summarize URLs, local files, stdin, YouTube links, podcasts, and media with LLM models.
SkillCFreshness: C★ 37Claude Code +9 - 0.569score
brainstorm
zhouguoqing
Collaborative discovery and design framing for ambiguous or high-risk work.
SkillCFreshness: C★ 37Claude Code +9 - 0.564score
weather-query
vikiboss
查询中国各地实时天气和天气预报,包括温度、湿度、风速、空气质量等信息。Use when users ask about weather conditions, forecasts, or climate information for locations in China.
SkillCFreshness: C★ 37Claude Code +9 - 0.558score
git-essentials
zhouguoqing
Essential Git commands and workflows for version control, branching, and collaboration.
SkillCFreshness: C★ 37Claude Code +9 - 0.544score
skill-creator
zhouguoqing
Create new skills, modify and improve existing skills, and measure skill performance.
SkillCFreshness: C★ 37Claude Code +9 - 0.539score
pdf
zhouguoqing
Use this skill whenever the user wants to do anything with PDF files.
SkillCFreshness: C★ 37Claude Code +9 - 0.539score
find-skills
zhouguoqing
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express…
SkillCFreshness: C★ 37Claude Code +9 - 0.521score
api-gateway
maton
Connect to external services through Maton-managed API routes.
SkillCFreshness: C★ 37Claude Code +9
Signals
- Stars
- 37
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- May 29, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Website
- diabetes-buddy.vercel.app
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.342score
self-improving-agent
zhouguoqing
A universal self-improving agent that learns from ALL skill experiences.
SkillCFreshness: C★ 37Claude Code - 0.342score
self-improving-agent
zhouguoqing
A universal self-improving agent that learns from ALL skill experiences.
SkillCFreshness: C★ 37Claude Code - 0.342score
self-improving-agent
zhouguoqing
A universal self-improving agent that learns from ALL skill experiences.
SkillCFreshness: C★ 37Claude Code - 0.342score
self-improving-agent
zhouguoqing
A universal self-improving agent that learns from ALL skill experiences.
SkillCFreshness: C★ 37Claude Code - 0.342score
self-improving-agent
zhouguoqing
A universal self-improving agent that learns from ALL skill experiences.
SkillCFreshness: C★ 37Claude Code - 0.288score
self-improving-agent
bobvarkey
A universal self-improving agent that learns from ALL skill experiences.
SkillCFreshness: CClaude Code - 0.262score
self-improving-agent
bobvarkey
A universal self-improving agent that learns from ALL skill experiences.
SkillDFreshness: D★ 1Claude Code
More from zhouguoqing
- 0.589score
pdf
zhouguoqing
Use this skill whenever the user wants to do anything with PDF files.
SkillBFreshness: B★ 37Claude Code +9 - 0.589score
find-skills
zhouguoqing
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express…
SkillBFreshness: B★ 37Claude Code +9 - 0.569score
summarize
zhouguoqing
Use the steipete/summarize CLI to summarize URLs, local files, stdin, YouTube links, podcasts, and media with LLM models.
SkillCFreshness: C★ 37Claude Code +9 - 0.569score
brainstorm
zhouguoqing
Collaborative discovery and design framing for ambiguous or high-risk work.
SkillCFreshness: C★ 37Claude Code +9 - 0.569score
proactive-agent
zhouguoqing
Transform AI agents from task-followers into proactive partners that anticipate needs and continuously improve.
SkillCFreshness: C★ 37Claude Code +9 - 0.558score
git-essentials
zhouguoqing
Essential Git commands and workflows for version control, branching, and collaboration.
SkillCFreshness: C★ 37Claude Code +9
Cite this page
self-improving-agent skill. Agent Mart. https://agentmart.dev/skills/zhouguoqing-self-improving-agent (last updated 2026-10-24)