lessons

Capture lessons from Claude Code sessions into workspace memory.

2|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/MDGrey33/memnyx --skill lessons-mdgrey33
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lessons
Source: https://github.com/MDGrey33/memnyx/tree/main/.claude/skills/lessons
Command: npx skills add https://github.com/MDGrey33/memnyx --skill lessons-mdgrey33

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill turns session takeaways into durable memory so recurring mistakes, user preferences, and workflow patterns are not lost between Claude Code sessions.

Core Features & Use Cases

  • Lesson capture: Record a single lesson directly into the workspace memory file with the right category.
  • Session scanning: Review recent markdown session summaries to find repeated issues, confirmations, and abandoned approaches.
  • Deep transcript analysis: Mine JSONL transcripts for stronger signals such as retry loops, frustration, tool failures, and silent skill breakdowns.
  • Skill improvement pipeline: Draft structured change proposals and hand them off to skills-manager instead of editing skill files directly.
  • Use case: After a difficult debugging session, use this Skill to capture what went wrong, store it in memory, and generate a proposal for updating the affected workflow.

Quick Start

Ask the lessons skill to capture one lesson or scan recent sessions for skill-change proposals.

Frequently Asked Questions about lessons

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

FAQPage Schema
How do I save lessons learned from a Claude Code session into workspace memory?

To save lessons from a Claude Code session, you can use the lessons skill to capture individual takeaways or scan session summaries directly into workspace memory files with proper categorization.

Can I analyze JSONL transcripts to identify recurring debugging mistakes and workflow failures?

You can perform deep transcript analysis on JSONL files to mine for stronger signals like retry loops, tool failures, and silent skill breakdowns, turning them into structured lessons.

What is the best way to generate skill improvement proposals from past coding sessions?

The best way to generate skill improvement proposals is to scan recent session summaries or transcripts, draft structured change proposals, and hand them off to a skills-manager instead of editing files directly.

Does capturing session lessons require a specific workspace scope or environment setup?

Capturing session lessons requires workspace scope resolution to correctly target the memory file, and it supports optional cognee storage for persisting the categorized lessons.

How are captured lessons categorized to prevent losing workflow patterns between sessions?

Captured lessons are categorized during the capture process to ensure recurring mistakes, user preferences, and workflow patterns are organized and retained in workspace memory across sessions.

When should I use deep transcript scans instead of default session summary scans?

Use deep transcript scans instead of default session summary scans when you need to mine JSONL transcripts for stronger behavioral signals like retry loops, frustration, and silent skill breakdowns.