A self-improving memory framework that enables AI agents to review their work, extract patterns, and compound knowledge daily.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install ai-compound
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 ai-compound using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Compound Engineering is a specialized framework designed to create a continuous improvement loop for AI agents. It functions by systematically reviewing agent sessions, extracting valuable insights, and updating persistent memory files. This ensures that the agent's knowledge base grows more refined over time, allowing it to anticipate user needs and avoid previously encountered pitfalls. By integrating these Openclaw Skills into your workflow, you transition from using a static model to a dynamic partner that evolves alongside your project.
The core value of this skill lies in its ability to automate the cognitive overhead of documentation. Instead of manually updating project instructions or preference files, the agent assumes responsibility for its own growth. It analyzes decisions, captures recurring patterns, and identifies unfinished tasks, ensuring that the agent you interact with tomorrow is fundamentally more capable and context-aware than the one you used today.
Get started with Compound Engineering to enhance your Openclaw Skills experience by following these steps:
# Manually trigger a review of the last 24 hours
npx compound-engineering review
# Initialize hourly memory snapshots
npx compound-engineering snapshot
# Configure the automated nightly review via cron
npx compound-engineering setup-cron
For users integrating with Clawdbot, you can add a nightly review job directly to your configuration to automate the extraction of patterns, mistakes, and user preferences into your global memory files.
The skill maintains a structured memory taxonomy to balance high-level wisdom with granular session data:
| Component | File Path | Description |
|---|---|---|
| Long-term Memory | MEMORY.md |
Central repository for successful patterns, gotchas, and user preferences. |
| Daily Logs | memory/YYYY-MM-DD.md |
Specific session summaries, decisions made, and open items for a given day. |
| Agent Instructions | AGENTS.md |
Operational workflows and system prompts updated based on compounded learnings. |
| Hourly Snapshots | memory/YYYY-MM-DD-HH.md |
Optional granular logs for high-frequency task tracking. |
Loading
A CLI-driven AI tool that transforms natural language descriptions into production-ready UI components across multiple frameworks.

An AI-driven CLI tool that automatically generates meaningful inline comments focusing on logic and intent rather than just syntax.

An AI-driven CLI tool that converts natural language descriptions into robust AST-based codemods for safe, large-scale code refactoring.

Cloudflare Gen is an AI-driven tool that translates natural language prompts into fully configured Cloudflare Workers and edge functions.

An AI-powered diagnostic tool that scans your source code to identify and provide actionable fixes for Core Web Vitals performance bottlenecks.

An AI-driven tool that analyzes code coverage gaps and generates targeted unit tests to improve software reliability.








































