remember
/remember
Zapisuje trwałą lekcję w agent-memory, gdy użytkownik poprawia Claude, podaje preferencję lub regułę albo prosi o zapamiętanie.
- Autor
- ajyadav013 ↗
- Repozytorium
- claude-kit ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 07.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 1
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 07.09.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.
Co robi i kiedy
Zapisuje trwałą lekcję w agent-memory, gdy użytkownik poprawia Claude, podaje preferencję lub regułę albo prosi o zapamiętanie.
Wyzwalacze z opisu
Oryginalny opis (EN)
Capture a durable learning so future sessions reuse it automatically. Use when the user corrects Claude, states a preference or rule, shares a debugging insight, or says 'remember this'. Writes to agent-memory.
Jak działa
- When to invoke this skill
- How to capture (4 steps)
- After capturing
- How application works (for reference)
Podgląd SKILL.md
---
name: remember
description: Capture a durable learning so future sessions reuse it automatically. Use when the user corrects Claude, states a preference or rule, shares a debugging insight, or says 'remember this'. Writes to agent-memory.
---
# Remember — Durable Learning Capture
Turn a one-off correction or insight into a permanent, reusable learning. This is the **capture** half of the self-improving loop. The **application** half is automatic: the `load-learnings.sh` SessionStart hook injects the learnings index (`.claude/agent-memory/MEMORY.md`) into context at the start of every session, so anything recorded here is surfaced before future work.
## When to invoke this skill
**Automatic only when capture was chosen at init.** On installs where a `capture_mode` was explicitly selected, the `capture-learnings` hook runs in the *background* — on the chosen schedule (when a session ends, on the next launch for sessions closed abruptly, and/or after each task) — spawning a detached `claude` job that records what Claude learned from its *own* work into `.claude/agent-memory/`, without ever blocking your session or next prompt (and records nothing when the work was routine). On those installs, explicit use of this skill remains available to force a capture. On installs without capture (the default), this skill is the only capture path. Invoke proactively whenever any of these happen:
- The user **corrects** something Claude did ("no, buttons should be 44px touch targets", "always validate at the boundary").
- The user states a **preference or rule** for how work should be done (UX, design, naming, architecture, testing, tone).
- A **debugging session** uncovered a non-obvious root cause that took real effort to find.
- An **API / integration quirk** surfaced that isn't visible in the code.
- The user says "remember this", "note this", "next time…", "don't repeat this", or similar.
Do **not** record:
- Facts already visible in the codebase or the rules under `.claude/rules/`.
- Standard framework behavior (look it up instead).
- Temporary task state (that's what tasks are for).
- Anything already captured — update the existing entry instead of duplicating.
## How to capture (4 steps)
### 1. Decide the category
Map the learning to one folder under `.claude/agent-memory/`:
| Category | Folder | What goes here |
|----------|--------|----------------|
| UX / Design | `ux/` | Interaction rules, design-system preferences, accessibility musts, layout/visual decisions |
| Architecture | `architecture/` | Why X over Y, structural decisions, module boundaries |
| Debugging | `debugging/` | Root causes of tricky bugs, non-obvious failure modes |
| Patterns | `patterns/` | Recurring project-specific patterns and conventions |
| API & Integration | `api/` | API quirks, auth flows, endpoint behaviors |
| Performance | `performance/` | Optimization discoveries, bottleneck insights |
| Gotchas | `gotchas/` | Looks-right-but-isn't traps, common mistakes |
If unsure, pick the closest fit; UX preferences go in `ux/`.
### 2. Check for an existing entry
Read `.claude/agent-memory/MEMORY.md` and skim the relevant category folder. If a similar learning exists, **edit that file** (refine, add nuance, correct it) rather than creating a duplicate. While you're there, sanity-check that the existing entry is still accurate against the current code — if it has gone stale (a renamed file, a changed flag, behavior that no longer holds), fix or remove it rather than stacking a contradicting entry beside it (the verify-before-trust checks in `.claude/rules/agent-memory.md`). When the new learning **touches, extends, or contradicts** a distinct existing entry (rather than duplicating it), keep both — and add a reciprocal `## Related` line in each file so a future reader of either entry finds the other.
### 3. Write the learning file
Filename: lowercase kebab-case describing the insight, e.g. `touch-target-min-size.md`, `filter-resets-on-persona-change.md`. Write to `.claude/agent-memory/<category>/<filename>.md` using this format:
```markdown
---
title: {short descriptive title}
category: {category name}
date: {YYYY-MM-DD}
trigger: {when this applies — e.g. "designing any UI", "writing an HTTP endpoint"}
---
## Context
{What situation produced this learning — keep it brief}
## Learning
{The rule/insight, stated as a clear, actionable directive Claude can follow next time}
## Evidence
{How it was discovered — the user's words, an error, debugging steps}
## Apply when
{Concrete signal that this learning is relevant to the current task}
## Related <!-- optional — only when a genuinely connected entry exists -->
- [other entry](../category/filename.md) — why it's connected
```
The `trigger` and `Apply when` fields matter most — they are how a future session knows to pull this learning before acting. `## Related` is optional: link only entries that genuinely connect (extends, contradicts-then-resolved, same subsystem), so a reader of one finds the other without scanning the whole store.
### 4. Update the index
Add a one-line entry to `.claude/agent-memory/MEMORY.md` under the matching `###` section:
```markdown
- [Title](category/filename.md) — one-line hook | applies when: {trigger}
```
Keep each index line under ~150 chars. The index is what the SessionStart hook injects, so it must stay scannable.
## After capturing
Confirm to the user in one line what was recorded and where, e.g.:
> Recorded: "44px minimum touch targets" → `agent-memory/ux/touch-target-min-size.md`. I'll apply it automatically next time I design UI.
## How application works (for reference)
You do not need to do anything to apply learnings — the loop closes on its own:
1. `load-learnings.sh` runs on **SessionStart** and prints the MEMORY.md index into context.
2. Before doing design/implementation work, open the relevant category file(s) flagged by `Apply when` and follow them.
3. When you learn something new, this skill records it — and it shows up automatically next session.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · ajyadav013/claude-kit | 100 | MIT |
| yonatangross/orchestkit | 100 | MIT |
| langchain-ai/deepagents | 100 | MIT |
| zereight/gitlab-mcp | 100 | MIT |
| stxrmik/antigravity-plus | 100 | MIT |
| rohitg00/agentmemory | 100 | Apache-2.0 |
| eleboucher/memini | 100 | AGPL-3.0 |
| ffMathy/hey-jarvis | 100 | MIT |
| alirezarezvani/claude-skills | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 3e59930724d2 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100learning-capture
Zapisuje trwałe wnioski przez bezpośrednią edycję kontekstu, gdy użytkownik poprawia Claude w sposób uogólnialny, podaje stałą preferencję albo prosi o zapamiętanie. - 82memory
Zapisuje, zmienia lub usuwa trwałą informację, gdy użytkownik prosi o zapamiętanie albo zapomnienie. - 100pin
Zamienia korektę lub preferencję pracy wyrażoną przez użytkownika w stałą regułę ballast, gdy poprawia on zachowanie Claude albo prosi o zapamiętanie sposobu pracy. - 100capture
Zapisuje wspomnienie w Origin w trakcie pracy, gdy użytkownik podaje preferencję, podejmuje decyzję, poprawia Claude lub dzieli się trwałym faktem, poleceniem /capture. - 90working-memory-protocol
Decyduje, co zapisać w notatce pamięci roboczej, gdy użytkownik prosi o zapamiętanie albo poprawia wcześniejsze ustalenie. - 100membrane-write-memory
Zapisuje w długoterminowej pamięci membrane fakt, preferencję lub wniosek, gdy użytkownik prosi albo agent sam wyciągnie trwałą lekcję.