add-tool

Classify new CLI tools by auth type and route them in chezmoi bootstrap.

1|2|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/alunduil/alunduil-chezmoi --skill add-tool-alunduil
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-tool
Source: https://github.com/alunduil/alunduil-chezmoi/tree/main/.claude/skills/add-tool
Command: npx skills add https://github.com/alunduil/alunduil-chezmoi --skill add-tool-alunduil

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Determines where a newly added CLI/binary tool lands in the chezmoi bootstrap so it appears in the right install pass and the correct README block.

Core Features & Use Cases

  • Classify tools by whether they require interactive authentication and route them to "Interactive logins" or "PATH check".
  • Map the tool to a canonical install mechanism (e.g., Debian package, pinned binary, npm, cargo, gh extension, curl|sh) and assign the appropriate run_once_before pass.
  • Provide guidance for integrating a script/install/<tool> template and updating the README accordingly.

Quick Start

Identify the tool’s auth needs, install path, and README placement to wire it into the bootstrap.

Frequently Asked Questions about add-tool

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new CLI tool to a chezmoi bootstrap script?

You add a new CLI tool to a chezmoi bootstrap by classifying its authentication needs, mapping it to a canonical installer like a Debian package or cargo, and routing it to the correct run_once_before pass and README section.

How does chezmoi tool integration handle interactive authentication?

Chezmoi tool integration handles interactive authentication by applying a decision framework that distinguishes interactive-auth tools and routes them to Interactive logins, separating them from non-interactive PATH check tools.

What is the correct install pass for a pinned binary in a chezmoi bootstrap?

The correct install pass for a pinned binary in a chezmoi bootstrap is the run_once_before pass, which guarantees the canonical installer applies before standard configuration steps execute.

Can I use a script/install template for npm packages in chezmoi?

Yes, you can use a script/install template for npm packages in chezmoi by mapping the tool to the npm canonical installer and integrating the template within the appropriate run_once_before install pass.

Why does my new CLI tool appear in the wrong README block after bootstrapping?

Your new CLI tool appears in the wrong README block because it was not properly classified by its authentication requirements, causing incorrect routing between Interactive logins and PATH check sections.

When should I route a tool to PATH check instead of Interactive logins?

You should route a tool to PATH check instead of Interactive logins when the tool does not require interactive authentication, allowing the bootstrap to verify its installation non-interactively.