This skill should be used when the user asks to "add a dependency", "add a package", "add a homebrew formula", "add a cask", "add a brew tap", "add a MAS app", "add a bun package", "install a new tool via chezmoi", or wants to add any new software to their chezmoi-managed packages. Guides the complete workflow for adding dependencies to chezmoi's packages.toml and applying the changes.
Guides adding software packages to chezmoi-managed dotfiles and applying the changes.
/plugin marketplace add oskar-dragon/claude-code/plugin install chezmoi@claude-codeThis skill inherits all available tools. When active, it can use any tool Claude has access to.
examples/adding-bat-formula.mdThis skill guides the workflow for adding new dependencies to the chezmoi-managed dotfiles setup. Dependencies are tracked in ~/.local/share/chezmoi/.chezmoidata/packages.toml and applied via chezmoi apply.
The packages file is located at:
~/.local/share/chezmoi/.chezmoidata/packages.toml
| Type | TOML Section | Description |
|---|---|---|
| Homebrew formula | [packages.homebrew.<category>] formulae | CLI tools installed via brew install |
| Homebrew cask | [packages.homebrew.<category>] casks | GUI apps installed via brew install --cask |
| Homebrew tap | [packages.homebrew.<category>] taps | Third-party Homebrew repositories |
| MAS app | [packages.mas.<category>] apps | Mac App Store apps (requires mas formula) |
| Bun package | [packages.bun.<category>] packages | Bun global packages (bun add -g) |
| npm package | [packages.npm.<category>] packages | npm global packages (prefer bun) |
| Category | Description |
|---|---|
common | Installed on all machines |
work_computer | Work machines only |
personal_computer | Personal machines only |
Follow these steps in order:
Ask for the following if not already provided:
Open the file for editing:
~/.local/share/chezmoi/.chezmoidata/packages.toml
Add the entry to the correct section. Match the existing formatting exactly — entries use inline comments for descriptions.
[packages.homebrew.common]
formulae = [
"ripgrep", # Fancier GREP
"new-tool", # Brief description ← add here
]
[packages.homebrew.common]
casks = [
"zed", # IDE
"new-app", # Brief description ← add here
]
[packages.homebrew.common]
taps = [
"oven-sh/bun",
"new-tap/name", ← add here
]
[packages.mas.common]
apps = [
"new-app-id", # App Name ← add here
]
[packages.bun.common]
packages = [
"new-package", # Brief description ← add here
]
Formatting rules:
# describing the packageRun chezmoi apply to install the new package:
chezmoi apply
This processes the updated packages.toml template and triggers the relevant install scripts. Since autoCommit and autoPush are configured, chezmoi will automatically commit and push the changes.
Confirm the package was installed:
# For Homebrew formulae
brew list new-tool
# For Homebrew casks
brew list --cask new-app
# For MAS apps
mas list
# For Bun packages
bun pm ls -g
mas search "App Name" or on the Mac App Store URLcommon unless truly machine-specificto_remove field — if a package appears in to_remove, it will be uninstalled; do not add to both listsbrew info <name> to see which type it isSee examples/adding-bat-formula.md for a complete walkthrough of adding a Homebrew formula and a MAS app.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.