/gmem:gmem-retrofrom gmem
Writes a dated diary entry of a work session capturing goals, timeline, decisions, dead ends, and unfinished threads. Useful after a meaningful chunk of work concludes.
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.
Write the diary entry for a chunk of work. A retro is the story of what happened to you — useful to tomorrow-you (or your successor) who needs to resume quickly. It is its own kind, stored under <retro>/ (separate from <memory>/); retro is the raw diary lane, not a reviewed or promoted artifact.
Resolve the gmem config first, using the rules in gmem-setup. This skill uses the
retro key. <retro> below means <location.retro>/<memory_dir>/retro/. Only if no config
file exists, use the default: ~/.gmem/retro/ (Central memory). Mention once
that gmem-setup can change where these are kept.
This single distinction governs everything:
I, a timeline, decisions, dead ends, loose threads. Useful soon, decays fast — three months later most of it is noise because the work moved on.I. True regardless of which day or project produced it. Useful to anyone, indefinitely. Learnings live elsewhere — gmem-learn handles them.The test to tell them apart: "Will this still matter after the work that produced it is finished?"
gmem-learn capture it.A retro is allowed and expected to be messy, first-person, and time-ordered. That is the point — do not sanitize it into a polished report.
Guidance, not a rigid template (the body format is intentionally loose for now — just write the story):
YYYY-MM-DD.mkdir -p <retro>aca-tailscale-sidecar, resh-rhai-parser).<retro>/YYYY-MM-DD-<slug>.md (date prefix + slug — retro is the only memory layer that uses a date in the filename). Each session/topic gets its own file.---
author: <agent name or person writing this>
created: YYYY-MM-DD
---
If a file with that exact name already exists (you re-ran on the same topic the same day), do NOT overwrite it — append a ## HH:MM — <short label> section at the end instead.gmem-learn — but do not write to learnings/ from this skill yourself.<retro>/YYYY-MM-DD-<slug>.md (one file per session/topic; slug is a short lowercase kebab-case descriptor)author, created. No reviewer — retro is never reviewed.gmem-learn).reviewer field or try to promote a retro. Retro is a side lane that feeds learnings; it is not on the promotion ladder (learnings → precedents → rules).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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-checkChecks gmem memory without changing it — whether files follow gmem's rules (layout, file names, complete indexes, one note per topic) and whether their format is right (required frontmatter, links that resolve), using typdoc when it is set up. Reports each finding with the skill that fixes it. Use before committing memory, after hand edits, at the start of gmem-tidy, or when the user asks to "check memory", "validate memory", "lint memory", or "is my memory OK". Read-only — to fix what it finds, use gmem-tidy, gmem-judge or gmem-migrate./gmem-judgeReviews the captured learnings and acts on each one — fixes small problems in place, or raises a proposal when a learning should be promoted, conflicts with a rule or precedent, or is unclear. Use when asked to "judge", "review the learnings", "triage learnings", "vet the inbox", or "clean up captured facts", or after many gmem-learn captures have piled up. Not for writing rules or precedents (a human acts on proposals), not for retros, and not for a full memory audit — use gmem-tidy./gmem-learnSaves one durable, timeless fact that was learned from the work itself — a gotcha hit, a constraint discovered, a mistake that turned out to have a general cause — as a learning card in gmem memory. Use whenever something like that turns up mid-work, when pulling lasting facts out of a retro, or when the user says "TIL" or "lesson learned", even if they never say "learning". Not for what happened in a session — use gmem-retro; not for how the project works when the user tells you, or for revising what a topic already says — use gmem-memory./gmem-mapThe map of the whole gmem garden — what kinds of memory exist, which layer wins on conflict, when to recall and validate, which skill records what, and the everyday rhythm. Open it at the start of a session or before non-trivial work in a project that uses gmem, when unsure which gmem skill fits, or when the user asks how memory works here. Read-only; it points to the skills that read and write.