cosgroveb

Chezmoi Skill — Development skill for Claude Code

Development community

A Claude Code skill that teaches Claude how to manage dotfiles with chezmoi, including machine-specific configuration.

How to install Chezmoi Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open cosgroveb/chezmoi-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Chezmoi Skill does

A Claude Code skill that teaches Claude how to manage dotfiles with [chezmoi](https://www.chezmoi.io/), including machine-specific configuration.

Alternatives in Development

  • Gtm Motions — Identify best GTM motions across 7 types including PLG and ABM 7.8k ★
  • AgentHandover — What if OpenClaw, Claude Code, Codex etc. knew how to do your work without you saying it 600 ★
  • Crypto Market Rank — Query crypto market rankings including trending tokens, smart money inflows, meme rankings, and top trader PnL 483 ★

README

chezmoi-skill

A Claude Code skill that teaches Claude how to manage dotfiles with [chezmoi](https://www.chezmoi.io/), including machine-specific configuration.

Installation

Manual

git clone https://github.com/cosgroveb/chezmoi-skill.git ~/.claude/skills/chezmoi

Via chezmoi

Add to your `.chezmoiexternal.toml`:

[".claude/skills/chezmoi"]
    type = "git-repo"
    url = "https://github.com/cosgroveb/chezmoi-skill.git"
    refreshPeriod = "168h"

Then run `chezmoi apply`.

What It Does

This skill activates when you mention "dotfiles" or "chezmoi" and helps Claude:

  • Add and manage files with chezmoi
  • Convert static configs to machine-specific templates
  • Use conditional blocks for OS, hostname, or environment variables
  • Handle nested template syntax (mise, Jinja, etc.)
  • Preview and apply changes safely

Example Usage

"Add my gitconfig to chezmoi"
"Make this config only apply on macOS"
"Convert this to a chezmoi template with work/personal conditions"
"Why isn't my config applying?"

License

MIT