| name | ContinuousLearning |
| description | Reference for LTM memory commands, context hooks, and DB schema; use when the user mentions learning, recalling, forgetting, relating, or capturing memory, or when a session starts or the project changes. |
| user-invocable | false |
| version | 2.1.0 |
ContinuousLearning
SQLite-backed memory system at $CLAUDE_PLUGIN_DATA/openltm.db. Two tables: memories (global learned insights) and context_items (per-project goals/decisions/progress/gotchas).
Workflow Routing
| Trigger | Action |
|---|
| "Learn this", "Remember this", "Save this pattern" | Run /openltm:memory learn |
| "What do I know about X?", "Any past decisions on Y?" | Run /openltm:memory recall |
| "Forget about X", "That memory is wrong" | Run /openltm:memory forget |
| "X supports Y", "X contradicts Y" | Run /openltm:memory relate |
Recall before non-trivial work and capture genuinely new insights — the goal is automatic retrieval and capture, not a call on every turn. Skip recall for trivial one-liners; skip learn for facts already derivable from the code or git history.
Examples
Example 1 — User asks about past architecture:
User: "What's our caching strategy?"
LLM: Calls recall(query="caching strategy architecture") → uses results in response.
Example 2 — User discovers a gotcha:
User: "Don't use npm in this project, it's broken with our setup."
LLM: Calls learn(content="Don't use npm - broken with our setup", category="gotcha", importance=4) → confirms stored.
Example 3 — User starts new feature:
User: "Add auth to the API."
LLM: Calls recall(query="auth") + context(project="api") → incorporates prior decisions.
Quick Reference
/openltm:memory learn — Store an insight in memories table. Dedup-safe (reinforces on repeat).
/openltm:memory recall [query] — FTS5 search with tag/category/project filters.
/openltm:memory forget <id> — Delete by ID. CASCADE removes relations. Irreversible.
/openltm:memory relate <src> <tgt> <type> — Link memories. Types: supports|contradicts|refines|depends_on|related_to|supersedes.
- Hooks manage context automatically — no manual writes to
context-*.md files needed.
Full Documentation
- Memory commands:
SkillSearch('continuouslearning memory reference') → MemoryReference.md
- Hook integration:
SkillSearch('continuouslearning hook integration') → HookIntegration.md
- Context item types:
SkillSearch('continuouslearning context items') → ContextItems.md