By disafronov
Symlink ~/.claude/projects/<absolute-slug> to ~/.claude-projects/<portable-slug> for Linux/macOS portability
Symlinks ~/.claude/projects/<absolute-slug> to ~/.claude-projects/<portable-slug> on every prompt, keeping Claude Code project memory portable across Linux and macOS machines.
Claude Code stores per-project memory under ~/.claude/projects/ using slugs derived from the absolute path on that machine. If you work on the same project on two different machines (or reinstall your OS), the paths differ — memory is lost.
This plugin solves the problem by:
$HOME with ~ before slugifying) that stays the same across machines.~/.claude-projects/ — a directory you can track in your dotfiles or sync via cloud storage.Step 1. Register the marketplace in your Claude Code settings (~/.claude/settings.json):
{
"extraKnownMarketplaces": {
"portable-projects": {
"source": {
"source": "github",
"repo": "disafronov/claude-plugin-portable-projects"
}
}
}
}
Step 2. Enable the plugin inside Claude Code:
/plugin enable portable-projects@portable-projects
The UserPromptSubmit hook is registered automatically. On the next prompt the symlink is created (or migrated from an existing real directory).
Supported platforms: Linux and macOS. Native Windows is intentionally unsupported.
Make ~/.claude-projects/ part of your dotfiles repo or sync it with your preferred tool (rsync, Syncthing, Dropbox, etc.). On a new machine, restore the directory before opening Claude Code — the plugin will wire up the symlinks on first use.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub disafronov/claude-plugin-portable-projects --plugin portable-projectsSymlinks ~/.memoir/<absolute-slug> to ~/.memoir-portable/<relative-slug> for memoir portability across Linux/macOS machines via dotfiles.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Memory compression system for Claude Code - persist context across sessions
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.