惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
WordPress大学
WordPress大学
博客园 - 三生石上(FineUI控件)
H
Help Net Security
小众软件
小众软件
The Cloudflare Blog
人人都是产品经理
人人都是产品经理
Apple Machine Learning Research
Apple Machine Learning Research
S
SegmentFault 最新的问题
Last Week in AI
Last Week in AI
爱范儿
爱范儿
量子位
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
IT之家
IT之家
博客园 - 【当耐特】
V
Visual Studio Blog
大猫的无限游戏
大猫的无限游戏
博客园_首页
Jina AI
Jina AI
D
Docker
博客园 - 司徒正美
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Microsoft Security Blog
Microsoft Security Blog
阮一峰的网络日志
阮一峰的网络日志

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
CCSnapshot - A Claude Code Configs Transfer Tool
Keith MacKay · 2026-05-13 · via DEV Community

Dunno about you, but my Claude Code environment is pretty customized for me...fits me like a comfy overstuffed armchair, packed with plugins, skills, commands, configuration snippets, and so forth. However, that customized config is not as portable as I’d like. I discovered this (again) when I started spinning up an old laptop to do some Claude work and realized that I was basically starting my config from scratch…and I’m sure I’ll be doing this again. And again. And I already use on Mac, Linux, and Windows, each of which has different Claude filepaths, different .rc filenames, and so on.

It seemed silly to set up the entire environment by hand from scratch, so Claude and I wrote a transfer utility. You can find the public GitHub project here:

https://github.com/keithmackay/CCSnapshot

To copy your Claude configs with the tool

  • Fork a copy of the repo
  • clone to your source machine
  • run the collection script
  • push back to your forked repo

There are both Bash and PowerShell scripts, so this will work in whatever Claude environment you’re in. The collection scripts are completely mechanical — no tokens required. The script copies all your Claude-specific configs (plugins, skills, commands, .rc settings, CLAUDE.md, ~/.claude, etc.) to a snapshot folder, and you just push back to GitHub after collection so your snapshot is now part of your forked repo. Note that no secrets are copied — if you have GitHub tokens, API keys, etc. their existence (but not their content) will be noted in the collection manifest, and you will be walked through any secrets that need to be added on the new machine.

To replicate to a new environment

  • Clone your snapshot to the destination machine
  • Run the propagation prompt/scripts
  • Repopulate secrets locally

Claude will figure out how to reconfigure things for you. The Claude prompt is smart enough to figure out the local environment setup, and will seamlessly move your settings between Mac, Linux, and Windows.

As noted, it doesn’t pull secrets -- so it will tell you what you need to set up on your new machine to match the old one (git tokens, API keys, environment variables, etc.)

One discovery

One thing I hadn’t really thought about was that you cannot fork your own repo to yourself. Claude was a little stymied by this, too, telling me it had to “think about this more carefully” and that “There’s a tension here”:

I wanted the public repo to start with a blank snapshot folder, so I made a separate copy of the whole project, with its own private GitHub repo, that I use for my snapshots…you can just grab a clone a go.

Make it more useful

Feel free to submit any issues you encounter or suggestions you come up with, or to tell me about a magic switch in Claude that does this already…at the pace these things are changing, I wouldn’t be at all surprised! Enjoy!

😄