Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Permanent learning — AI agent proposes learnings from sessions, user approves in chat, integrations saved to auto-loaded files. Triggers on session end or manual /learn command. Use when consolidating discoveries, user says learn/consolidate/document, or end-of-session signals.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 93% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 94% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -5% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 210% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 82% | 0% |
AI agents evolve only if learnings become part of their permanent instruction layer — auto-loaded in every future session. Session-only memory does not persist; only auto-loaded files survive across sessions.
This protocol moves learnings from chat to durable instruction files, with explicit user approval at each step. It prevents silent integration and ensures transparency.
Automatic (natural session end — inferred from tone/context):
Manual: User invokes skill /learn, or says variations like "consolidate what you learned this session" / "what did you discover today?"
Quick scan across learning categories:
feedback typefeedback type (good-pattern)discovery typeproject typereference typePresent in chat as numbered proposal — DO NOT save yet:
📚 Proposed permanent learnings:
1. [feedback] User prefers X over Y
Location: global-instructions.md (global scope)
Why: incident from session / concrete reason
How to apply: when/where to use this pattern
2. [discovery] Tool Z has gotcha W
Location: project docs or global reference
Type: behavioral / limitation / workaround
Approve all? Reject item N? Discuss any?<project-path>/_pending-approval.md (project scope) or global pending file (global scope). On next session, agent reads this file at start — if pending items exist, re-present in chat before proceeding.| Learning Type | Primary Destination | Cross-Tool Mirror | |---|---|---| | Global operating preference | global-instructions.md | equivalent in all agent instruction files | | Project-specific behavioral rule | <project>/.agent-rules/<name>.md | .cursor/rules/<name>.mdc, mention in project instruction file | | Workflow / process pattern | dedicated rule file + note in global if cross-project | mirror as above | | Architecture decision | docs/adr/ADR-NNN.md + update docs/architecture.md | entry in CHANGELOG.md | | Reusable technical discovery | docs/<topic>.md in project | entry in CHANGELOG.md | | Discrete fact about project/context | memory file (<project>/_memory/<topic>.md) + entry in memory index | — | | External resource pointer | reference memory file + index entry | — |
git status", "session ended at 3 PM"). Only substantive learnings.A learning is worth saving if:
A learning is NOT worth saving if:
All AI agents in a skill system, every project, every session. Part of the standard agent bootstrap and lifecycle.
Other measured skills in the registry, with their headline benchmark lift.