I started doing this a while back and thought it was super useful.
claude-code saves all skills, agents, commands as text files in ~/claude and so they're super git-friendly.
tl;dr:
- save your
~/.claudedir to git - push/pull it from multiple machines
- be able to git blame and revert skills and more
Nothing revolutionary but very rewarding.
I've included a fleshed out .gitignore file for anyone interested as well as a breakdown of the ~/.claude dir.
Top comments (0)