A self-improving memory system that enables AI agents to learn from every session and compound knowledge over time.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install compound-engineering
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 compound-engineering 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 provides a framework for AI agents to improve their own performance through systematic self-reflection. By integrating these Openclaw Skills into your workflow, you enable an agent to analyze past sessions, identify successful patterns, and avoid repeating mistakes. This creates a continuous improvement cycle where tomorrow's agent is always more capable than today's, effectively building a custom knowledge base tailored to your specific coding environment.
The skill focuses on extracting high-value data points like user preferences, architectural decisions, and technical gotchas from raw chat logs. This information is then synthesized into structured Markdown files, ensuring that the agent's long-term memory remains organized and actionable without requiring manual intervention from the developer.
Install the skill and trigger manual or automated reviews using the following commands:
# Review last 24 hours and update memory
npx compound-engineering review
# Create hourly memory snapshot
npx compound-engineering snapshot
# Set up automated nightly review (cron)
npx compound-engineering setup-cron
For users integrating with Clawdbot, you can add a nightly review job to your configuration:
{
"id": "compound-nightly",
"schedule": "30 22 * * *",
"text": "Review sessions, extract learnings, and update MEMORY.md and AGENTS.md."
}
The skill organizes knowledge using a hierarchical Markdown structure:
| File | Level | Purpose |
|---|---|---|
MEMORY.md |
Long-term | Stores persistent patterns, user preferences, and core project context. |
memory/YYYY-MM-DD.md |
Daily | Records granular session logs, specific decisions, and immediate learnings. |
AGENTS.md |
Instruction | Updates agent behavioral rules and workflow configurations based on feedback. |
HEARTBEAT.md |
Automation | Optional triggers for hourly snapshots to ensure no context is lost during long sessions. |
Loading
An automated learning framework that enables AI agents to review their work, extract patterns, and compound knowledge daily.

Turn natural language descriptions into fully functional React components with TypeScript and Tailwind support.

An AI-driven CLI tool that injects meaningful inline comments into source code to explain the intent and reasoning behind complex logic.

An AI-driven CLI tool that generates jscodeshift scripts to automate complex, large-scale code refactoring via natural language commands.

Automatically scan and fix Largest Contentful Paint, Cumulative Layout Shift, and First Input Delay issues using AI guidance.

An AI-powered CLI tool designed to scan codebases and provide instant, actionable fixes for Core Web Vitals performance bottlenecks.








































