/awesome-claude:git-syncfrom awesome-claude
Use when the user wants to set up portable Claude Code configuration — turning ~/.claude into a git repo that auto-syncs settings, skills, and memories across machines. Triggers on backing up claude config, syncing settings, new machine setup, dotfiles for claude, portable configuration.
Ships in awesome-claude. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Turn ~/.claude into a git repo that auto-syncs your configuration across machines.
| Tracked | Not tracked |
|---|---|
settings.json, keybindings.json | history.jsonl, sessions/ |
skills/** | cache/, plugins/ |
projects/*/memory/** | Session data, UUID dirs |
CLAUDE.md, hooks/ | tasks/, todos/, telemetry/ |
cd ~/.claude && git init
*
!.gitignore
!CLAUDE.md
!settings.json
!keybindings.json
!hooks/
!hooks/**
!skills/
!skills/**
!projects/
!projects/*/
!projects/*/memory/
!projects/*/memory/**
Explicit add for the first commit (whitelist gitignore needs help on first run):
git add .gitignore CLAUDE.md settings.json keybindings.json 2>/dev/null
git add skills/ hooks/ 2>/dev/null
for d in projects/*/memory; do [ -d "$d" ] && git add "$d"; done
git commit -m "initial config backup"
After this, git add -A works correctly.
Add to hooks.Stop in ~/.claude/settings.json (append, never replace):
{
"hooks": [
{
"type": "command",
"command": "cd $HOME/.claude && git add -A && (git diff --cached --quiet || git commit -m \"auto-sync $(hostname) $(date +%Y-%m-%d-%H%M)\" -q) && git push -q 2>/dev/null || true &"
}
]
}
cd ~/.claude
git remote add origin [email protected]:<user>/claude-config.git
git push -u origin main
git clone [email protected]:<user>/claude-config.git ~/.claude
claude plugins marketplace add <user>/<marketplace> # re-add marketplaces...
claude plugins install <plugin>@<marketplace> # ...then reinstall plugins
Done. Skills, settings, and memories are all in place.
Use /sync anytime to commit + pull + push.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub andreiverdes/awesome-claude --plugin awesome-claude8 skills in this plugin
/crispCRISP writing protocol (Concise · Relevant · Intuitive · Simple · Protocol). Use when the user says /crisp, "use CRISP", "crispify", "make this crispier", "run a CRISP pass", or when a project's AGENTS.md/CLAUDE.md asks for CRISP; applies to replies, prompts, specs, plans, status updates, and agent messages./intellij-pluginUse when creating, modifying, or debugging an IntelliJ IDEA / JetBrains / Android Studio plugin with the IntelliJ Platform SDK, Kotlin, and IntelliJ Platform Gradle Plugin 2.x. Triggers on plugin.xml, ToolWindowFactory, AnAction, services, EDT/threading, or IntelliJ UI components./local-workerUse when you want to offload well-bounded grunt work — codebase scouting, file summaries, docstrings, boilerplate, simple tests, mechanical/codemod edits — from Claude Code to a local model under LM Studio or Ollama, to cut frontier token usage. Triggers on "delegate to my local model", "use lm studio / ollama for this", "run it on the local LLM", "offload to local", "reduce tokens with a local sub-agent"./mobile-app-builderUse when building a new mobile app from scratch, scaffolding mobile app infrastructure (iOS, Android, or cross-platform), setting up Firebase + RevenueCat + Superwall, or when the user wants a production-ready mobile app skeleton with auth, analytics, payments, and onboarding. Covers SwiftUI, Jetpack Compose, Flutter, Compose Multiplatform, and Expo/React Native./mosbyUse when asked to create a 3D architecture visualization, map, or "city" of a codebase or system — triggers on "arch viz", "architecture city/map", "visualize this project's architecture in 3D", "three.js architecture", "/mosby <path>", or being pointed at a repo and asked to show its components as buildings. Skip for 2D-only diagram requests (mermaid, graphviz, static UML images) and for UI mockups./syncUse when the user wants to sync their Claude Code config (settings, skills, memories) with the remote repo. One command that commits local changes, pulls remote changes, rebases, and pushes.