memory-layer

Installation
SKILL.md

Memory Layer

Three-tier wrapper on top of code-memory-router plus a local file-tier scratchpad.

Tiers

Tier Purpose Backend Lifetime
scratch Volatile session notes, in-flight findings .agents/memory/scratch/<topic>.md (file-tier) Session, until promoted or /mddesign:handoff promote
WHERE Locational queries (where is X, which file, which directory) QMD via /memory-router Project lifetime
WHY Decisions, rationale, post-mortems, "we picked X because" MemPalace drawers via /memory-router Forever

Operations

/mddesign:memory save <text> (default tier: scratch)

  1. Determine the active topic. The active phase id from task_plan.md is the default topic. If no plan exists, use general.
  2. Append <text> plus an ISO timestamp to .agents/memory/scratch/<topic>.md. Create parent directories if needed.
  3. Print confirmation: "Saved to scratch / topic=".
Installs
1
GitHub Stars
10
First Seen
Jun 5, 2026
memory-layer — othmanadi/mddesign