Explore skills

Blog / Teams

Sync Claude Code Skills: Ragspaces, Dotfiles, Syncthing

How to sync Claude Code skills across computers three ways: Ragspaces, a dotfiles Git repo, and Syncthing. Setup, conflicts, secrets and delay compared.

Sync Claude Code Skills: Ragspaces, Dotfiles, Syncthing

If you already keep dotfiles in Git and want every change reviewed, put ~/.claude/skills in that repo. If you want folders to match on your own machines with no account and no server, use Syncthing. If you want a skill saved on one computer to show up on the others within a minute, and a new machine set up in one command, and you accept a hosted service, Ragspaces does that. If you sign in to Claude Code with a claude.ai account, there is a fourth route from Anthropic that may be enough.

Last checked 2026-11-24 for the Anthropic help-center page and the Syncthing docs, and 2026-11-23 for the other sources. This guide is built from each tool's own docs and pages.

Table of contents

The short answer

You have a laptop and a desktop, maybe a work machine and a remote server that runs Claude Code. You wrote a skill on one of them last night and today it is not on the other. That is the problem. The folder is small, so almost anything can move it. The differences are in what happens when you edit it in two places, who sees it on the way, and how much you have to remember to do.

Your situation Best pick Why
You already keep dotfiles in Git Dotfiles repo Same habit, history and review for free, nothing new to install
You want your own machines to match, no account, no cloud Syncthing Device to device, no central server, conflicts kept as files
You want changes to arrive without a commit or a pull, and new machines set up in one command Ragspaces A hook uploads on save and a watcher downloads changes within a minute
You sign in to Claude Code with the same claude.ai account everywhere claude.ai skills Anthropic says skills enabled in your settings also load in Claude Code, from v2.1.273
You want others to run a skill without seeing it Ragspaces With protection on, callers never see prompts or scripts

The dotfiles and Syncthing routes are free, well documented, and for plenty of people they are the better fit. I say below where Ragspaces falls short, including what its pages do not list.

Where skills live on disk

Anthropic's Claude Code skills docs list personal skills at ~/.claude/skills/<skill-name>/SKILL.md, described as "All your projects on this machine." Project skills live in .claude/skills/ inside a repository and travel with that repository ("Commit it so your team gets it too"). So the thing that needs syncing is the personal folder. Project skills already sync through whatever you use for the code.

A skill is a folder with a SKILL.md and any scripts it needs. The docs say Claude Code "picks up the change within the current session" when skill files change, and that a new skill that does not appear needs /reload-skills. That matters for sync: once a file lands in the folder, you do not normally restart anything.

If you use Codex as well, skills can sit in ~/.agents/skills. The Ragspaces installer scans both folders, as noted below. Using the same folders in both tools is covered in Claude Code skills in Codex, and the install routes are in how to install Claude Code skills.

Fact table

Dotfiles repo (Git) Syncthing Ragspaces
What it is A Git repository holding ~/.claude/skills along with your other config A file synchronization program that keeps folders in sync between your devices (syncthing.net) A service that syncs skills through a hook and a background watcher (how it works)
Central server Your Git host, if you push to one "There is no central server that might be compromised, legally or illegally" Yes, Ragspaces servers
Account An account on a Git host, or a server you run Device IDs: two devices connect only if "they are both configured with each other's device ID" (docs) A Ragspaces account; the installer links the computer
How a change moves You commit, push, then pull on the other machine Found by scans and a filesystem watcher, sent "after each rescan" (docs) A hook uploads when the agent saves; the watcher downloads "within a minute"
Delay Until you pull "A slight delay"; the watcher batches changes for 10 seconds, deleted files wait an extra minute "Within a minute" to other computers
Edited in two places A merge conflict you resolve A .sync-conflict copy is kept Not listed
History Full Git history Optional versioning: Trash Can, Simple, Staggered or External (docs) Version history not listed; deleted skills move to ~/.claude/ragspaces-trash
Secrets in files Yours to keep out of the repo Synced as they are "API keys in your files are blanked out before upload"
Price Depends on your Git host Source code on GitHub; the site does not state a price Free skills; paid skills seen at "$1.00 per run"
Platforms Anywhere Git runs "macOS, Windows, Linux, FreeBSD, Solaris, OpenBSD, and many others" Installer for macOS, Linux and Windows; needs Node.js

The Git column describes how Git works in general. Git hosts set their own plans and prices, so I do not quote one.

Option 1: a dotfiles repo

Plenty of developers already keep shell and editor config in a Git repository and run a bootstrap script on each new machine. Skills fit that habit because they are plain text files in a known folder.

There are two common shapes. You can make ~/.claude/skills a folder inside the repository, or keep the repository elsewhere and link ~/.claude/skills to a folder in it. Either way the loop is the same:

# on the machine where you edited the skill
git add skills/release-notes
git commit -m "tighten release-notes step 3"
git push

# on the other machine
git pull

This follows from how Git works and how the Claude Code docs place personal skills.

What is good about it

  • History, diffs and rollback. You can see what changed in a skill and why, and undo it.
  • You review before it moves. A skill can contain scripts, so a diff you read is a real safeguard.
  • Nothing runs in the background. The sync happens when you decide.
  • The repository can be private, on a host you already use or on your own server.
  • It covers more than skills: settings, CLAUDE.md files and anything else under version control.

What is awkward about it

  • It is manual. A skill you edited and did not commit does not exist on the other computer, and you find out when you need it.
  • Edits in two places mean a merge. For a SKILL.md that is usually easy, but it is a step you do at the worst time.
  • Secrets are your job. If a script in a skill has a key in it and you push, the key is in history. Add an ignore file and keep keys in the environment.
  • Linking folders and bootstrap scripts differ by operating system. Expect to spend an afternoon the first time.
  • A pull on the other machine is the whole delivery mechanism. Without a reminder or a hook of your own, drift is the default.

If your instruction files are part of the same repo, SKILL.md vs CLAUDE.md vs AGENTS.md explains which file goes where. For drafting the project file itself, Ragspaces lists agents-md by @mayaj, "Creates and maintains concise AGENTS.md and CLAUDE.md project instruction files," and claude-md-improver by @andrebrown29, "Audit and improve CLAUDE.md files in repositories."

Option 2: Syncthing

Syncthing is a general file sync tool, not a Claude tool, and that is its strength. You point it at ~/.claude/skills on each machine and it keeps them equal. Per the site, "All source code is available on GitHub," "None of your data is ever stored anywhere else other than on your computers," and "All communication is secured using TLS."

Setup, from the getting started docs: each computer has a device ID, "a unique, cryptographically-secure identifier." Two devices connect only if "they are both configured with each other's device ID," so you click "Add Remote Device" on both and enter the other ID, then share the folder. The ID does not need to be kept secret.

How changes move, from the syncing docs: "By default the watcher is enabled and full scans are done once per hour." The watcher batches changes for 10 seconds before scanning, and deleted files wait an extra minute. Detected changes go to other devices "after each rescan," and the docs say to expect "a slight delay between making the change and it appearing on another device." Both computers must be on and connected for a change to arrive.

What is good about it

  • No account and no central server. The site states there is none.
  • It is continuous. You do not commit, push or pull.
  • Conflicts do not destroy anything. If two devices change a file, the older one is renamed <filename>.sync-conflict-<date>-<time>-<modifiedBy>.<ext>, and conflict copies "are treated as normal files after they are created."
  • Optional versioning. The versioning docs list Trash Can, Simple, Staggered and External, with old versions kept by default in a .stversions folder inside the shared folder.
  • An ignore file, .stignore, in the folder root, for things you do not want to move. The file itself "will never be synced to other devices."
  • It works on a long list of systems, per the site, including macOS, Windows and Linux.

What is awkward about it

  • It moves bytes, not meaning. It does not know a skill from a photo, so an editor's temp file can sync as it is.
  • Conflict copies sit next to the real file. A SKILL.md.sync-conflict-... file in the skills folder is clutter, and you merge by hand.
  • Both machines need Syncthing running and need to reach each other. A laptop that is asleep does not receive anything until it wakes.
  • Syncing the whole ~/.claude folder would also move settings and anything else in it. Share only the skills folder, and use .stignore for the rest.
  • Secrets sync exactly as written. If a key is in a script, it is on every device.
  • It is one more program to keep updated on each computer.

The figures above are the ones the Syncthing docs give.

Option 3: Ragspaces

Ragspaces is an open catalog of 5,299 agent skills for Claude Code and Codex (home page count on 2026-11-23). For this post the catalog matters less than what happens to a skill after you save it.

From the how it works page: a hook uploads a skill as soon as your agent saves it, and a background watcher downloads changes made elsewhere, including on the website. Change a skill once and the new version reaches your other computers within a minute. Deleted skills are moved to ~/.claude/ragspaces-trash, never erased, and API keys in your files are blanked out before upload.

Setup is the installer: curl -fsSL https://ragspaces.com/install-skills.sh | bash on macOS and Linux, or powershell -Command "irm https://ragspaces.com/install-skills.ps1 | iex" on Windows. It needs Node.js, links the computer, uploads the skills it finds in ~/.claude/skills and ~/.agents/skills, starts the watcher, and adds Ragspaces as an MCP server so shared skills appear as tools. Run the same installer on the next computer and it is linked too.

Each skill is private (only you), followers (people who follow you can use it) or public (anyone can find and install it). Keep your personal skills private and nobody else sees them. The same sync then covers a skill you later decide to share, which the other two routes do not have. If sharing is the point, share Claude skills with a team compares Ragspaces with Git repos and plugin marketplaces for that case.

What is good about it

  • Nothing to run by hand. No commit, push, pull or "is Syncthing up."
  • A new computer is one command, and the installer finds skills already in the two skill folders.
  • Skills can be private for you and become shared or protected later without moving to another tool.
  • A skill page shows the description, README, reviews, price and updated date with no account needed, so you can read a skill before installing it. Examples: creating-claude-md by @marcoy and skill-creator by @erik_forge.
  • Keys in files are blanked before upload, which helps if you forget.

What is awkward about it, and what is not listed

  • It is a hosted service. Your skills are uploaded to Ragspaces servers. If your policy says nothing leaves your machines, Syncthing or Git on your own server is the answer.
  • It needs Node.js and a background process on each computer.
  • Ragspaces does not describe how it handles a conflict when you edit the same skill on two computers within the same minute, or any version history beyond the trash folder for deleted skills.
  • The pages do not say what happens when a computer is offline for days.
  • The hook and the watcher are tied to Claude Code and Codex. If you want to sync other folders, that is Syncthing's job, not this.
  • Blanking keys is a safeguard, not a reason to put keys in skills.

If you want to see how it works before installing anything, read the how it works page.

A fourth route: your claude.ai account

If you use Claude on claude.ai and Claude Code with the same account, Anthropic has its own bridge. The help-center article (Using skills in Claude, read 2026-11-24) says:

  • "Skills you've enabled in your Claude settings also load in Claude Code in your terminal" when you sign in "with the same Claude account."
  • This "includes skills you created or turned on and skills an owner provisioned for your organization."
  • "It needs Claude Code v2.1.273 or later."
  • "Skills don't sync when Claude Code is signed in with an API key or runs on a cloud provider such as Amazon Bedrock."

So if you build or upload a skill in claude.ai and sign in to Claude Code with that account on every computer, the skill loads in each of them without any file sync. That is the least work of the four, with limits. It follows your account and your settings, not your folder, so a skill you wrote in ~/.claude/skills on one machine is a file on that machine, and this page does not say it moves. It does nothing for a machine where Claude Code uses an API key or Bedrock, and it does not cover Codex. The page lists no plan restriction for this sync, but skills themselves are tied to plans, so check your own account.

An older Anthropic overview page said custom skills do not sync across surfaces. The help-center text above is newer for the same-account case, and it is what I rely on here. Claude skills vs MCP vs plugins covers what each format is.

Head to head: delay and conflicts

Dotfiles repo Syncthing Ragspaces
Who triggers the sync You, with commit, push and pull The watcher and scans A hook on save and a watcher
Documented delay Until you pull Watcher batches 10 seconds, full scans hourly by default, "a slight delay" "Within a minute"
Both machines must be on No Yes Not listed
Same skill edited in two places Merge conflict, you resolve it Older file renamed to a .sync-conflict copy, you merge by hand Not listed
Can you get yesterday's version Yes, from history If versioning is on Not listed, except deleted skills in ~/.claude/ragspaces-trash

If you only ever work on one machine at a time, conflicts barely matter and the fast routes are fine. If you work on two at once, say a laptop and a remote box, the conflict row decides it. Git makes you resolve the clash. Syncthing keeps both files and lets you choose. For Ragspaces I can only say the pages do not describe it.

Head to head: secrets and what leaves your machines

Dotfiles repo Syncthing Ragspaces
Where the files go Your Git host, or your own server Only your devices, per the site Ragspaces servers
Keys in a script Land in history if pushed Sync as written Blanked before upload
Transport Whatever your Git remote uses TLS, per the site Not listed
Who else can read it Anyone with repo access Only devices you added You, unless you set followers or public

Skills are instructions plus scripts that run with your permissions. Anthropic's Agent Skills overview says "Use Skills only from trusted sources: those you created yourself or obtained from Anthropic." Syncing your own skills between your own machines fits that, but a sync that lands a file on a machine does not review it. If a skill came from a catalog, read it before it spreads to every computer you own. Audit a community skill before you install it lists the steps, and Ragspaces lists scanners such as ghost-scan-secrets by @ninaberg, which "Scans codebase for leaked API keys, tokens, passwords."

On privacy the order is Syncthing first, because the site says data is never stored anywhere but your computers, then a Git repo on your own server, then the hosted options. If a keyed script is the risk, the best fix is none of these: read keys from the environment.

Head to head: a new computer

This is where the routes differ most in daily life.

Step on a fresh machine Dotfiles repo Syncthing Ragspaces
Install Git Syncthing Node.js, then the installer
Connect Clone the repo (needs credentials) Add the device ID on both machines and share the folder The installer links the computer to your account
Get existing skills Clone and link or copy Wait for the first sync The watcher downloads them
Keep them current Pull Leave it running Leave it running

A dotfiles bootstrap script can make the Git route close to one command, if you write and maintain it. Syncthing needs a handshake on both sides, which is a chore on a server with no screen. Ragspaces is one command, and it needs Node.js first.

Pick a dotfiles repo if

  • You already keep dotfiles in Git and have a bootstrap habit.
  • You want history, diffs and a person to read each change before it spreads.
  • You do not want a background process or a third-party service for skills.
  • You also want to sync CLAUDE.md files, settings and other config in one place.

Pick Syncthing if

  • You want your own machines to match with no account and nothing in the cloud.
  • You want continuous sync without commit and pull steps.
  • You are happy to keep both machines running and merge .sync-conflict files yourself.
  • You already use it for other folders.

Pick Ragspaces if

  • You want a change saved on one computer to appear on the others within a minute, with no commit and no pull.
  • You set up machines often, including remote ones, and want that to be one command.
  • You might later share or protect a skill and want it in the same place.
  • You are comfortable with a hosted service, a Node.js process, and the items marked "Not listed" above: conflicts, version history and offline behavior.

Can you combine them?

Yes, with one rule: do not point two tools at the same folder. Two programs moving the same files is how you get conflict copies you did not ask for. A reasonable setup is Git for the skills you want reviewed and versioned, and one sync tool for the rest. If you use claude.ai skills, they load by account, so they add to the folder rather than compete with it. Remember the precedence rule in the Claude Code docs, "Enterprise over personal, and personal over project," when the same skill name exists in more than one place.

If you are unsure where to start, begin with what you already run. Dotfiles in Git: add the skills folder. Syncthing on your machines: add the folder. Neither: try the claude.ai route if you sign in with an account, or browse Ragspaces and open a skill page such as wcag by @aishac to see what you would be syncing.

Frequently asked questions

How do I sync Claude Code skills between computers?

Personal skills live in ~/.claude/skills/<skill-name>/SKILL.md, so you need that folder to match on each machine. You can keep it in a dotfiles Git repository, sync it with Syncthing, or use a service such as Ragspaces that uploads on save and downloads changes within a minute. If you sign in with the same claude.ai account, skills enabled there also load in Claude Code from v2.1.273.

Does Syncthing work for Claude Code skills?

It works for any folder, so it can keep ~/.claude/skills equal across your devices. Per its docs, changes are found by a watcher and scans and sent after each rescan, so expect a slight delay. If two devices edit the same file, the older copy is renamed to a .sync-conflict file that you merge by hand.

Do I need to restart Claude Code after a skill syncs?

Not normally. Anthropic's docs say Claude Code picks up skill changes within the current session, and that if a new skill does not appear you can run /reload-skills.

Can I put ~/.claude/skills in my dotfiles repo?

Yes, since it is a plain folder of text files. Keep keys out of the scripts, add an ignore file for anything private, and remember that pushing a key puts it in history. Delivery is manual, so you pull on the other machine.

Will my claude.ai skills appear in Claude Code?

Anthropic's help center says skills you enabled in your Claude settings also load in Claude Code when you sign in with the same Claude account, from v2.1.273, including skills an owner provisioned for your organization. It says they do not sync when Claude Code uses an API key or runs on Amazon Bedrock.

What happens if I edit the same skill on two computers?

With Git you resolve a merge conflict. With Syncthing the older file is renamed to a .sync-conflict copy and both are kept. Ragspaces does not describe how it handles this.

Is it safe to sync skills automatically?

Syncing your own skills between your own machines is the safe case. Anthropic advises using skills only from trusted sources and reviewing the files, and a sync does not do the review for you. Read anything from a catalog before it spreads, and keep API keys out of the files.

The bottom line

Use what you already have. If you keep dotfiles in Git, the skills folder belongs there, and you get history and review. If you want your own machines to match with nothing in the cloud, Syncthing does that, and its site says there is no central server. If you want a save on one computer to reach the others within a minute and a new machine ready in one command, Ragspaces is built for it. It is hosted, and it does not list conflict handling or version history, so the other two are the better choice if either matters to you. To see how it works first, read the walkthrough.

Related articles

About this research

I am Anton Goldshtein, a two-time founder who previously bootstrapped a company to $100M in revenue. I read the Claude Code skills docs, the Anthropic help-center article on using skills, the Syncthing site and docs, and the Ragspaces home, how-it-works and skill pages. Every figure is as published on 2026-11-23 or 2026-11-24 or in the dated source named in the text. Ragspaces publishes this blog. (LinkedIn)

Keep reading