lesson

Extract and store key lessons from recent conversation context.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/Qiue-G/Claw-X --skill lesson-qiue-g
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lesson
Source: https://github.com/Qiue-G/Claw-X/tree/main/.openclaw/plugins/memory-lancedb-pro/skills/lesson
Command: npx skills add https://github.com/Qiue-G/Claw-X --skill lesson-qiue-g

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Stores and persists important lessons from conversations so the AI can improve future interactions and avoid repeating mistakes.

Core Features & Use Cases

  • Extracts key pitfalls, fixes, and insights from recent chats.
  • Stores both a knowledge record (fact: pitfall, root cause, fix) and a decision principle (behavioral rule) for long-term memory.
  • Provides quick recall of saved lessons to inform ongoing conversations.

Quick Start

Invoke /lesson to store the latest pitfall and insight from the conversation.

Frequently Asked Questions about lesson

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I persist conversation lessons to long-term AI memory?

To persist conversation lessons to long-term AI memory, invoke the /lesson command after significant interactions. It extracts key pitfalls, root causes, and fixes from the recent chat context, storing them as knowledge records and decision principles for future recall.

Can I save conversation pitfalls and fixes to improve future AI responses?

Yes, you can save conversation pitfalls and fixes to improve future AI responses. The skill stores both a knowledge record of the root cause and fix, alongside a behavioral decision principle, enabling the AI to avoid repeating past mistakes in ongoing chats.

When should I extract insights from a conversation for long-term memory?

You should extract insights from a conversation for long-term memory after significant interactions where key pitfalls, fixes, or decision principles were discussed. Invoking the skill during these moments ensures critical context is captured and stored for future use.

Does the lesson skill store both facts and behavioral rules from chats?

Yes, the lesson skill stores both facts and behavioral rules from chats. It saves a knowledge record containing the pitfall, root cause, and fix, as well as a decision principle that acts as a behavioral rule to guide the AI's future actions and responses.

What is the best way to capture decision principles across multiple chats?

The best way to capture decision principles across multiple chats is to invoke the /lesson command. It identifies and stores key takeaways from the most recent conversation context, applying them to long-term memory to improve future interactions and recall.