Getting Started
Set up ContextMark and start syncing your Claude Code contexts in minutes.
Step 1: Install ContextMark
Requires Node.js 18 or higher.
Step 2: Initialize Your Library
This creates your context library at ~/.contextmark. All your configs will be stored here.
Step 3: Register a Project
This registers your project with ContextMark. If you have an existing CLAUDE.md, it will be kept as-is.
Step 4: Push to Library
Your project's CLAUDE.md and .claude/ directory are now saved in the library.
Step 5: Pull on Another Machine
Instantly restore your Claude Code context from the library.
Step 6: Sync Global Config
Use --global to sync your global Claude config (CLAUDE.md, rules/, skills/) across machines.
Step 7: Check Status & Diff
Check sync status and compare local files with the library at any time.
Step 8: Sync Library via Git
Use sync push/pull to keep your library synchronized across machines via Git.
Advanced: Blocks & Profiles
For power users who want to compose contexts from reusable blocks:
Blocks and profiles are optional. Use them when you need to compose contexts from modular pieces.