ChenChiWang/ai-agent-chezmoi
A guide and templates to sync Claude Code settings across Windows/macOS/Linux with chezmoi
ARCHETYPE
Minimalist
Lean instructions, few tools, tiny context tax. Lets the model think.
Copy this rig
# review before running: this installs third-party code
$ npx degit ChenChiWang/ai-agent-chezmoi/examples/chezmoi/dot_claude ./rig-ai-agent-chezmoi # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit ChenChiWang/ai-agent-chezmoi/examples/chezmoi/.chezmoitemplates/ai/shared/skills/dotfiles-sync .claude/skills/dotfiles-sync This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 7,204 rigs:
{
"permissions": {
"deny": [
"Read(./.env)",
"Read(**/.env)",
"Read(~/.ssh/**)",
"Bash(rm -rf *)",
"Read(**/*.pem)",
"Bash(rm -rf /)",
"Bash(git push --force:*)",
"Bash(sudo *)",
"Read(.env)",
"Bash(rm -rf /*)",
"Read(./.env.*)",
"Read(~/.aws/**)",
"Bash(git push --force*)",
"Bash(rm -rf:*)",
"Read(**/*.key)",
"Read(**/.env.*)",
"Bash(sudo:*)",
"Bash(git reset --hard*)",
"Bash(git reset --hard:*)",
"Read(.env.*)"
],
"ask": [
"Bash(git push:*)",
"Bash(git push *)",
"Bash(git commit:*)",
"Bash(rm *)",
"Bash(rm:*)",
"Bash(git rebase *)",
"Bash(wget *)",
"Bash(npm publish:*)",
"Bash(git commit *)",
"Bash(gh pr merge *)"
]
}
} Skills (1)
Permissions
deny (0)
—
ask (0)
—
allow (4)
Bash(sh ~/.config/ai-agent/bin/sync.sh status:*)
Bash(sh ~/.config/ai-agent/bin/sync.sh check:*)
Bash(sh ~/.config/ai-agent/bin/sync.sh doctor:*)
Bash(sh ~/.config/ai-agent/bin/sync.sh plan:*)
Similar rigs
erdikilic/dotfiles
Personal Claude Code toolkit — plugins, themes, templates, and dev environment setup
Minimalist 686 tok ·
ggkguelensan/dotfiles
Agent-native cross-platform dotfiles (Windows + WSL2 + macOS) on chezmoi — VS Code for parallel CLI agents, zsh/p10k, Claude Code hooks, Ghostty + cmux, with Claude Code skills and principle docs
Minimalist 1.5k tok ·
IamShobe/dotfiles
—
Pragmatist 895 tok ·
justmytwospence/dotfiles
This is my dotfile repo. There are many like it, but this one is mine.
MCP Hoarder 29.3k tok ·