An advanced error-learning and long-term memory system designed to prevent repeated mistakes and store user preferences for AI agents.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install lessons-learned
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 lessons-learned using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Lessons Learned skill is a core behavioral framework within the Openclaw Skills ecosystem. It enables AI coding agents to maintain a persistent memory of user preferences, habits, and past failures. By analyzing operation outcomes and monitoring for prohibited commands, this skill ensures that the agent becomes more reliable and personalized over time. It transforms every interaction into a learning opportunity, moving beyond session-based limitations to provide a truly continuous and safe developer experience.
To integrate this functionality into your agent environment using Openclaw Skills, ensure the directory structure exists and register the necessary command triggers.
mkdir -p memory/lessons
touch memory/lessons/MISTAKES.md memory/lessons/LESSONS_LEARNED.md MEMORY.md
Manual triggers can be invoked directly in the chat interface:
/lessons_learned learn <error_description> # Record a mistake
/lessons_learned check <operation> # Verify an action against rules
/lessons_learned memory <content> # Manually persist information
The skill organizes its intelligence across several Markdown files within a specific hierarchy to ensure clarity and accessibility:
| File | Purpose |
|---|---|
| memory/lessons/MISTAKES.md | Raw logs of failed operations and error analysis. |
| memory/lessons/LESSONS_LEARNED.md | Processed rules and mandatory standards derived from past mistakes. |
| memory/lessons/PROHIBITED.md | Blocklist of high-risk commands and restricted keywords. |
| memory/lessons/HABITS.md | Documented user behavior patterns and UI preferences. |
| memory/lessons/SYSTEM_PROMPT.md | Injection templates for keeping rules active in agent context. |
| MEMORY.md | The primary long-term memory store for general user context. |
Loading
A diagnostic and recovery tool for OpenClaw that automates model switching and restores assistant communication when replies fail.

A specialized tool for interacting with the arXiv Crawler API to fetch academic papers, read community reviews, and submit comments.

A real-time news aggregation engine designed for Openclaw Skills that pushes market-moving updates from RSS, social media, and crypto sources to Discord and Telegram.

A high-performance query tool for retrieving real-time adult video metadata, rankings, and actress details from the FANZA GraphQL API.

A multi-source news aggregator that fetches, filters, and analyzes real-time global trends across tech, finance, and social platforms.

A persistent 3-layer trading memory system for AI agents to record trades, analyze patterns, and automate strategy adjustments.








































