Introduction¶
When working on long tasks with a Coding Agent, a common scenario is: a specific tool call fails or a certain constraint is ignored. You correct it once in the conversation, but if you switch to a new session or task, the same type of problem reappears. While manually writing these lessons into rules or MEMORY can help, it relies on you remembering to record them completely, and these notes often fail to align with the actual runtime logs.
This article introduces the Self-Evolving Framework (coordinate @user_a6b21d30/self-evolving-core) available on SkillHub. It connects “runtime logs → automatic actions → experience extraction → persistence → routing & loading” into a closed loop. The goal is to allow the Agent to accumulate reusable experience from its own logs without requiring manual organization from you step-by-step.
What is this?¶
The Self-Evolving Framework is a Skill providing self-evolution capabilities for AI Agents. It features automatic logging, threshold detection, an experience extraction closed loop, and immunity rules, while emphasizing zero truncation of data throughout the entire pipeline. It is published by the community user user_a6b21d30, categorized under ai-agent, with the current version at 5.2.1, and the source is marked as community. The SkillHub page indicates requires_api_key=false, meaning it does not depend on any additional API Key configuration.
The official one-sentence summary of its capability is: log → R1/R2/R3 automatic actions → auto-review to extract experience → write to JSON → Router loads and applies. Once the learning loop is closed, the experiences are loaded via the Router side, eliminating the need for manual transfer of experience.
- SkillHub Display Page: https://www.skillhub.cn/skills/user_a6b21d30/self-evolving-core
- Resource Address: https://api.skillhub.cn/user_a6b21d30/self-evolving-core
Core Functions¶
The following details are sourced from the official introduction and the SkillHub page; unpublished configuration details are not expanded upon here.
Automatic Logging and Threshold Detection¶
Logs generated during the runtime process are continuously recorded (“automatic logging”). When metrics or anomalies reach set thresholds, subsequent automatic actions are triggered, rather than just leaving the errors within the conversation context.
R1 / R2 / R3 Automatic Actions¶
The official framework summarizes the automatic responses within the closed loop into three tiers of actions: R1, R2, and R3, driven by logs and detection results. Specific trigger conditions and action semantics should be based on the installed Skill documentation (SKILL.md). The key point emphasized externally is the availability of structured responses on the exception path, rather than relying solely on temporary reminders within the current conversation turn.
auto-review and Experience Writing to JSON¶
Following the aforementioned actions, auto-review automatically extracts reusable experience from the complete logs and writes them into JSON for persistence. The official emphasis is on “zero data truncation and complete information preservation,” to avoid losing critical context due to truncation during experience refinement.
Immunity Rules and Router Loading¶
The extraction results are combined with immunity rules (to avoid repeating past mistakes), which are then loaded and applied by the Router in subsequent tasks. This ensures that new sessions or tasks do not need to verbally re-clarify the same types of constraints.
Installation and Activation¶
SkillHub recommends two methods: installing via CLI to the current Agent’s skills directory, or sending the installation prompt to the AI to perform the installation based on the official documentation.
1. Install SkillHub CLI (if not already installed)¶
First, check if skillhub is available:
command -v skillhub && skillhub --version
If not installed, you can execute the full installation (CLI + default Skills) according to the SkillHub installation documentation:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
Full installation instructions: https://skillhub.cn/install/skillhub.md
2. Install this Skill¶
It is mandatory to use --dir to point to the skills directory actually used by your current Agent. Otherwise, it will be installed to ./skills/ by default, which the Agent may not be able to recognize.
skillhub install @user_a6b21d30/self-evolving-core --dir <your skills directory>
Common client skills paths (excerpted from SkillHub installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Alternatively, on the SkillHub skill page, you can send the following prompt to the AI to let it complete the installation according to https://skillhub.cn/install/skillhub.md:
Please install `@user_a6b21d30/self-evolving-core` according to https://skillhub.cn/install/skillhub.md.
After installation is complete, refresh or restart your Agent as required by your client to ensure the Skill is loaded.
Typical Usage¶
The public materials do not provide a standalone demo repository or step-by-step screenshots; the reproducible usage can be understood in two layers.
Installation Layer: Complete the CLI or prompt installation described in the previous section, ensuring that @user_a6b21d30/self-evolving-core appears in the corresponding skills directory with the same version as SkillHub (currently v5.2.1).
Runtime Layer: Allow the framework to participate in the default workflow during normal Agent tasks—the task generates a log, triggers R1/R2/R3 when conditions are met, writes to JSON via auto-review, and is loaded by the Router in subsequent rounds. You do not need to manually maintain a list of experiences in every conversation; when verifying behavior, refer to the SKILL.md inside the Skill package and the generated JSON storage location (specific paths depend on the post-installation documentation).
Applicable Scenarios and Notes¶
Who is it for
- Long-duration, multi-step Agent development or operations tasks where the cost of repetitive errors is high.
- Users who want experience to be derived from real runtime logs rather than scattered chat notes.
- Users utilizing clients that support SkillHub / generic
SKILL.md(such as Cursor, Claude Code, Codex, etc.).
Usage Notes
- Sourced from the community (
community); behavior and storage paths should be based on the documents within the installation package. Pay attention to the version number on SkillHub before upgrading. - SkillHub Statistics (as of page capture): Rating 100000, Downloads 932, Install Count 0—the install count may not fully reflect actual usage and is for reference only.
- Self-evolution depends on log quality and threshold design; if the task itself does not produce analyzable logs, the effectiveness of the closed loop will be discounted.
- Immunity rules and JSON experiences will alter subsequent routing behavior. For critical environments, it is recommended to observe one round of the closed loop in a non-production environment before promotion.
Conclusion¶
The Self-Evolving Framework connects logs, automatic actions, auto-review, JSON persistence, and Router loading into an automatically running learning loop. It is designed for Agent operations scenarios where “you only fall into the same trap once.” If you wish to install or view details from SkillHub, you can start from the official display page: https://www.skillhub.cn/skills/user_a6b21d30/self-evolving-core .