gsd-mempalace-capture

gsd-mempalace-capture is a skill for Claude Code from open-gsd/gsd-core. It costs 25 tokens per session (1,574 once invoked), scanned A, original, MIT.

A workflow that files a completed project phase artifact into MemPalace and mirrors important decisions in its time-based knowledge graph. MemPalace is an external system for storing and recalling project knowledge.

In plain words
What is it for?
Use it after a planning, discussion, or verification step to capture its artifact and make relevant decisions available for future project work.
Why use it?
Important decisions and lessons can disappear into individual phase files or be lost when the memory feature is disabled. This preserves selected artifacts and decision facts when the project is configured to allow it.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the gsd-core plugin — 72 skills, 35 agents, 7 hooks shipped together

Good fit Use it after a planning, discussion, or verification step to capture its artifact and make relevant decisions available for future project work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/open-gsd/gsd-core/gsd-mempalace-capture
About the project

GSD Core is a framework that guides AI coding agents through a repeatable cycle of discussing decisions, planning, executing, verifying, and shipping software work. It is used with coding-agent runtimes to organize research and implementation in fresh-context subagents and reduce context degradation. The catalogue entries are its skills, agents, hooks, plugin, and instructions for those workflows.

open-gsd/gsd-core · 9,319 stars · on GitHub · opengsd.net

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add open-gsd/gsd-core --skill gsd-mempalace-capture
Clone the repo
git clone --depth 1 https://github.com/open-gsd/gsd-core

Made for: Claude Code.

Or install gsd-core, the plugin that ships this one along with the rest of its 72 skills, 35 agents, 7 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gsd-mempalace-capture

README.md
[![agentmods](https://agentmods.dev/badge/skills/open-gsd/gsd-core/gsd-mempalace-capture/github.svg)](https://agentmods.dev/skills/open-gsd/gsd-core/gsd-mempalace-capture)
Your own site
<a href="https://agentmods.dev/skills/open-gsd/gsd-core/gsd-mempalace-capture"><img src="https://agentmods.dev/badge/skills/open-gsd/gsd-core/gsd-mempalace-capture/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gsd-mempalace-capture

Your own site · 80×15
<a href="https://agentmods.dev/skills/open-gsd/gsd-core/gsd-mempalace-capture"><img src="https://agentmods.dev/badge/skills/open-gsd/gsd-core/gsd-mempalace-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,574 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.01574
Opus 5 $0.00013 $0.00787
Sonnet 5 $0.00005 $0.00315
Haiku 4.5 $0.00003 $0.00157

Measured 3d ago against content hash c6e375dea3bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

gsd-mempalace-capture scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/gsd-mempalace-capture/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

Step 0 -- Banner

Before ANY tool calls, display this banner:

GSD > MEMPALACE CAPTURE

Then proceed to Step 1.

Step 1 -- Config Gate

Check whether the MemPalace capability is enabled by reading .planning/config.json directly with the Read tool.

  1. Read .planning/config.json with the Read tool.
  2. If the file does not exist, or config.mempalace is absent, or config.mempalace.enabled !== true, or config.mempalace.capture_artifacts === false: display the disabled message and STOP.
  3. Otherwise proceed to Step 2.

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.

Step 2 -- Resolve target

  1. Artifact. Take the artifact from $ARGUMENTS. If absent, infer from the loop point: discuss:postCONTEXT.md, plan:postPLAN.md, verify:postSUMMARY.md.
  2. Room. Map artifact → room:
    • CONTEXT.mddecisions
    • PLAN.mdplanning
    • SUMMARY.mdmilestones (Confirmed problem→fix pairs go to problems — see the capture-problems fragment used at execute:wave:post.)
  3. Wing. config.mempalace.wing if non-empty, else config.project_code, else the repo directory name.
  4. Mode / transport. Read 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.

Step 3 -- File verbatim (idempotent)

On any error or timeout, stop and let the phase continue -- capture is best-effort.

Read the full file on GitHub · 103 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +1 lines c6e375dea3bb
  2. 7d ago First seen · 102 lines · 25 tokens per session scan A 45ac137253f0

Subscribe to this mod's changes

gsd-mempalace-capture is a skill published in the GitHub repository open-gsd/gsd-core (9,319 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 1,574 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

gh

Install and configure the GitHub CLI (gh) for AI agent environments where gh may not be pre-installed and git remotes use local proxies instead of github.com. Provides auto-install script with SHA256 verification and GITHUBTOKEN auth with anonymous fallback. Use when gh command not found, shutil.which("gh") returns…

open-gsd/gsd-pi · 141 tokens

write-milestone-brief

Synthesize the current conversation into a milestone brief (PRD). Writes to M###-CONTEXT.md by default, or files a GitHub issue only with explicit user confirmation. Use when asked to "turn this into a PRD", "draft a milestone brief", "capture this context", "write it up", or when enough has been discussed to commit…

open-gsd/gsd-pi · 98 tokens

handoff

Prepare a clean cross-session handoff so the next agent can pick up where you left off. Writes a focused continue.md in the active slice dir and ensures STATE.md + summary artifacts are current. Use when asked to "hand off", "prepare handoff", "pause work", "bookmark this", "I'll come back to this later", before…

open-gsd/gsd-pi · 91 tokens

spike-wrap-up

Package findings from a completed spike into a durable project-local skill that auto-loads on future similar work. Reads the latest .gsd/workflows/spikes/ dir, interviews the user on what's reusable, then writes .agents/skills/ /SKILL.md. Use when asked to "wrap up the spike", "package this as a skill", "make this…

open-gsd/gsd-pi · 102 tokens

director:resume

Pick up where you left off after a break. Restores your context automatically.

noahrasheta/director · 20 tokens

director:status

See your project progress at a glance.

noahrasheta/director · 12 tokens