/gmem:gmem-recallfrom gmem
Reads memory, rules, precedents, notes, and open work relevant to the current task. Use before starting non-trivial work, resuming paused work, or when asked about prior knowledge.
Ships in gmem. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read memory and notes for whatever is relevant to the task in front of you, and bring it back as a short, usable brief — not a dump of file contents. This is the read side of gmem; it never writes.
retro/ entry adds the story if needed.Skip it for trivial, throwaway asks where recall adds nothing (e.g. "format this JSON").
Resolve the gmem config first, using the rules in gmem-setup. This skill reads every
kind. Each <kind> below means <location.<kind>>/<memory_dir>/<kind>/:
<memory>, <note>, <rules>, <precedents>, <learnings>, <proposals>,
<retro>They can live in different places; the config says where. Only if no config file
exists, use the default: every kind under ~/.gmem/<kind>/ (Central memory). Mention
once that gmem-setup can change where they are kept. A folder that doesn't exist just means nothing is recorded there yet.
Read top to bottom: the order you read in is also the order of authority. Tiers 1–4 are checked every time. Each is cheap: one short file, or an index that points at the few files worth opening.
1. Rule <rules>/index.md read index → open matching rows
highest — never violate
2. Precedent <precedents>/index.md read index → open matching rows
align with, unless you have a clear, stated reason not to
3. Memory <memory>/active/index.md read index → open matching rows
<memory>/active/correction/lessons.md read whole
current understanding — trust it over learnings
4. Note <note>/*.md with status in-progress or blocked
→ read in full the ones touching the task; list the rest by name
context only — tells you where work stands, not what is true
── Reference (open only when needed) ──
<learnings>/ advice — useful, but not binding
<retro>/, the ledger (<memory>/YYYY-MM-DD_HHMM_*.md), notes with
status done, <proposals>/ context only, not authority
On conflict, the higher layer wins: rules > precedents > active memory > learnings. Notes and retros never override any of them. Mention the conflict — don't silently pick the lower one.
Rule. Read <rules>/index.md and open every row whose "when to read" touches the task. When unsure whether a rule applies, open it — a missed rule costs more than an extra read.
Precedent. Read <precedents>/index.md and open every row whose "when to read" touches the task.
For both rules/ and precedents/, check the index is complete:
ls <rules>/ <precedents>/
Any file without a row in its index: read its name (and the file, if the name looks relevant), and tell the user the index is stale so they can add the row. If there is no index but there are files, treat every file as unindexed.
Memory. Read <memory>/active/index.md, open the rows that touch the task, and read active/correction/lessons.md whole. If the index is missing or a topic file isn't in it, fall back to listing active/correction/ and active/reference/.
Note. Find open work:
grep -lE '^status:[[:space:]]*(in-progress|blocked)' <note>/*.md
Read in full the notes whose topic touches the task. List the others by filename only — the user may want to know what else is open, but don't read them all.
Reference — only when needed. Open learnings, retros, the ledger, done notes or proposals only when:
There is no semantic index for these; search by the task's key terms, synonyms and component names, trying a few variants:
grep -rli '<keyword>' <learnings>/ <retro>/
Read the full content of every file you rely on — don't act on a filename, index row or grep snippet alone.
Brief. Group what you found: binding (rules, precedents), current understanding (active memory), open work (notes), and any reference you opened — each with its source file. If nothing relevant turns up, say so plainly rather than forcing a match.
If you notice a gap — a situation memory doesn't cover — flag it and suggest gmem-learn (or gmem-memory) once the work produces the answer. Don't write it yourself from here.
rules/index.md even for a "quick" task — it's meant to be cheap to check every time.reviewer field on a learning as "not usable yet" — every learning is valid the moment it's captured, judged or not.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub thaitype/gmem --plugin gmem13 skills in this plugin
/gmem-askExplains gmem — why it exists, every kind of memory, the memory lifecycle, which skill to use when, and the four install modes. Use when the user asks "what is gmem", "how does gmem work", "which gmem skill should I use", "what is the difference between learn / memory / retro / note", "explain gmem memory types", "explain the install modes", or when gmem-setup calls it for a user who does not know gmem yet. Read-only — it explains and points to the skills that write; it changes nothing./gmem-byeEnd-of-session checkpoint that checks whether anything from the session belongs in a note, memory, retro, or learning, and records only what qualifies. Use proactively on any wrap-up or goodbye signal in Thai or English — "จบแล้ว", "พอแค่นี้ก่อน", "บาย", "done for now", "wrapping up", "good night", or "note/memory/retro if needed" — even if the user doesn't mention memory. Not for logging a correction — use gmem-stop.Other plugins' skills for the same job
/gmem-check