用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/PaulRBerg/dotfiles --skill chezmoi-add-tool命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
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.
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.
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.
正在显示 SKILL.md
基于 SOC 职业分类
| 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)