Chezmoi
A collection of skills: Personal agentic workflows library
npx -y skills add MasahiroSakoda/skills --skill chezmoiAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Manage dotfiles with chezmoi. Use when working with chezmoi config, setup, or repo structure, managing files, templates, or script's (Go template syntax, run_once_/run_onchange_ scripts, .chezmoidata), handling file attributes (symlinks, permissions, encryption, external sources), Troubleshooting chezmoi operations or understanding application order.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.8 KB, 592 tokens by cl100k_base, as published. Nobody here has run it
chezmoi - Cross platform dotfiles manager
Core Principles
- Preview Changes: Always execute
chezmoi difforchezmoi cat <file>before any applying. - Secret Management: If you find any security concerns, HIGHLIGHT them and suggest improvements or alternatives.
Core Concepts
Three-Tier Architecture
- Home directory (
~) - Your actual dotfiles (destination state) - Source directory (
~/.local/share/chezmoi/) - Chezmoi's managed files (source state) - Remote repository - Git repo for syncing across machines
Source State Encoding
Chezmoi encodes file attributes in filenames:
dot_bashrc→~/.bashrcprivate_dot_netrc→~/.netrc(restricted permissions)executable_dot_local/bin/script→~/.local/bin/script(executable)
Directory Structure
~/.local/share/chezmoi/
├── .chezmoiroot # Root directory specifier
└── home/ # $HOME directory
├── .chezmoidata/ # Custom template data
├── .chezmoiexternals/ # External resource config
├── .chezmoiscripts/ # Script directory
├── .chezmoitemplates/ # Reusable partial templates
├── .chezmoi.toml.tmpl # Config template (prompts during init)
├── .chezmoiremove.tmpl # Patterns of files to remove on apply
├── .chezmoiignore # Ignore patterns
└── .chezmoiversion # Minimum version specifier
References
- Commands: chezmoi commands with usage
- Special Files & Directories:
.chezmoi*files and directories control chezmoi behavior. - Attributes: Prefixes / suffixes on source filenames control behavior (
dot_,private_,.tmpl, etc). - Scripts: Scripts in
.chezmoiscripts/run during apply. Format:run_[once_|onchange_][before_|after_]<order>-<name>.<ext>[.tmpl] - Templates: Go text/template library syntax used in
chezmoi, variables, and functions - Externals: External resources config in
.chezmoiexternals/which is fetched from URLs, archives, and git repositories - Secrets: Secret management instructions which have to use encryption or 1Password