compound-engineering
Make your AI agent learn and improve automatically. Reviews sessions, extracts learnings, updates memory files, and compounds knowledge over time. Set up nightly review loops that make your agent smarter every day.
Why use this skill?
Enable continuous AI growth with Compound Engineering. Automatically review sessions, log learnings, and update memory files to make your agent smarter every single day.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/lxgicstudios/compound-calcWhat This Skill Does
Compound Engineering enables your AI agent to engage in self-improvement through autonomous reflection. By systematically reviewing past sessions, the skill extracts patterns, identifies potential pitfalls (gotchas), updates preferences, and archives key decisions. It fundamentally transforms your agent from a static tool into an evolving system that learns from its history. The process utilizes structured memory files, specifically MEMORY.md for long-term knowledge and dated files within the memory/ directory for granular, daily tracking. By scheduling these reviews, you ensure that your agent starts every day with the cumulative context of all previous successes and failures, effectively 'compounding' its competence over time.
Installation
To begin, ensure your OpenClaw agent environment is prepared for file system modifications. You can install the skill by executing: clawhub install openclaw/skills/skills/lxgicstudios/compound-calc. Once installed, integrate the cron functionality by adding the nightly review job to your clawdbot configuration, which ensures the agent processes the last 24 hours of logs at a designated time (e.g., 10:30 PM). If manual triggering is required, use the npx compound-engineering review command to perform an immediate audit of recent work cycles.
Use Cases
- Continuous Integration of Preferences: Automatically updating agent instructions based on subtle user feedback given throughout the week.
- Project Long-Term Memory: Maintaining a living record of complex project decisions so the agent doesn't repeat the same analytical errors on multi-day tasks.
- Error Mitigation: Logging 'gotchas' encountered during code execution to ensure the agent avoids them in future iterations.
- Workflow Optimization: Refining agent instructions in
AGENTS.mdwhenever a faster or more accurate pattern is discovered.
Example Prompts
- "Run a review of the last 24 hours. Extract any new patterns in how I prefer my code structured and update MEMORY.md accordingly."
- "Perform a summary snapshot of our current progress on the database migration project and identify any unfinished tasks to add to my TODO list."
- "Review the session from earlier today where we debugged the API connection. Log the specific cause of the failure and the solution we found into the project memory files."
Tips & Limitations
- Granularity: Keep your daily logs concise to ensure the agent can easily synthesize them during the nightly review.
- Verification: Always review the generated
MEMORY.mdupdates once a week to ensure the agent hasn't 'over-learned' or hallucinated patterns that don't exist. - Storage: Note that this skill requires read/write access to your local files; ensure your project directory is version-controlled with Git to easily roll back if an automated update introduces undesirable behaviors.
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-lxgicstudios-compound-calc": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
script-gen
Generate package.json scripts with AI. Use when setting up npm scripts.
email-template-gen
Generate responsive email templates. Use when building transactional emails.
branch-namer
Generate descriptive git branch names from plain English. Use when you need a branch name that follows conventions.
cloudflare-gen
Generate Cloudflare Workers configuration and code. Use when building on the edge.
adr-writer
Generate Architecture Decision Records with AI. Use when documenting technical decisions.