ctx-add-learning

Record structured learnings with context, lesson, and application in LEARNINGS.md.

74|14|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/ActiveMemory/ctx --skill ctx-add-learning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ctx-add-learning
Source: https://github.com/ActiveMemory/ctx/tree/main/internal/tpl/claude/skills/ctx-add-learning
Command: npx skills add https://github.com/ActiveMemory/ctx --skill ctx-add-learning

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Record a learning to capture important insights, gotchas, or lessons from debugging sessions so future teammates can benefit from your experience.

Core Features & Use Cases

  • Guided recording: before recording, three questions determine whether a learning should be added.
  • Centralized knowledge: learnings are stored in LEARNINGS.md for long-term reference and policy improvements.
  • Reuse and governance: provides structured fields for context, lesson, and application to drive actionable changes.

Quick Start

Record a learning by running ctx add learning with a title, context, lesson, and application details.

Frequently Asked Questions about ctx-add-learning

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

FAQPage Schema
How do I record a debugging learning for my team's knowledge base?

To record a debugging learning, run ctx add learning with a title, context, lesson, and application details to append the entry to LEARNINGS.md. This guides you through three prompts to capture the context, lesson, and application.

What should I document when capturing a bug or gotcha for future reference?

When capturing a bug or gotcha, you should document the context of the issue, the lesson learned, and how to apply that lesson in the future. This structured approach ensures future teammates can benefit from your debugging experience.

Can I use this to add a retrospective pattern to a markdown knowledge base?

Yes, you can use it to add a retrospective pattern to a markdown knowledge base by appending structured entries to LEARNINGS.md. This centralizes your learnings for long-term reference and policy improvements.

Does recording a learning require any specific project setup?

Recording a learning requires no special project setup beyond having a LEARNINGS.md file available for appending entries. The process uses the ctx add learning command to guide you through the required context, lesson, and application prompts.

What is the best way to structure workflow learnings for future sessions?

The best way to structure workflow learnings is to use a guided format with context, lesson, and application fields. This ensures the recorded entries drive actionable changes and provide clear guidance for future work sessions.