/mise-en-place:project-memoryfrom mise-en-place
The agent-memory taxonomy (layers, loading modes, memory vs rule vs skill, the birth rule) and the scripts that wire a repo for it or migrate it after a move. Use for "where does this memory go", "promote a memory", "run a curation pass", "memory vs rule vs skill", "set up project memory", "opt this repo into tracked memory", or "my project memory disappeared after I moved the folder".
Ships in mise-en-place. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Codex scope: this skill documents and configures Claude Code memory. Codex may use the
taxonomy or maintain an existing Claude setup, but autoMemoryDirectory and the migration
scripts do not configure native Codex memory. Do not run init merely to make Codex remember
something. Follow the consuming project's AGENTS.md memory instructions; native Codex memory
setup is outside this skill's supported scope.
Resolve <plugin-root> to the installed package directory containing this skill's skills/
parent, using the loaded skill's absolute path. Do not assume a shell variable is set by the
client. Substitute that absolute path in the commands below; both Claude Code and Codex can
run them from the target repository.
The single consultable source for where agent memory lives, how it moves, and how a
repo is wired to hold it. The first half is the memory taxonomy standard a session applies;
the second half is the two bundled scripts that realize its structural side. The system
design behind it — storage mechanics, loading semantics, settings precedence — is the
memory-standard technical design (docs/design/memory-standard.md); this content is the
standard a session applies plus the as-built tools, and it links to that design rather than
restating it.
Three consumers read this identical content: a human/agent session (you, now), the
repo-compliance-audit skill (checks structure against references/checklist.md), and the
owner at curation time.
| Question is about… | Read |
|---|---|
| The layers, loading modes, kinds, birth rule, promotion mechanism, v1 defaults | references/taxonomy.md |
A specific compliance check, its MEM-xx ID, or its pass condition | references/checklist.md |
| The bundled scripts (and their machine-CLI equivalents) that opt a repo in or migrate it | references/tooling.md |
Answer from the reference content directly — do not reconstruct the taxonomy from memory or from how some repo happens to look. The essentials:
~/.claude/ and travels via the dotfiles repo; project memory lives in each repo's
git-tracked .claude/memory/ and travels via the project repo. Both are plain
markdown under version control — never hidden machine-local state.MEMORY.md index (one line per topic file,
- [Title] → topic-file.md — hook — a markdown link plus a short hook, loaded every
session) vs situational topic files behind it
(freeform, one theme each, pulled in only when relevant — the on-demand shape of a skill).docs/ / ADRs with at most a one-line pointer in memory._meta/operations/, untracked, never memory. Everything else → the project layer:
write a topic file under <repo>/.claude/memory/, add one index line, commit with the
repo. No global-vs-project agonizing at birth — curation routes a global-worthy fact later.If the current repo has no git-tracked .claude/memory/ with a MEMORY.md index, the
structure this standard requires is missing. Do NOT silently fall back to Claude Code's
hidden machine-local default (~/.claude/projects/<slug>/memory/) — that is exactly the
invisible, non-portable state this standard eliminates. Instead:
project_memory.py init in the repo (Part 2 below), or use the
mise-en-place scaffold skill, then commit .claude/memory/.init --migrate, or
migrate_memory.py) once the repo is opted in.Two bundled, stdlib-only Python scripts realize the taxonomy's structural side. By default
Claude Code auto-memory lands in a hidden machine-local dir (~/.claude/projects/<slug>/ memory/) keyed to the folder's absolute path — it does not travel with a clone and it
breaks when the folder moves. These scripts point auto-memory at the repo's own tracked
.claude/memory/ instead, and relocate it if the folder later moves. They are the only
supported path — see references/tooling.md.
project_memory.py)Run from the target repo's root. Inspect first, then apply:
# See how the current repo is configured (read-only)
python3 "<plugin-root>/skills/project-memory/scripts/project_memory.py" status
# Opt the repo in (writes settings.local.json + managed .gitignore block)
python3 "<plugin-root>/skills/project-memory/scripts/project_memory.py" init
# Opt in with a portable, committed setting and copy any hidden native memory into the repo
python3 "<plugin-root>/skills/project-memory/scripts/project_memory.py" init --portable --migrate
| Subcommand | What it does |
|---|---|
status | Show the configured autoMemoryDirectory, whether it points in-repo, and whether a hidden native dir still holds files. Read-only. |
init | Create .claude/memory/ (+ a MEMORY.md index stub if absent), write autoMemoryDirectory, and add the managed .gitignore block. Idempotent; never overwrites an existing memory file. |
path | Print the resolved memory directory for this repo (in-repo if configured, else the hidden native default). |
list | List hidden native memory dirs that still hold files — migration candidates. Read-only. |
init flags: --portable (commit the setting via settings.json with a ~/-relative
path, instead of an absolute path in machine-local settings.local.json; only valid when
the repo lives under ~/); --migrate (copy files from the hidden native dir into the
repo, skipping any that already exist).
After init, accept the workspace-trust dialog for the folder so the setting is honored,
then commit .claude/memory/ (and .claude/settings.json under --portable).
migrate_memory.py)When a project folder is renamed or moved, its memory is orphaned under the old
path-derived slug. This script copies it to the new location's slug. It is dry-run by
default — always preview, then re-run with --apply:
# List every project dir that still has a memory/ subdir
python3 "<plugin-root>/skills/project-memory/scripts/migrate_memory.py" --list
# Preview the move (writes nothing)
python3 "<plugin-root>/skills/project-memory/scripts/migrate_memory.py" /old/path /new/path
# Apply it, once the plan looks right
python3 "<plugin-root>/skills/project-memory/scripts/migrate_memory.py" /old/path /new/path --apply
Flags: --apply (do the copy — omit for a dry run); --force (overwrite files that
already exist at the destination — off by default, so existing files are skipped);
--include-transcripts (also copy *.jsonl session transcripts); --remove-old (after a
verified copy, delete the source memory/ — refused if the source had a MEMORY.md index
but the destination does not); --from-slug / --to-slug (pass exact slugs to bypass path
derivation). Slugs are derived by replacing every non-alphanumeric character in the absolute
path with -; if a derived slug is not found, the script retries with the symlink-resolved
path and lists fuzzy candidates.
status / --list (read-only) and the migrate dry-run
before any write. Present the plan, then apply.init never overwrites an existing memory file; the
migrate script never overwrites without --force and never deletes the source without
--remove-old (and only after verifying the copy).python3, no install
step.MEM-xx rows in references/checklist.md and
stops there. Turning those rows into pass/gap verdicts is a compliance audit's job, and
whichever bundle you have it from reads the checklist out of this skill's directory.MEM-xx rows are structure-only; what a memory says is the
owner's curation judgment, never a compliance surface..claude/memory/ appears in the repo layout at all is the
repo-meta-structure standard's row (CLAUDE-03 / IGNORE-12); everything memory-specific
beyond placement is owned here.references/checklist.md — a table ID | Area | Check | Pass condition with stable MEM-xx IDs, same contract as the repo-meta-structure checklist
(closed check-type vocabulary; see the file's header). IDs are stable across skill renames.<plugin-root>/skills/project-memory/references/checklist.md.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hsb3/dotfiles-agents --plugin mise-en-place2 plugins in one repository ship this exact skill · first indexed Sep 15, 2026
6 skills in this plugin
/mise-en-place-scaffoldFill-only repo scaffold against the packaged standards — use whenever the ask is "scaffold this repo", "run mise-en-place", "fill the audit gaps", "set up a new repo to the standard", or any request to create the missing meta-structure the compliance audit flags. Runs the bundled script from the repo root: `--plan` (default) prints planned creations, conflicts, and non-mechanical items per checklist ID and writes nothing; `--apply` creates only the planned items; `--init-manifest` writes the commented `_meta/mise-en-place.yml` variance template. Additive-only: it NEVER overwrites, merges, edits, deletes, or moves an existing file, never provisions GitHub-side objects, and never authors README/CLAUDE.md/AGENTS.md content. Not for measuring compliance (repo-compliance-audit) or for questions about what the standard says (repo-meta-structure / project-memory skills)./planning-deskStand up and run a source-grounded planning desk under _meta/plans/ - deep build plans driven through a multi-round draft -> review -> fix -> reconcile loop over a tracker read through a pluggable adapter, plus analysis scripts for conformance, coverage, and reconciliation. Use whenever the user wants to plan a feature or epic before building, run a planning or backlog-grooming session, organize work under _meta/plans/, audit plan/tracker drift, triage a candidate list into MUST/DEFER/CUT, or set the desk up in a repo - even phrased as "plan this out", "groom the backlog", "scope this", "what should we cut", "run the scope hammer", or "get this repo's planning organized". It enforces deliverables/criteria/parallelism (never timelines) and grounds every claim in cited source. Not for writing the body of a tracked work item (task-authoring), not for creating a repo's meta-structure or filling audit gaps (mise-en-place-scaffold), and not the layout standard itself (repo-meta-structure).Other plugins' skills for the same job