/mddesign:memory save [--tier scratch|where|why] <text> | recall <query>from mddesign
Saves or recalls information across a three-tier memory system (scratch, WHERE, WHY). Supports save with --tier flag and recall with automatic query routing.
Ships in mddesign. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Three-tier memory operations.
/mddesign:memory save <text> (default tier: scratch)Appends to .agents/memory/scratch/<topic>.md where <topic> is the active phase id from task_plan.md, or general if no plan. Fast, low-stakes, session-scoped.
/mddesign:memory save --tier why <text>Proposes a promotion to MemPalace WHY tier. HITL gate before write. On approval, invokes /memory-router with MemPalace save pattern.
/mddesign:memory save --tier where <text>WHERE is populated by QMD automatically when it indexes project markdown. Explicit write is rarely needed; this sub-command exists for completeness and is rate-limited to one-line annotations.
/mddesign:memory recall <query>Routes based on query prefix:
/memory-router/memory-routerAlways prints the source tier next to each result.
task_plan.md, findings.md, or progress.md..agents/memory/scratch/. Never elsewhere.See skills/memory-layer/SKILL.md for full routing logic and conventions.
7-day visitors to each command page
10 commands in this plugin
/compose/mddesign:composeOne-shot wiring check for MDDesign. Verifies planning-with-files, DESIGN.md, code-memory-router, and Google linter are all reachable. Surfaces any missing piece with a one-line fix-it. Read-only./critique/mddesign:critiqueAudit DESIGN.md against the actual code. Writes DESIGN.md.critique.md adjacent to DESIGN.md with five audit passes structural / drift / accessibility / completeness / consistency. Each finding has a stable id and a /mddesign:fix suggestion./doctor/mddesign:doctorDeep diagnostic. Checks every MDDesign dependency, verifies hooks fire, validates the lint toolchain, tests scratch directory write, and prints a fix-it for every failure. Use when something is broken or before publishing to confirm a clean install./fix/mddesign:fixApply a single safe quick win from DESIGN.md.critique.md. HITL gated. Re-lints DESIGN.md after every edit; reverts if lint regresses./handoff/mddesign:handoffForce a session catchup or a memory promotion outside the hook lifecycle. Default is catchup (read-only); promote is HITL gated./harvest/mddesign:harvestScan the current codebase, cluster de-facto design tokens, write a structurally valid DESIGN.md at project root. Uses the design-archeologist subagent for the scan. Validates with npx @google/design.md lint and iterates until valid.Generated from the plugin's indexed repository (othmanadi/mddesign) — no native marketplace selected
npx claudepluginhub p/othmanadi-mddesignOther plugins' commands for the same job