Skip to content
Skills Library
AI & agents · Writing

ctx-add-learning

/ctx-add-learning

Record a learning. Use when discovering gotchas, bugs, or unexpected behavior that future sessions should know about.

Repository
ctx ↗
Licence
Apache-2.0
Last repository change
18.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 18.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Record a learning. Use when discovering gotchas, bugs, or unexpected behavior that future sessions should know about.

Original author description

Record a learning. Use when discovering gotchas, bugs, or unexpected behavior that future sessions should know about.

How it works

  1. Before Recording
  2. When to Use
  3. When NOT to Use
  4. Execution
  5. Quality Checklist
Original SKILL.md headings · 41 lines, 199 words
SKILL.md preview
---
name: ctx-add-learning
description: "Record a learning. Use when discovering gotchas, bugs, or unexpected behavior that future sessions should know about."
tools: [bash]
---

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

- After discovering a gotcha or unexpected behavior
- When a debugging session reveals root cause
- When finding a pattern that will help future work

## When NOT to Use

- General programming knowledge (not specific to this project)
- One-off workarounds that won't recur
- Things already documented in the codebase

## Execution

```bash
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

- [ ] Context explains what happened (not just what you learned)
- [ ] Lesson is a principle, not a code snippet
- [ ] Application gives actionable guidance for next time
- [ ] Not already in LEARNINGS.md (check first)

Versions

The database has no other skills named ctx-add-learning.

Database snapshot: 13.11.2026 · package version 711322eead88 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100ctx-learning-add
    Record a learning. Use when discovering gotchas, bugs, or unexpected behavior that future sessions should know about.
  • 100ctx-add-decision
    Record architectural decision. Use when a trade-off is resolved or a non-obvious design choice is made that future sessions need to know.
  • 100session-learning
    This skill should be used when the user asks about "session learning", "learn from session", "improve future sessions", "session reflection", "session metrics", "session analysis", "/session-reflect", "req learning", "learning updates", "rollback learning", or wants to…
  • 100claude-reflect
    Self-learning system that captures corrections during sessions and reminds users to run /reflect to update CLAUDE.md. Use when discussing learnings, corrections, or when the user mentions remembering something for future sessions.
  • 100lean-ctx-review
    Review how the lean-ctx ctx_* MCP tools performed in the current session and file upstream issues for confirmed problems. Use when the user asks to review/audit lean-ctx tool performance, says "lean-ctx review", asks why ctx_* tools failed or fell back to native tools, or wants…
  • 96remember
    Use when the user asks to remember, record or save something for future sessions (a gotcha, a decision, or a convention), e.g. "remember that...", /waymark:remember.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.