Introduction¶
In long-running tasks, it is common for commands to fail, tools to error out, or users to change conclusions on the spot. If only the current step is modified each time without writing lessons into reusable memory, similar errors will recur in subsequent conversations. Below is an introduction to the community Skill Self-reflection (Coordinate @user_416e33b9/reflection-v2): According to the official description, it combines self-reflection, self-criticism, self-learning, and self-organizing memory. This allows the Agent to evaluate its own output, discover errors, and attempt to form more persistent improvements, rather than simply “fixing and forgetting” within a single conversation.
What is this¶
Self-reflection is a community Skill on SkillHub categorized under ai-agent. The current version is 1.0.0, published by user_416e33b9 (displayed as “一路向西” on the SkillHub page). The tag requires_api_key=false indicates that, according to the page information, installing and using this Skill does not depend on an additional API Key.
The official brief summarizes four capabilities: Self-reflection, Self-criticism, Self-learning, and Self-organizing memory—the Agent evaluates its own work, captures errors, and organizes memory and behavior towards “permanent improvement” (descriptions are from the SkillHub page and crawled metadata, not independent evaluation conclusions).
- SkillHub Skill Page: https://www.skillhub.cn/skills/user_416e33b9/reflection-v2
- Coordinate:
@user_416e33b9/reflection-v2
Core Features (Based on Official Description)¶
The following capability points are derived from the SkillHub brief and metadata; internal steps of the unpublished SKILL.md are not expanded upon.
- Self-evaluation and Error Correction: Review results after task execution to identify errors or deviations from expectations.
- Self-criticism: When users negate or correct, incorporate correction information into subsequent judgments rather than just replacing the current reply.
- Self-learning: Update reusable experience statements when knowledge is found to be outdated or when better practices are discovered.
- Self-organizing Memory: Precipitate the above processes into searchable, reusable memory structures to reduce repeating mistakes.
The Recommended Triggers provided by the officials (summarized from the original five points):
- A command, tool, API, or operation fails;
- The user corrects you or rejects your output;
- You realize your knowledge is outdated or incorrect;
- You discover a better approach;
- The user explicitly installs or references this Skill for the current task.
Installation and Activation¶
SkillHub provides two common paths: using the SkillHub CLI to install to the current Agent’s skills directory, or handing the installation prompt to an AI client that supports Skills.
1. Install SkillHub CLI (if not already installed)¶
First, check if the CLI exists:
command -v skillhub && skillhub --version
If not installed, you can follow the SkillHub installation documentation to perform a full installation (CLI + default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
CLI only:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install Self-reflection¶
When installing any Skill, you must use --dir to point to the skills directory actually read by the current Agent; otherwise, it will default to ./skills/, which may not be recognized.
skillhub install user_416e33b9/reflection-v2 --dir <skills directory>
Common client skills paths (excerpted from SkillHub installation documentation):
| Client | skills Directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
Replace <skills directory> with the corresponding path for your current environment. The documentation also mentions that some products like OpenClaw variants have similar skills directories, which need to be confirmed based on the Agent you are using.
3. Install via Chat¶
The prompt provided by the SkillHub skill page is:
Please install `@user_416e33b9/reflection-v2` according to https://skillhub.cn/install/skillhub.md.
Send the above content to an Agent connected to Skill capabilities, and let it complete the search/install and directory verification according to skillhub.md.
Typical Usage¶
Public materials do not include copyable end-to-end dialogue scripts; the usage boundaries are subject to the official “When to Use”. In practice, you can implement it following the rhythm below (consistent with the brief, without fabricating internal protocols):
- Trigger on Failure: After a tool or command fails, do not just retry with the same parameters; in a session with this Skill enabled, let the Agent explain the failure reason, assumptions, and next verification method, and write it into its self-organizing memory (specific fields subject to the SKILL instructions after installation).
- User Correction: When the user points out errors or changes plans, explicitly reference this Skill or keep it enabled to facilitate treating corrections as learning events rather than single-turn patches.
- Cognitive Update: When you or the Agent find that documentation/APIs are inconsistent with old cognition, perform a reflective update according to the Skill’s requirements to prevent old conclusions from continuing to pollute subsequent steps.
- Explicit Reference: For long-cycle tasks, you can state at the beginning of the task “This task enables
@user_416e33b9/reflection-v2”, corresponding to the fifth official scenario.
Applicable Scenarios and Notes¶
Who is it for
- Developers who need Agents to reduce repeat errors and retain correction experience in multi-step engineering tasks;
- Users who frequently perform automated operations in clients supporting skills directories like Cursor, Claude Code, and Codex.
Limitations and Notes
- Capability descriptions come from the SkillHub brief; specific reflection processes and memory formats are subject to the Skill files after installation; this article does not read the full text of SKILL.md in the repository and does not list unverified configuration items.
- Community source (
community); maintenance rhythm and compatibility require attention to updates of version 1.0.0. - SkillHub page metadata (at time of crawl): Rating approximately 100000, Downloads 1023, Installs 14—serves only as a popularity reference, not a guarantee of effectiveness.
- Self-organizing memory changes the Agent’s subsequent behavior; for sensitive projects, please pay attention to memory content and compliance boundaries.
Conclusion¶
Self-reflection extends “retrying after failure” to an Agent working mode of “reflecting after failure, learning after being corrected, and precipitating experience”; it does not depend on an API Key and can be installed via the SkillHub coordinate @user_416e33b9/reflection-v2. Official入口: https://www.skillhub.cn/skills/user_416e33b9/reflection-v2; Installation instructions: https://skillhub.cn/install/skillhub.md.