add-tool
Skill2 starsChanged 2 months ago0BSDView on GitHub
Decide where a new tool slots into the chezmoi bootstrap and README. Use when adding a CLI/binary to the host bootstrap so it lands in the right install pass and the right README block. Routes auth-required tools to "Interactive logins" and fire-and-forget binaries to "PATH check".
- Installs packages
10 other projects use a version of this.
Adopted by
Most recently taken up by
- ooloth/dotfilestheir own version, first seen Oct 5, 2026
- Dipeshpal/capestheir own version, first seen Sep 27, 2026
- hhopke/intervals-icu-mcptheir own version, first seen Sep 2, 2026
- thecoderpanda/fde-starter-kittheir own version, first seen Sep 2, 2026
- PinMeTo/pinmeto-location-mcptheir own version, first seen Jul 29, 2026
- agenticstack-sh/agenticstack-skillstheir own version, first seen Jun 8, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- hhopke/intervals-icu-mcp★ 87same name
- takeshy/obsidian-llm-hub★ 36same name
- ooloth/dotfiles★ 24same name
- Cognigy/cognigy-plugin★ 16same name
- PinMeTo/pinmeto-location-mcp★ 15same name
- microsoft/PilotSwarm★ 4same name
- agenticstack-sh/agenticstack-skills★ 2same name
- thecoderpanda/fde-starter-kit★ 2same name
- Dipeshpal/capes★ 1same name
- ficaviolaodorata520/met-museum-mcp-server★ 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 repository2 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- dot_claude/CLAUDE.mdCLAUDE.md
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 41
All passes live under .chezmoiscripts/.
- Very specific: line 75
Add an entry to .chezmoiexternal.toml, mirroring vale or lazygit.
- Distinctive: line 76
Write the literal release URL, version included wherever the asset name repeats it:
- Distinctive: line 106
Run sensors before claiming done:
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Add a tool to bootstrap
First check the tool belongs on the host, then make two decisions independently.
Libraries with no console script
uv tool install needs an executable, so a PyPI library takes one of
two shapes:
- An installed tool imports it (plugins, optional backends): add it
as a pinned
--withextra on that tool, asbeetscarriespyacoustid. - Otherwise, keep it off the host. The caller runs
uv run --with <pkg>==<version> <script>and owns the pin. Stop here: no bootstrap change, no README line.
Install a CLI front-end that wraps the library only when its command is itself wanted.
Auth axis
Does the tool need interactive auth (login, browser flow, API token) to do real work?
- Yes (gh, claude, gcx, readwise, tailscale): list in README "Interactive logins" with a config-path comment so a fresh-host bootstrap surfaces where state lands. No PATH-check line — running the login command itself proves reachability. Auth state is runtime, never managed by chezmoi.
- No (zellij, lazygit, act, gh-poi): list in README "PATH check" line.
Install mechanism
All passes live under .chezmoiscripts/.
Pick the canonical installer for the ecosystem:
| Source | Where | Pattern |
| Debian package | .chezmoidata/packages.yaml | append to packages.apt |
| Pinned binary release | .chezmoiexternal.toml | external entry below |
| npm package | run_before_03 | npm install -g, command -v |
| Cargo crate | run_before_09 | cargo install, command -v |
gh extension | run_before_05 | gh extension install --pin |
| PyPI package | run_after_install-via-externals | mirror the beets block |
A release binary that needs more than a download (signature check,
source build) gets a script/install/<tool> script, called from
run_before_02 instead; mirror script/install/signal-cli.
Auth and install axes are independent: gcx is auth-required and
a chezmoi external; gh-poi is fire-and-forget and uses
gh extension install.
Pin the version
Annotate each *_VERSION pin on the line directly above it:
| Source | Annotation |
| Script-installed tool | # renovate: datasource=github-releases depName=<owner>/<tool> |
| PyPI package | # renovate: datasource=pypi depName=<pkg>, one per --with extra too |
An external needs no annotation: its version lives in the download URL.
External entry
Add an entry to .chezmoiexternal.toml, mirroring vale or lazygit.
Write the literal release URL, version included wherever the asset name
repeats it:
[".local/bin/<tool>"]
type = "archive-file"
url = "https://github.com/<owner>/<tool>/releases/download/vX.Y.Z/<tool>_X.Y.Z_<arch>.tar.gz"
path = "<tool>"
executable = trueRenovate bumps every copy of the version in the URL. Use
type = "file" for a raw binary asset. A release asset carries no
checksum (ADR 0008); a GitHub source-archive tarball
(archive/refs/tags/…) pins checksum.sha256.
A pass that runs the new binary is run_after_, since externals deploy
during apply.
Procedure
- For a library with no console script, settle its shape first; stop if it stays off the host.
- Identify the auth axis and install mechanism.
- Wire the installer into the right
.chezmoiscripts/pass, or add the external entry. - Update README:
- Auth-required → add to "Interactive logins" with config-path comment
- Fire-and-forget → add to "PATH check" line
- Annotate every pin per Pin the version.
Run sensors before claiming done:
pre-commit run --all-files bats --recursive dot_local dot_claude script script/checks/chezmoi-apply
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.

