/gmem:gmem-memoryfrom gmem
Maintains a curated, editable knowledge base organized by topic, with timestamped ledger entries and editable active files for corrections and reference notes. Use when the user says 'remember this', 'save this', or wants to update or review what is known about a topic.
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.
This is a loose set of conventions for managing durable knowledge — not a strict procedure. Use judgment throughout; the goal is to keep useful facts easy to find later, not to follow a rigid checklist.
Resolve the gmem config first, using the rules in gmem-setup. This skill uses the
location.memory key. Its folder is:
<location.memory>/<memory_dir>/memory/ # called <memory> below
Only if no config file exists, use the default: <memory> is ~/.gmem/memory/
(Central memory). Mention once that gmem-setup can change where memory is kept.
Create folders only when something is first written into them.
gmem-learn's job,
not this one.gmem-note's job.<memory>/ (the ledger) — timestamped entries, one per thing learned, never
edited once written. Filename: YYYY-MM-DD_HHMM_<topic>.md. Think of it as an
append-only trail of "at this point, I learned/believed X."<memory>/active/ — freely-editable files, one per topic, holding the
current understanding. Filename: <topic>.md (no timestamp — it changes over time
in place). This is what you'd actually consult before doing related work. It has
two category folders and an index:
active/correction/<topic>.md — something I got wrong: what I did, the exact words
that caught it, the signal to recognize it next time, what to do instead. A
one-line lesson goes into active/correction/lessons.md instead of a new file.active/reference/<topic>.md — how something works: mechanics, recipes, standing
facts and rules. Before adding, check whether a file already answers the same
question; extend it rather than starting a second home for the topic.active/index.md — one row per file (file → when to read it). Add or update the
row in the same change as the file. Read the index first when looking something up.The two aren't tied 1:1 — editing active/ doesn't require a matching ledger entry
every time. Write a ledger entry when it feels worth having a dated record of the change;
skip it when it doesn't. Best-effort, not mandatory.
When something in active/ stops being true, just remove or rewrite that part — there's
no archival/inactive-flag mechanism. If you want to keep a trace of what used to be
believed, that's what the ledger is for (write a dated entry there before changing
active/, if it seems worth it).
gmem-learn.gmem-note.active/ change — best-effort only.active/.active/ — it goes in correction/ or
reference/, with its row in index.md. (gmem-tidy checks the two categories.)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
knowledge-base, memory-management, note-taking, personal-wiki
Other plugins' skills for the same job
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./gmem-check