learn

Capture session patterns and persist them to memory.md and lessons.md.

1|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/Joaovsales/coding-agent-workflow --skill learn-joaovsales
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: learn
Source: https://github.com/Joaovsales/coding-agent-workflow/tree/main/.agents/skills/learn
Command: npx skills add https://github.com/Joaovsales/coding-agent-workflow --skill learn-joaovsales

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill captures durable patterns from the current session and persists them to memory.md and lessons.md to improve future work and reduce repeated mistakes.

Core Features & Use Cases

  • Capture 1–5 patterns per session that reveal insights, decisions, and deviations.
  • Persist insights to tasks/memory.md and tasks/lessons.md for continuity across sessions.
  • Update Session History and guide future planning with a concise retrospective.

Quick Start

Run the learn action during a session to capture patterns and persist them to memory.md and lessons.md.

Frequently Asked Questions about learn

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

FAQPage Schema
How do I capture lessons learned from a coding session and save them to memory?

To capture lessons learned, run the learn action during an interactive session to extract 1–5 durable patterns and persist them directly to memory.md and lessons.md for future continuity.

What is the best way to persist session insights for future retrospectives?

The best way to persist session insights is to capture deviations and decisions during your workflow, saving them to memory.md and lessons.md to update Session History and guide future planning.

How does capturing session patterns reduce repeated mistakes in software engineering?

Capturing session patterns reduces repeated mistakes by extracting durable insights from current work and persisting them to memory.md, ensuring past decisions and deviations are available for future reference.

Can I clean up session memory files after persisting patterns to lessons.md?

Yes, you can clean up session memory files by running the learn action with the optional --cleanup flag within the session workflow to manage your persisted memory and lessons data.

Do I need specific dependencies to persist patterns to memory.md and lessons.md?

No specific dependencies are required to persist patterns to memory.md and lessons.md; the workflow operates independently within your session environment to capture and store learnings.

When should I record session learnings instead of relying on default project history?

You should record session learnings during interactive sessions where insights, mistakes, and patterns emerge, ensuring durable knowledge is captured in tasks/memory.md rather than lost to default logs.