chezmoi
Skill13 starsChanged 5 days agoMITView on GitHub
Manage chezmoi source names, templates, secrets, diffs, and deployment in fmind/dot.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- fmind/dotfilesword for word, first seen Nov 8, 2026
- es6kr/skillstheir own version, first seen Oct 13, 2026
- iiiburnyiii/agent-skillstheir own version, first seen May 14, 2026
- hpehl/skillstheir own version, first seen Apr 20, 2026
- cosgroveb/chezmoi-skilltheir own version, first seen Jan 27, 2026
Other versions5 projects use a version of this.
Word for word · 1
- fmind/dotfiles★ 13100% same
Edited · 0
None found.
Wrote their own version · 4
- cosgroveb/chezmoi-skill★ 2same name
- es6kr/skills★ 2same name
- hpehl/skills★ 1same name
- iiiburnyiii/agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository67 other files it gives its agents.
- AGENTS.mdAGENTS.md
- dot_agents/AGENTS.mdAGENTS.md
- skills/repository-docs/references/agents.mdAGENTS.md
- dot-developmentSkill
- dot-releaseSkill
- dot-skillsSkill
- dot-verifySkill
- acliSkill
- agent-evaluationSkill
- agent-frameworksSkill
- agent-harnessesSkill
- agent-projectSkill
- agent-protocolsSkill
- agySkill
- airflowSkill
- auth-statusSkill
- awsSkill
- bfSkill
- chrome-devtoolsSkill
- clipboardSkill
- cloud-runSkill
- code-securitySkill
- colabSkill
- databricksSkill
- diagrams-as-codeSkill
- dockerSkill
- documentation-siteSkill
- dot-cliSkill
- dprintSkill
- draft-docSkill
- draft-mailSkill
- duckdbSkill
- fmind-visualsSkill
- full-reviewSkill
- gcloudSkill
- ghSkill
- git-deliverySkill
- github-actionsSkill
- github-issuesSkill
- github-pull-requestSkill
- github-repositorySkill
- google-developerSkill
- gwsSkill
- hfSkill
- infra-as-codeSkill
- kaggleSkill
- kubernetesSkill
- lesson-learnedSkill
- mcp-setupSkill
- miseSkill
- model-providersSkill
- playwrightSkill
- project-scaffoldingSkill
- python-mlopsSkill
- python-stackSkill
- python-webSkill
- repository-docsSkill
- scheduled-jobsSkill
- skillifySkill
- <name>Skill
- The first 60 shown.
The file
Files
Chezmoi Source Standard
Edit the source per the project AGENTS.md house rule; a change made under ~/.config or ~/.gemini is overwritten on the next apply. mise tasks wrap the chezmoi commands.
Naming
Choose the target type first, then its allowed attributes in the source-state reference order (encrypted_ before private_ before dot_; a wrong order yields a literally named file). Repository conventions: global skill links are dot_agents/skills/symlink_<name>.tmpl (dot-skills), modifiers use the modify-template marker (see Gotchas), and native login seeds use create_encrypted_private_*.
Workflow
- Manage an existing file:
chezmoi add <target>infers the attributes; set a secret to0600beforechezmoi add --encryptso it imports asencrypted_private_*.age, and keep[add] secrets = "error"so plainaddrefuses unencrypted secrets. - Preview:
mise run diff(chezmoi diff --force --no-pager --exclude encrypted; restrict withmise run diff -- <target>). Diffs exclude encrypted targets so plaintext secrets never reach transcripts;chezmoi statusstill lists their drift. - Validate rendering:
mise run check:chezmoiuses temporary configuration and destination with a dry run excluding encrypted files. It checks the current platform; exercise changed Linux/macOS branches separately and report unexercised branches or encrypted targets. - Check repeatability: for Bash/profile modifier changes, add existing-target and second-pass cases under
dot/tests/, using the isolated rendering approach intest_shell_modifiers.py. Their blocks go through.chezmoitemplates/managed-block.tmpl, which rewrites the block between its begin and end markers in place, so a body change needs no migration code. JSON/TOML modifier changes need the same cases intest_harness_config.py. Inspect affectedrun_*hooks: ordinary hooks run on each apply; once/onchange hooks can rerun when their content changes. - Apply within scope:
mise run apply(chezmoi apply --force, so a diverged target never blocks scripts on a prompt;--forcedoes not expand authorized targets or side effects). Themes (one fmind/theme commit) and fonts (release URLs) are checksum-pinned externals that refetch when their URL changes; a checksum mismatch fails apply instead of deploying changed content, andmise run upgradeadvances the theme pin only while every copied block in theCOPIEDmap ofdot/dot_tasks/theme_pin.pymatches. The Google Sans, Google Sans Code, and Nerd Fonts releases have no upgrade task: when a newer release exists, bump each URL and its checksum together. - Pull target edits back:
chezmoi re-addfolds manual changes to a managed file (such as the regenerated Neovimlazy-lock.json) into the source; the mise lock is regenerated withmise run lock, never re-added. - Diagnose:
mise run doctor(dot doctor,chezmoi doctor, andmise doctor);chezmoi managedandchezmoi unmanagedlist coverage;dot orphanlists former managed targets (orphans); the installed-link recovery guide covers retired skill links, and approved cleanup moves them to recoverable backups. Use command help and dot-cli for cleanup flags.
Gotchas
- Keep the modify-template convention: chezmoi supports
modify_*.tmplscripts. This repository instead uses# chezmoi:modify-templateand.chezmoi.stdinfor every modifier (shell blocks viamanaged-block.tmpl, JSON/TOML viaconfig-merge.tmpl); preserve that convention unless intentionally changing the execution model. - Commit only encrypted
*.agesecrets: keep plaintext out of the repository, previews, and logs (inspect secret targets by status/metadata, never a plaintext diff); rotate a leaked secret (see code-security). Native login seeds usecreate_encrypted_private_*so account switches survive apply; scoped keys stay under~/.config/dot/secrets/, never in global shell exports. Follow secret setup and credential precedence. - Escape other tools' template delimiters: emit another tool's
{{ ... }}as{{`{{ .Destination }}`}}(backticks inside an action);.chezmoi.toml.tmplneeds this too. Debug a template withchezmoi execute-template < file. .chezmoiignore(templated doublestar patterns, not gitignore syntax) keeps repo-only files (dot/,skills/,AGENTS.md) out of apply and skips key-dependent files without the age key; chezmoi already skips dot-prefixed sources such as.github/. Ignore patterns match target paths, and a leading!excludes a match from ignoring and wins over every other pattern, whatever the order.- Retire targets with
.chezmoiremove: removing a source never deletes its target, so list retired targets (glob patterns) in.chezmoiremoveand apply deletes them on every machine, recursively and without asking. The file is a template: emit a shared-directory target such as a skill link only whilelstatandreadlinkprove it is still this checkout's link, so a same-named package another tool installed survives. Delete each entry, and the file once empty, when no machine can still hold the target. .chezmoi.toml.tmplseeds~/.config/chezmoi/chezmoi.tomlonchezmoi init(promptStringOnceper-host data), including[add] secrets = "error"and[edit] apply = true(apply afterchezmoi edit,--watchon save).
Documentation
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

