alunduil-chezmoi: Skill for Claude Code

.claude/skills/add-tool/SKILL.md

add-tool is a skill for Claude Code from alunduil/alunduil-chezmoi. It costs 65 tokens per session (1,044 once invoked), scanned A, original, 0BSD.

Bootstrap and README guide for adding a command-line tool to a computer setup. It decides where the tool belongs in the installation sequence and how the README should describe it.

In plain words
What is it for?
Use it when adding a package, downloaded program, npm or Cargo tool, GitHub extension, or shell installer to a chezmoi-managed bootstrap.
Why use it?
It prevents new tools from being installed in the wrong place or documented with the wrong setup instructions. It also separates tools that need a login from tools that only need to be found on the system path.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: positional $N argument.

This is alunduil/alunduil-chezmoi's own configuration. It tells Claude Code how to work on alunduil-chezmoi itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything alunduil-chezmoi configures →

Reuse

Borrowing it

Nothing to install: this file belongs to alunduil/alunduil-chezmoi. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/alunduil/alunduil-chezmoi/main/.claude/skills/add-tool/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/alunduil/alunduil-chezmoi

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for add-tool

README.md
[![agentmods](https://agentmods.dev/badge/skills/alunduil/alunduil-chezmoi/add-tool/github.svg)](https://agentmods.dev/skills/alunduil/alunduil-chezmoi/add-tool)
Your own site
<a href="https://agentmods.dev/skills/alunduil/alunduil-chezmoi/add-tool"><img src="https://agentmods.dev/badge/skills/alunduil/alunduil-chezmoi/add-tool/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for add-tool

Your own site · 80×15
<a href="https://agentmods.dev/skills/alunduil/alunduil-chezmoi/add-tool"><img src="https://agentmods.dev/badge/skills/alunduil/alunduil-chezmoi/add-tool.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,044 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.01044
Opus 5 $0.00032 $0.00522
Sonnet 5 $0.00013 $0.00209
Haiku 4.5 $0.00006 $0.00104

Measured 12d ago against content hash 29bfb4fd16a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

add-tool scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/add-tool/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Add a tool to bootstrap

Two decisions, made independently.

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, rtk, gh-poi): list in README "PATH check" line.

Install mechanism

Pick the canonical installer for the ecosystem:

All passes live under .chezmoiscripts/.

Source Pass Pattern
Debian package .chezmoidata/packages.yaml append to packages.apt
Pinned binary release run_before_02 + script/install/<tool> template 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
curl | sh run_before_05 guard with command -v

Auth and install axes are independent: gcx is auth-required and uses script/install/; gh-poi is fire-and-forget and uses gh extension install.

script/install/<tool> template

Mirror script/install/{zellij,lazygit,act,gcx}. Mode 0755:

#!/usr/bin/env bash
set -euo pipefail

TOOL_VERSION="vX.Y.Z"
ARCH="<release-arch-string>"

# shellcheck source-path=SCRIPTDIR source=lib.sh
. "$(dirname "$0")/lib.sh"

parse_bin_dir "$@"

bin="$BIN_DIR/<tool>"
if [ -x "$bin" ] && "$bin" --version 2>/dev/null | grep -qF "${TOOL_VERSION#v}"; then
  printf '==> <tool>: %s already installed at %s\n' "$TOOL_VERSION" "$bin" >&2
  exit 0
fi

printf '==> <tool>: downloading %s\n' "$TOOL_VERSION" >&2
tmp="$(mktemp -d)"
trap 'rm -rf "$tmp"' EXIT

base="https://github.com/<owner>/<tool>/releases/download/${TOOL_VERSION}"
asset="<tool>_${TOOL_VERSION#v}_${ARCH}.tar.gz"
curl -fsSL -o "$tmp/$asset" "$base/$asset"
curl -fsSL -o "$tmp/checksums.txt" "$base/checksums.txt"

expected="$(expected_from_checksums "$tmp/checksums.txt" "$asset")"
verify_sha256 "$tmp/$asset" "$expected"

tar -xzf "$tmp/$asset" -C "$tmp" <tool>
mkdir -p "$BIN_DIR"
install -m 0755 "$tmp/<tool>" "$bin"

Read the full file on GitHub · 105 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 105 lines · 65 tokens per session scan E 29bfb4fd16a0

Subscribe to this mod's changes

add-tool is a skill published in the GitHub repository alunduil/alunduil-chezmoi (2 stars, last pushed today), licensed 0BSD. It adds 65 tokens to every session and 1,044 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

batch-grill-me

A relentless interview that asks every frontier question at once, round by round.

M0rtalPhe0nix/dotfiles · 20 tokens

dotfiles-bootstrap

Bootstrap a workstation with the dotfiles framework. Takes a GitHub user / owner+repo / explicit clone URL and runs dot init (which shells out to chezmoi) with the right safety prompts. Honors the active agent profile (ask / plan / apply / audit) so it defaults to dry-run in safer modes and full apply in apply.

sebastienrousseau/dotfiles · 88 tokens

vibe

Delegate a coding task to a cheap AI model (Mistral Vibe by default, but any provider Vibe knows about — DeepSeek, Gemini Flash, etc.) and supervise the result via git diff. Claude orchestrates, the cheap model codes. Claude consumes 500-1500 tokens per delegation regardless of how many file reads the delegate does…

sebastienrousseau/dotfiles · 137 tokens

aiq-research

Use when asked to run deep research or AI-Q research through a reachable NVIDIA AI-Q Blueprint backend.

laurigates/dotfiles · 25 tokens

telegram

Send notifications, interactive questions, or multiple-choice polls to the user via Telegram. Use when the user asks to be notified ("ping me", "notify me on Telegram", "ask me when..."), when a long-running task finishes and the user is likely away, when an irreversible action needs out-of-band confirmation, or when…

laurigates/dotfiles · 117 tokens

repo-activity

Scan all git repositories under /repos and report recent activity — last commit age, branch, uncommitted changes — in age-bucketed tables. Use when the user asks for a repo activity overview, "what have I been working on", portfolio status, or which repos are active/dormant.

laurigates/dotfiles · 65 tokens