From GSD Core
Files phase artifacts (CONTEXT.md, PLAN.md, SUMMARY.md) into a MemPalace knowledge graph with dedup and KG mirroring. Useful for persisting decision records across planning loops.
How this skill is triggered — by the user, by Claude, or both
Slash command
/gsd-core:gsd-mempalace-capture [CONTEXT.md|PLAN.md|SUMMARY.md][CONTEXT.md|PLAN.md|SUMMARY.md]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**STOP -- DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by the command system. Using the Read tool on this file wastes tokens. Begin executing Step 0 immediately.**
STOP -- DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by the command system. Using the Read tool on this file wastes tokens. Begin executing Step 0 immediately.
Before ANY tool calls, display this banner:
GSD > MEMPALACE CAPTURE
Then proceed to Step 1.
Check whether the MemPalace capability is enabled by reading .planning/config.json directly with the Read tool.
.planning/config.json with the Read tool.config.mempalace is absent, or config.mempalace.enabled !== true, or config.mempalace.capture_artifacts !== true: display the disabled message and STOP.Disabled message:
GSD > MEMPALACE CAPTURE
MemPalace capture is disabled (mempalace.enabled / mempalace.capture_artifacts).
Nothing was filed; the loop proceeds normally.
This step is onError: skip at discuss:post / plan:post / verify:post -- capture never fails a phase.
$ARGUMENTS. If absent, infer from the loop point: discuss:post → CONTEXT.md, plan:post → PLAN.md, verify:post → SUMMARY.md.CONTEXT.md → decisionsPLAN.md → planningSUMMARY.md → milestones
(Confirmed problem→fix pairs go to problems — see the capture-problems fragment used at execute:wave:post.)config.mempalace.wing if non-empty, else config.project_code, else the repo directory name.config.mempalace.memory_mode. Prefer MCP (mempalace_*) when your MemPalace MCP server is registered and your runtime permits those tools; otherwise use the mempalace CLI (covered by this skill's Bash allow-tool), as in mempalace-recall.On any error or timeout, stop and let the phase continue -- capture is best-effort.
mempalace_check_duplicate on the artifact's deterministic drawer id. Headless: rely on mempalace mine's content-hash idempotency.room: <room> of wing: <wing> with provenance (source_file, phase id). Interactive: mempalace_add_drawer. Headless: mempalace mine <path> --wing <wing> --room <room>.config.mempalace.mirror_kg is true: extract decision/delivery facts and mempalace_kg_add them with valid_from = the phase date (e.g. (<project>, decided, <decision>) from CONTEXT; (<phase>, delivered, <capability>) from SUMMARY). Only augment is currently wired, so these are an additive mirror of .planning/graphs/. (kg_backend/replace are forward-declared and behave as augment today.)check_duplicate).Print a one-line summary: Filed <artifact> → <wing>/<room> (<n> KG facts) or MemPalace unavailable — capture skipped.
onError: skip.sync --apply) is the curator agent's job at ship:post, wing-scoped only.npx claudepluginhub open-gsd/gsd-coreRecalls decisions, patterns, and surprises from MemPalace before planning a phase. Reads config, resolves wing/mode/transport, and performs a read-only search to surface relevant memories.
Mines projects and conversations into a searchable memory palace. Activates on queries about MemPalace, memory palace, mining, searching, palace setup, wings, rooms, drawers, or recalling past work.
Captures decisions, conventions, patterns, issues, and concepts from conversations into docs/ markdown nodes using triage output. Auto-activates on save intents or decision signals.