A sophisticated agent learning system that filters, scores, and promotes corrections and patterns into permanent project memory through a quality-gated pipeline.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install midos-self-improver
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install midos-self-improver using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The midos-self-improver skill provides a robust framework for AI agents to evolve based on real-world interactions. Unlike typical systems that suffer from knowledge base pollution, this Openclaw Skills entry uses a multi-stage pipeline consisting of capture, quality gating, staging, scoring, and promotion. It ensures that only recurring, high-impact insights become part of the permanent project memory.
By implementing this skill, developers can transform transient session data into durable rules. This prevents the agent from repeating the same mistakes and allows it to adopt best practices specific to your codebase. As a core part of the Openclaw Skills ecosystem, it bridges the gap between raw tool outputs and refined, actionable project intelligence.
To integrate this capability into your Openclaw Skills environment, you can use the standalone mode by adding the protocol to your project instructions. Begin by preparing the directory structure:
mkdir -p .learnings/entries .patterns .knowledge
Next, define the promotion thresholds in your agent's system prompt to ensure it tracks corrections and errors. For high-performance environments, you can invoke the pattern harvester via Python:
python -c "from hooks.pattern_harvester import assess_pattern_value; assess_pattern_value()"
The skill manages data across a tiered directory structure to maintain organization and clarity. Openclaw Skills users can inspect the following hierarchy:
| Directory | Data Type | Retention Policy |
|---|---|---|
.learnings/ |
Raw JSON entries | 30-day window |
.patterns/ |
Markdown staging files | Until promoted or pruned |
.knowledge/ |
Permanent promoted rules | Persistent |
JSON Entry Metadata:
id: Unique hash based on normalized content.type: One of 5 trigger categories.scores: A composite of recurrence (0.35), freshness (0.25), specificity (0.20), and impact (0.20).status: Current lifecycle state (staging, promoted, or pruned).Loading
A production-grade implementation guide for Next.js 15 and 16 focusing on async APIs, caching changes, and Turbopack performance.

MidOS is a comprehensive knowledge middleware layer that provides AI agents with long-term memory, hybrid search, and multi-step planning capabilities.

A definitive collection of production-ready Go 1.24+ patterns covering concurrency, web services, database access, and testing.

Accelerate backend development with production-ready FastAPI patterns for Pydantic v2, async workflows, and secure deployments.

A production-grade collection of Rust patterns for async concurrency, web services, and systems integration using the 2024 edition.

Master advanced TypeScript patterns like branded types and discriminated unions to build industrial-grade, type-safe applications.








































