self-improving-agent
Instinct-based continuous learning system. Captures atomic learnings (instincts) with confidence scoring, supports project-scoped vs global scope, and evolves instincts into skills/commands/agents. Use when: (1) A command fails, (2) User corrects you, (3) Discovering patterns, (4) Need to review or evolve learned behaviors. Supports both v1 (markdown-based) and v2 (instinct-based) modes.
Why use this skill?
Enhance OpenClaw with the self-improving-agent skill. Capture atomic instincts, automate project-specific workflows, and evolve your agent's intelligence.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/huamu668/self-improving-agent-eccWhat This Skill Does
The self-improving-agent is a sophisticated, instinct-based continuous learning system designed for the OpenClaw AI agent. It allows the agent to transform individual Claude Code sessions into a persistent, evolving body of knowledge. By capturing atomic "instincts"—small, granular behavioral patterns—the agent can remember user preferences, coding standards, and debugging strategies across different project contexts. This skill supports two distinct modes: the modern, confidence-weighted v2 (Instinct-Based) mode and the legacy v1 (Markdown-Based) mode. V2 is the recommended approach for its project-scoped isolation and ability to evolve behaviors from tentative suggestions to core, automated command-line instructions.
Installation
To integrate this intelligence layer into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/huamu668/self-improving-agent-ecc
Ensure you have the necessary permissions enabled for file-write access, as the agent requires this to store instinct YAML files and update its knowledge base.
Use Cases
- Command Failures: If a specific terminal command or script fails, the agent records the context to prevent future execution errors.
- User Corrections: When you correct the agent's output, it captures the correction as an instinct to refine future responses.
- Pattern Discovery: The agent monitors workflow sequences, automatically flagging recurring patterns for future automation.
- Project Separation: Easily manage distinct coding conventions by scoping instincts to specific project directories, ensuring React patterns don't bleed into your Python backend scripts.
Example Prompts
- "I corrected your approach to the API wrapper implementation; please save that as an instinct so you remember it for the rest of this project."
- "We've been using this specific logging format for the last five files. Can you observe this pattern and create a new instinct with high confidence?"
- "Run /instinct-status to show me all the learned behaviors currently affecting this repository and let me know if any need to be promoted to global scope."
Tips & Limitations
- Confidence Management: Use lower confidence scores (0.3) for experimental behaviors to avoid over-automation until you are certain of the pattern's reliability.
- Regular Pruning: Periodically use the /evolve command to consolidate atomic instincts into more complex, manageable skills.
- Scope Discipline: Keep project-specific logic scoped locally to avoid cluttering your global command namespace with repo-specific quirks.
- Limitations: While highly capable, the agent relies on your feedback for high-accuracy reinforcement; be proactive in correcting it early to train it effectively.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-huamu668-self-improving-agent-ecc": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
Writing Assistant Pro
Skill by huamu668
web-quality-audit
Comprehensive web quality audit covering performance, accessibility, SEO, best practices, and browser automation testing. Supports automated testing with PinchTab for headless/headed browser control, multi-instance orchestration, and token-efficient content extraction.
memos-recall
Recall memories from MemOS Cloud before responding. Use this skill when you need context about user's previous conversations, preferences, or decisions.
browser-automation
Browser automation for AI agents using PinchTab. Control Chrome programmatically for testing, scraping, and interaction. Features token-efficient text extraction, multi-instance orchestration, headless/headed modes, and MCP integration. Use when automating browser tasks, extracting web data, testing web apps, or validating sites in real browsers.
Huamu668 Openclaw Security
Skill by huamu668