mem-sync
mem-sync — Cross-Device Memory Sync
Synchronizes <repo>/.memories/ across machines through a dedicated, isolated
per-user branch memories/<email-localpart> using a background git worktree, so the
active development branch and your editor workspace are never disturbed.
Per-User Branch
The sync branch is derived from git config user.email: the part before @,
lowercased and slugified (non-alphanumeric runs become -). User@Example.com →
memories/user. Each user pushes/pulls only their own branch, so two developers on
the same repo never collide on same-date log filenames.
Windows
On Windows, run this skill's script through Git Bash (Git for Windows). A PATH
guard at the top of the script prepends the MSYS usr/bin so find/tar are not
shadowed by the native same-name tools; if a required POSIX tool is still missing,
the script aborts with an explicit error naming the missing tool.