Ctx add learning

From ActiveMemory/ctx · View interactive version

Ctx add learning is an AI agent skill from the GitHub repository ActiveMemory/ctx. Record a learning. Use when discovering gotchas, bugs, or unexpected behavior that future sessions should know about.

How to use this skill

Skill file

Record a learning in LEARNINGS.md.

Before Recording

Three questions: if any answer is "no", don't record:

  1. "Could someone Google this in 5 minutes?" → If yes, skip it
  2. "Is this specific to this codebase?" → If no, skip it
  3. "Did it take real effort to discover?" → If no, skip it

Learnings should capture principles and heuristics, not code snippets.

When to Use

When NOT to Use

Execution

ctx learning add "Title" \
  --context "What were you doing when you discovered this?" \
  --lesson "What's the key insight?" \
  --application "How should we handle this going forward?"

Quality Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.