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>
30 lines
1.4 KiB
Markdown
30 lines
1.4 KiB
Markdown
---
|
|
name: Design Brief — Session Skills (Vault Sync + Wrap-up)
|
|
description: Two skills to design next session — vault-sync (thinking mirror to Obsidian) and session-wrap-up (memory, vault, handoff, open threads, uncommitted work)
|
|
type: project
|
|
---
|
|
|
|
## Skills to Design (flagged 2026-04-05)
|
|
|
|
**Why:** Both patterns recur every session. Manual execution is error-prone (27-file drift found tonight). Formalizing as skills prevents silent rot.
|
|
|
|
### 1. Vault Sync Skill (`/vault-sync`)
|
|
|
|
Syncs `CapableMind-AI/docs/thinking/David/` → Obsidian vault thinking-mirror. Should:
|
|
- Diff source vs mirror, copy missing files preserving directory structure
|
|
- Report what was copied (count + list)
|
|
- Optionally update modified files (flag for confirmation — Obsidian edits could diverge)
|
|
- Handle iCloud path correctly (spaces in path)
|
|
|
|
### 2. Session Wrap-up Skill (`/wrap-up`)
|
|
|
|
End-of-session protocol. Should:
|
|
- Update session handoff memory file (what happened, decisions, open threads, next actions)
|
|
- Sync vault (invoke /vault-sync)
|
|
- Check for uncommitted work across active repos (CapableMind-AI, BetterMemories.io, chamber-library, animal-davidglidden-eu)
|
|
- Check for unpushed commits
|
|
- Flag any PENDING.md items that need steward attention
|
|
- Update MEMORY.md index if new memory files were created
|
|
|
|
**How to apply:** Design these as proper skills (hooks or slash commands) in the next session. Reference the existing `/vault-update-people` skill as a template.
|