A skill that enables continuous self-improvement through reflection, learning, and self-modification.
Every task is a learning opportunity. After completing work, reflect on what happened, extract insights, and permanently improve the skill's own capabilities.
Complete Task -> Reflect -> Research -> Record Learning -> Evaluate -> User Confirm -> Apply Changes -> Version
Auto-trigger (record only):
Full evolution (record + modify):
After completing a task, analyze the execution:
Before recording and applying changes, search for relevant external knowledge to
ground the evolution in proven practices rather than purely internal reflection.
This prevents reinventing the wheel and ensures modifications align with
established patterns from the research community.
When to research:
When to skip:
How to research:
python scripts/research_evolution.py --topic "TOPIC" [--max-results 5]
Replace TOPIC with a concise description of the proposed change, e.g.:
"LLM agent self-reflection skill evolution"
"agent evaluator optimizer workflow pattern"
"skill library versioning best practices"
The script searches arxiv and the web for relevant papers and articles.
Review the results and extract actionable insights:
Incorporate these insights into the learning record and use them to refine
the proposed modification before presenting it to the user.
Append the reflection to the evolution log:
python scripts/log_learning.py --category CATEGORY --summary "One-line summary" --detail "Detailed description" --action "What to change"
The log is stored at references/evolution-log.jsonl (one JSON object per line).
Ask: Does this learning warrant a permanent change to the skill's files?
Apply changes when:
Do NOT change files for:
Before applying any changes:
If confirmed, apply changes:
python scripts/apply_evolution.py --type TYPE --content "New content"
Safety rules:
python scripts/validate_skill.py
python scripts/version_bump.py --type major|minor|patch --reason "Why this change"
Version history is stored in references/version-log.jsonl.
Each entry in references/evolution-log.jsonl:
{
"timestamp": "2026-06-01T16:00:00+08:00",
"version": "1.0.0",
"category": "discovery",
"summary": "Brief one-line summary",
"detail": "Full description",
"action_taken": "What was changed",
"files_modified": ["SKILL.md"],
"user_confirmed": true
}
| Category | Meaning |
|----------|---------|
| bugfix | Fixed an error in the skill's own scripts or instructions |
| discovery | Learned something new about tools, APIs, or the environment |
| optimization | Found a better way to do something |
| pattern | Identified a reusable pattern worth recording |
| failure | Something didn't work; recorded to avoid repeating |
| enhancement | Added new capability to the skill |
共 2 个版本