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.
git clone --depth 1 https://github.com/mrmyothet/zach-hair-studioWrote 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.
[](https://agentmods.dev/commands/mrmyothet/zach-hair-studio/gsd-mempalace-capture)<a href="https://agentmods.dev/commands/mrmyothet/zach-hair-studio/gsd-mempalace-capture"><img src="https://agentmods.dev/badge/commands/mrmyothet/zach-hair-studio/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.
<a href="https://agentmods.dev/commands/mrmyothet/zach-hair-studio/gsd-mempalace-capture"><img src="https://agentmods.dev/badge/commands/mrmyothet/zach-hair-studio/gsd-mempalace-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.01019 |
| Opus 5 | $0.00013 | $0.00509 |
| Sonnet 5 | $0.00005 | $0.00204 |
| Haiku 4.5 | $0.00003 | $0.00102 |
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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 72 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.
- Read
.planning/config.jsonwith the Read tool. - If the file does not exist, or
config.mempalaceis absent, orconfig.mempalace.enabled !== true, orconfig.mempalace.capture_artifacts !== true: display the disabled message and STOP. - 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
- Artifact. Take the artifact from
$ARGUMENTS. If absent, infer from the loop point:discuss:post→CONTEXT.md,plan:post→PLAN.md,verify:post→SUMMARY.md. - Room. Map artifact → room:
CONTEXT.md→decisionsPLAN.md→planningSUMMARY.md→milestones(Confirmed problem→fix pairs go toproblems— see thecapture-problemsfragment used atexecute:wave:post.)
- Wing.
config.mempalace.wingif non-empty, elseconfig.project_code, else the repo directory name. - 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 themempalaceCLI (covered by this skill'sBashallow-tool), as inmempalace-recall.
Step 3 -- File verbatim (idempotent)
On any error or timeout, stop and let the phase continue -- capture is best-effort.
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.
- 9d ago First seen · 72 lines · 25 tokens per session scan A 0ed85bc08a02
gsd-mempalace-capture is a command published in the GitHub repository mrmyothet/zach-hair-studio (11 stars, last pushed 28d ago), licensed MIT. It adds 25 tokens to every session and 1,019 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.
Other commands, from other repositories
checkpoint
Export, refresh, verify, or import a comprehensive cross-topic Project Knowledge Checkpoint for a repository, with privacy checks.
audit
Audit .flow/memory/ entries against the current codebase — Keep / Update / Consolidate / Replace / Delete / Harden per entry.
cache-warm
Pre-calentar caché con contexto probable basado en hora y rol.
finish-work
A project wrap-up command for the auto-embedded framework, which supports structured embedded-software development. It runs automated checks, guides a three-part review, records reusable lessons and session notes, and archives the finished task.
handoff
Create a handoff document for seamless session continuity.
org-reorg-trauma-audit
Pre-reorg trauma audit and sequencing plan. Opens with the 70%+ reorg-failure honesty, runs trauma history + threat-activation forecast (SCARF), produces a wave-based sequencing plan, communication architecture grounded in Kotter + Bridges, per-team mitigation, and post-reorg Talent IS monitoring cadence. Refuses…