with one click
chezmoi-add-tool
Add a new dependency to tool installation scripts
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Add a new dependency to tool installation scripts
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | chezmoi-add-tool |
| description | Add a new dependency to tool installation scripts |
| argument-hint | <tool-name> [--macos|--ubuntu] |
Add the tool "$1" to the appropriate installation script(s).
OS Targeting:
$2 is --macos: Add only to dot_setup/executable_tools_macos.sh$2 is --ubuntu: Add only to dot_setup/executable_tools_ubuntu.sh$2 is empty: Add to both scripts (cross-platform tool)Instructions:
Read both tool scripts to understand their structure and categorization
Determine the appropriate category for the tool:
Add the tool alphabetically within its category:
formulae=() arraypackages=() array in install_apt_packages()fd-find on Ubuntu vs fd on macOS)Handle special cases:
Validate the changes:
just shell-check
Cross-platform compatibility check:
Example Usage:
/add-tool ripgrep (adds to both platforms)/add-tool duti --macos (macOS-only utility)/add-tool xclip --ubuntu (Linux-only utility)Capture global dotfile changes made by a CLI installer into the chezmoi source, then commit. Use after an installer (curl pipe to sh, npm -g, brew, etc.) edits shell rc files or PATH. Pass the install command as the argument; the skill runs it, diffs what changed, ports only the portable edits into the chezmoi source templates, confirms anything ambiguous, then commits.
Audit macOS efficiency, background load, cache sprawl, Homebrew cleanup, login items, LaunchAgents, and safe developer cache cleanup. Use for Mac performance, disk cleanup, cache cleanup, background process, launch daemon, or login item audits.
Refresh stale CLI-backed skills in PaulRBerg/agent-skills after installed CLI versions advance; update docs from official upstream release docs and set references/version.txt.
Add custom zsh completions for a tool.