/gmem:gmem-judgefrom gmem
Reviews 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.
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.
Act as the AI judge over captured learnings. Your job is to keep the learnings/ set clean and to surface the few items worth a human's attention — without ever blocking. Learnings are valid and usable the moment they are captured. Nothing here gates them; a human acting (or never acting) on your proposals does not change that.
Resolve the gmem config first, using the rules in gmem-setup. This skill writes
<learnings> and <proposals>, and reads <rules> and <precedents>. Each is
<location.<kind>>/<memory_dir>/<kind>/. Only if no config file exists, use the
default: all four under ~/.gmem/<kind>/ (Central memory). Mention once
that gmem-setup can change where these are kept.
retro/ diary — never reviewed
learnings/ valid immediately · you revise these in place
proposals/ async queue you write to · human may act, or not
precedents/ created by a human acting on a proposal — not by you
rules/ created by a human acting on a proposal — not by you
You operate over <learnings>/ and write only to <learnings>/ (revisions) and <proposals>/ (proposals). You never write precedents/ or rules/, and you never touch retro/.
reviewer field = "already judged"reviewer no longer means "vetted enough to use" — every learning is already usable. It just records that you have looked at this one, so re-running is idempotent:
reviewer → not yet judged. Process it.reviewer → already judged. Skip it.When you finish processing a learning (whichever outcome), set reviewer to your judge identity and a date, e.g. reviewer: gmem-judge/<model> 2026-06-07. Leave author and created unchanged.
Judge each learning against:
I / a timeline / date-specific status is diary leakage, not a learning.1. Revise in place (do it now, no human) — when the fix is cheap and safe and loses no information:
I / a timeline / status that slipped in, leaving the underlying fact2. Raise a proposal (write to proposals/, non-blocking) — only in these cases:
precedents/ or rules/. (Keep the bar high — most learnings just stay learnings.)3. Leave as-is — a clean, valid, modest learning with no problems and no promotion case. Just mark it judged.
In every case the learning stays valid and usable. A proposal is advice, not a gate.
mkdir -p <proposals>reviewer):
grep -rLE '^reviewer:[[:space:]]*\S' <learnings>/
rules/, and precedents/ (for each, start from its index.md, then open the files that bear on the learnings at hand; also read any file the index doesn't list).reviewer.proposals/ for an existing one on the same subject — do not raise a duplicate.A run only touches empty-reviewer learnings, so re-running skips everything already judged and processes only what is new.
<proposals>/<slug>.md — a short kebab-case label of the proposed action (e.g. promote-aca-sidecar-constraint, resolve-conflict-retry-policy). No date prefix.author (your judge identity), created.<higher entry> / review-for-removal), and a one-paragraph rationale — enough for a human to decide fast.precedents/<slug>.md, or rules/<topic>.md — an existing topic file to extend, or a new one) and, for a new file, the row to add to that folder's index.md, ready to paste:
| <slug>.md | <when to read it> |
The human may pick up a proposal and promote it to a higher layer, or ignore it. When promoting, the human adds the file and its row in that folder's index.md together. If ignored, the underlying learning remains valid; the proposal just sits in the queue.
precedents/ or rules/ — those come from a human acting on a proposal.retro/ — retros are diaries and are never reviewed.author or created.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
13 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-checknpx claudepluginhub thaitype/gmem --plugin gmem