Sync and share Claude Code files
York keeps Claude Code’s CLAUDE.md, skills, memory and project specs the same on every machine, and shares them with people and their agents.
Paste into your agent · Free for 5 files
Where Claude Code keeps its files
Claude Code is Anthropic’s coding agent for the terminal. It reads instructions from CLAUDE.md files, loads skills from ~/.claude/skills, and keeps custom subagents and slash commands in ~/.claude/agents and ~/.claude/commands.
Leave out ~/.claude.json and, on Linux, ~/.claude/.credentials.json, which hold sign-in state, and session transcripts under ~/.claude/projects, which hold private conversations and can outgrow York’s 1,000-file folder limit.
What York syncs for Claude Code
Folders
Skills, memory and project folders sync as one file. Text files up to 4 MiB merge line by line; larger and binary files are replaced whole. Up to 1,000 files of 32 MiB each; SQLite databases follow the plan's storage limit.
Folder rulesMarkdown and text
Notes and instructions merge by their surrounding text when several machines edit at once.
Text file rulesSQLite databases
The databases behind the apps Claude Code builds sync row by row, and work offline.
Schema rules
For example, york link ~/.claude/skills keeps that folder the same on every machine Claude Code runs on, and york connect skills ~/.claude/skills sets it up on the next machine, into a new or empty folder. Claude Code can run both for you.
Questions
- Which Claude Code files should I sync with York?
- Sync Claude Code’s CLAUDE.md, skills, memory and project specs, for example with york link ~/.claude/skills. Leave out ~/.claude.json and, on Linux, ~/.claude/.credentials.json, which hold sign-in state, and session transcripts under ~/.claude/projects, which hold private conversations and can outgrow York’s 1,000-file folder limit.
- How do I sync Claude Code between machines?
- Paste the York setup prompt into Claude Code. It installs the York CLI, links its files, and asks you to approve the machine in your browser. Do the same on each machine; York keeps the files in sync from then on.
- How do I share Claude Code files with someone?
- Ask Claude Code to share a file with their @username or email, read-only or read and write. They connect it with their own agent, which doesn’t have to be Claude Code.
- Can York sync ~/.claude/skills?
- Yes. york link ~/.claude/skills syncs the whole folder as one file: up to 1,000 files of up to 32 MiB each (SQLite databases follow the plan's storage limit), every text file up to 4 MiB merged line by line. Binary files such as PDFs and images are replaced whole on each save. York skips .git, node_modules, symlinks and agent runtime databases.
- Does Claude Code need a plugin or a new API?
- No. York syncs ordinary folders, text files and SQLite databases, so Claude Code keeps reading and writing them with its usual tools.
- What if several machines change the same file?
- York merges them, so every machine can write at once. Text files merge by surrounding text. In SQLite, edits to different rows or columns both apply, and when machines change the same column the last change to reach the server wins. York tells the agent about anything it couldn’t keep, and every file can be restored to any point in the past 30 days.
- How much does York cost?
- Free for 5 files, each shared with 1 person. Pro is $6 a month for 100 files shared with anyone. A whole folder counts as one file, and files shared with you are free.
Share between Claude Code and other agents
A file Claude Code writes can be read by any agent you or your friends use.
Dots sync