claude: back up custom skills, memory, and settings with symlink pattern
The ~/.claude/ directory was previously local-only — a machine wipe
would have lost the accumulated memory, custom skills, and settings.
This commit moves the durable parts into dotfiles with the same
symlink-to-home pattern used for CLAUDE.md, PENDING.md, REVIEWED.md,
and L2-BOOTSTRAP.md.
Preserved (symlinked from ~/.claude/* into here):
skills/audit/ — thinking-folder drift scanner
skills/symmetria/ — practice-of-return discipline
skills/vault-update-people/ — Obsidian People-file maintainer
skills/wake-up/ — session restoration
skills/wrap-up/ — session state capture
memory/ — 55+ memory files (MEMORY.md, sessions,
ledgers, project state, feedback, etc.)
settings/settings.json — user preferences (hooks, flags, no secrets)
Deliberately NOT backed up:
settings.local.json — contains operational secrets (HF_TOKEN,
SSH password in expect scripts); by naming
convention, *.local.* is not synced.
Needs separate review and probable rotation.
sessions/, history.jsonl, caches, telemetry — ephemeral
plugins/, marketplace skills and agents — reinstallable
The working copies at ~/.claude/skills/* and
~/.claude/projects/-Users-davidglidden/memory are symlinks into this
directory, so every write flows here automatically. install.sh
recreates the symlinks on a fresh machine.
FOLLOW-ON (flagged, not in this commit):
settings.local.json contains a HuggingFace token and an SSH password
as plaintext strings inside allowed Bash command patterns. These
should be rotated and moved to secure storage (keychain / pass /
env file outside the settings file).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
dcbba606ea
commit
119285cf43
@@ -0,0 +1,36 @@
|
||||
---
|
||||
name: MemPalace dev tooling
|
||||
description: MemPalace installed as dev context tool — venv in _Dev/mempalace, MCP wired at user scope, 6134 drawers from thinking docs
|
||||
type: reference
|
||||
---
|
||||
|
||||
## MemPalace — Dev Tooling Setup
|
||||
|
||||
**Location:** `~/_Dev/mempalace/` (git clone, MIT license)
|
||||
**Data:** `~/_Dev/mempalace/.local-data/palace/` (ChromaDB + SQLite, ~36MB)
|
||||
**Venv:** `~/_Dev/mempalace/.venv/`
|
||||
**MCP:** Wired at user scope via `run-mcp.sh`
|
||||
|
||||
**What's ingested:**
|
||||
- `CapableMind-AI/docs/thinking/David/` — 191 files, 6,134 drawers, wing: `capablemind-thinking`
|
||||
- Rooms: l2_constitution (67), chamber (43), observer_problem (21), methodology (12), l1_reliability (11), architecture (11), concepts (9), amendments (7), general (6), issues (3), reviews (1)
|
||||
|
||||
**Not yet ingested:**
|
||||
- Specs (`CapableMind-AI/docs/specs/`)
|
||||
- Chamber library (`chamber-library/`)
|
||||
- Session transcripts
|
||||
- Obsidian vault
|
||||
|
||||
**CLI usage:**
|
||||
```bash
|
||||
cd ~/_Dev/mempalace && source .venv/bin/activate
|
||||
MEMPALACE_PALACE_PATH=.local-data/palace python -m mempalace.cli search "query"
|
||||
MEMPALACE_PALACE_PATH=.local-data/palace python -m mempalace.cli search "query" --wing capablemind-thinking --room observer_problem
|
||||
```
|
||||
|
||||
**MCP tools available in Claude Code:**
|
||||
mempalace_search, mempalace_status, mempalace_list_wings, mempalace_list_rooms, mempalace_get_taxonomy, mempalace_check_duplicate, mempalace_add_drawer, mempalace_delete_drawer
|
||||
|
||||
**Cleanup:** `rm -rf ~/_Dev/mempalace/` removes everything. Also remove MCP: `claude mcp remove mempalace`
|
||||
|
||||
**Note:** MemPalace artifacts (`mempalace.yaml`, `entities.json`) added to CapableMind-AI `.gitignore`.
|
||||
Reference in New Issue
Block a user