Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By derekspelledcorrectlyv1.1.2MITIn 1 marketplace
Chezmoi-aware dotfile editing guard and expertise. Prevents direct edits to chezmoi-managed files and provides comprehensive chezmoi workflow guidance.
You run one by typing its /name in Claude Code.
1 caution to review before installing
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Prevents the classic AI assistant mistake of editing dotfiles directly instead of through chezmoi. Also provides comprehensive chezmoi expertise.
Automatically intercepts Edit and Write tool calls targeting files under $HOME:
chezmoi add if the file looks like a dotfile or configThe guard does NOT block edits (exit 0). It warns strongly and instructs Claude to ask the user for confirmation.
Lightweight gate skill that activates whenever Claude is about to edit a file under ~/.<something> (e.g. ~/.claude/settings.json, ~/.zshrc, ~/.gitconfig). Runs a single chezmoi source-path check — if the file is managed, hands off to chezmoi-expert; otherwise exits silently. Catches the case earlier than the PreToolUse hook, before the write tool is even invoked.
Comprehensive chezmoi knowledge that activates when discussing dotfile management:
This plugin is designed to be installed as a user-global plugin:
# Test locally
cc --plugin-dir ~/.claude/plugins/chezmoi
# Or register in Claude Code settings
jq available (for hook JSON parsing)Compare binary plist files between chezmoi source and target:
bash ${CLAUDE_PLUGIN_ROOT}/scripts/diff-plist.sh Library/Preferences/com.example.App.plist
Detect all chezmoi drift, including silent template drift:
bash ${CLAUDE_PLUGIN_ROOT}/scripts/reconcile-status.sh [--verbose]
chezmoi/
├── .claude-plugin/
│ └── plugin.json
├── hooks/
│ ├── hooks.json
│ └── scripts/
│ └── chezmoi-guard.sh
├── scripts/
│ ├── diff-plist.sh
│ └── reconcile-status.sh
├── skills/
│ ├── chezmoi-preflight/
│ │ └── SKILL.md
│ └── chezmoi-expert/
│ ├── SKILL.md
│ └── references/
│ ├── commands.md
│ ├── common-scenarios.md
│ ├── encryption.md
│ ├── templates-and-workflows.md
│ └── troubleshooting.md
└── README.md
This plugin subsumes and replaces the project-scoped skill at ~/.local/share/chezmoi/.claude/skills/chezmoi/. The old skill can be removed after this plugin is installed.
npx claudepluginhub derekspelledcorrectly/claude-plugins --plugin chezmoiBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground