npx skills add ...
npx skills add gasserane/personal-skills --skill capture-desktop
Capture a claude.ai Desktop session into the MEL file system. Use when Ane finishes a session in the Claude Desktop app and wants the work captured on the device — triggered by "/capture-desktop", "capture this desktop session", "I did this on Claude desktop", "save my desktop work", "import from claude.ai". Paste-driven; no cloud API exists. Stages a local transcript, classifies content into deliverables, decisions/rules, project-knowledge changes, and full log, then files each to its home. Auto-files transcript + deliverables; confirms memory/wiki/CLAUDE.md writes one-by-one.
npx skills add gasserane/personal-skills --skill capture-desktop
The device-side mirror of scripts/check_desktop_sync.py. That script governs
device-to-cloud sync. This skill governs cloud-to-device capture. claude.ai has
no API, so capture is paste-driven: Ane pastes a finished Desktop session and
this skill routes its content to the right places on disk.
Ask Ane to paste the Desktop conversation, or accept a file path if she gives one. If the paste is long, write it to a temp file first to avoid truncation.
Run the helper to stage a verbatim, deduplicated transcript:
[DUP] already captured — this session was captured before. Tell Ane
and stop unless she confirms she wants to re-route it anyway.Transcripts are local-only (gitignored, OneDrive-backed). The staged transcript IS the "full log" bucket — no further action for that bucket.
Read the staged transcript. Sort its substantive content into four buckets:
feedback memory (with Why:
and How to apply:) so /improve-system trends confirmed successes, not
only corrections.mel_wiki/ pages, ~/.claude/CLAUDE.md).If a bucket is empty, say so. Do not invent content to fill it.
Deliverables (auto-file). Propose a path under the work folder, save with the Write tool, and name it in the summary. Apply mel_wiki/wiki/concepts/edit-preservation-protocol.md when target file exists.
Decisions / rules / lessons (confirm each). For each item, propose the target — a memory file under the memory dir, a wiki entry, or a feedback memory — and show the exact content you will write. Get a yes/no from Ane before writing. Apply mel_wiki/wiki/concepts/edit-preservation-protocol.md when target file exists.
Project-knowledge changes (confirm each). For each item, propose the exact edit to the canonical source and get a yes/no. Apply the change with the Edit tool, scope-bounded. Apply mel_wiki/wiki/concepts/edit-preservation-protocol.md when target file exists.
mel_wiki/ edits: stage for the work-folder commit in Step 5.~/.claude/CLAUDE.md edits: after applying, commit cross-repo by running
bash ~/.claude-config-clone/scripts/sync-from-local.sh --auto "capture-desktop: <one-line reason>".
This copies live CLAUDE.md into the claude-config clone, reconciles, commits,
and pushes. It exits 0 silently if nothing changed.If any canonical source was edited (wiki or CLAUDE.md), run the sync check so the re-upload flag for the Desktop project fires:
Report any [DRIFT] it surfaces. Then commit the work-folder changes (deliverables
and mel_wiki/ edits only — transcripts are gitignored). Stage by name, never
git add -A:
Deliver a tight summary: