Agent Self-Evolving Core
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_a6b21d30/self-evolving-core
About this skill
What it solves
A common failure mode for agents is not weak reasoning but missing durable experience: similar mistakes recur, constraints stay buried in chat, and session knowledge disappears after restart. self-evolving-core places task execution, experience extraction, rule prechecks, and memory maintenance into one closed loop, so known pitfalls become searchable, reusable, and verifiable memory.
How it works
- Task logging: after each task,
logrecords the work and automatically checks rules R1-R4, triggering review, immune-rule extraction, or distillation prompts. - Automatic review:
reviewextracts success patterns and failure lessons from task traces, writes them toexperiences.json, and preserves fullerscenarioandlessontext. - Layered memory: memory is split into declarative, procedural, semantic, and working layers;
MEMORY.mdshould hold rules, indexes, and pointers rather than raw experience text. - Immune prechecks: the Router checks existing rules before task execution and emits
critical,warning, orinfoguidance to reduce repeat mistakes. - Dual-location sync: core scripts and config must stay consistent between the working copy and skill source to avoid new workspaces inheriting old bugs.
Boundaries
It fits agent workflows with clear domains and long-term task experience. Benefits are limited for one-off tasks, weakly abstractable lessons, or unstable directory structures. Adopting it means treating log as a mandatory accounting step and maintaining the PINNED section and dual-location sync rules in MEMORY.md.
Use Cases
- After repeated data-extraction failures, run review to extract failure lessons and store immune rules.
- Migrate recurring task constraints from chat history into MEMORY.md as rules, indexes, and path pointers.
- Before deploying to a new workspace, sync core scripts such as evolution_guardian.py to avoid old bugs.
- Record each task trace with log so R1-R4 checks can trigger review or distillation automatically.
Best For
- Engineers maintaining long-running agent workflows who want to convert failure lessons into reusable rules.
- Agent architects coordinating multi-domain tasks and needing unified routing, review, and memory indexes.
- Development leads deploying agents in Cursor or WorkBuddy who must keep working copies and skill source in sync.
- Prompt engineers governing MEMORY.md who want to turn note-like experience entries into rule pointers.
Related Skills
Provides Claw with character-library selection, switching, saving, and global SOUL.md style sync for role-based conversation.
An AIONE Agentic AI Infrastructure SDK wrapper for building production AI agents with memory, skills, workflows, and hooks.
A Python/TypeScript SDK wrapper for the DeepSeek-Reasonix native AI coding agent, with prefix-cache support.
A browser automation tool for analysts, operators, and developers that locates elements, fills forms, extracts structured content, and supports no-code scheduling and export.