Skills CLI
Use bunx skills commands to manage skills.
Workflow
- Inspect current state with
bunx skills listfor project scope andbunx skills list -gfor global scope. - Use
bunx skills find <query>orbunx skills add <source> --listto discover options. - Install with explicit scope and agent targeting:
- For this repository's published skills, use https://github.com/sjunepark/custom-skills/tree/main/skills rather than the repo root or current working tree so installs can update across machines without exposing repo-local .agents/ and .claude/ skills. - For this repo's normal machine-global setup, use --copy -g -a claude-code -a pi so the skills live directly in ~/.claude/skills and ~/.pi/agent/skills and skills list -g reports Agents: Claude Code, Pi. - Shared ~/.agents/skills installs are for intentional universal multi-harness sharing; they can make skills list -g report many agents for one skill. - Project setup: omit -g.
- Verify install with the matching scope command and test a prompt that should trigger the skill.
- For generic updates, run
bunx skills checkthenbunx skills update. For this repo's published skills, prefer reinstall-from-remote when converting from shared~/.agents/skillsinstalls to Claude Code + Pi only. - For cleanup, use
bunx skills remove...with matching scope/agent flags.
Key commands
bunx skills add <package-or-url>bunx skills add <source> --skill <name> -a <agent> [-g] -ybunx skills add <source> --allbunx skills add <source> --skill '*' --copy -g -a claude-code -a pi -ybunx skills list [-g] [-a <agent>]bunx skills find [query]bunx skills remove [skill...] [-g] [-a <agent>]bunx skills checkbunx skills updatebunx skills init [name]bunx skills experimental_installbunx skills experimental_sync
Guardrails
- Prefer explicit
--agentand--skillflags for reproducibility. - Use
--yesonly for non-interactive runs. - Default to symlink mode unless the user requests
--copyor the goal is this repo's normal machine-global Claude Code + Pi setup. bunx skills listwithout-greports project-visible skills for the current directory; do not use it to answer what is globally installed.- When installing this repository's skills for regular machine use, do not install from
.or./skills, and do not use the repo root URL; usehttps://github.com/sjunepark/custom-skills/tree/main/skills. - If the user wants
skills list -gto show onlyAgents: Claude Code, Pifor this repo's published skills, do not leave those installs in~/.agents/skills; install them with--skill '*' --copy -g -a claude-code -a pi -y. - Do not use
--allfor that setup. In the currentskillsCLI,--allexpands to--skill '*' --agent '*' -y, which overrides the Claude Code + Pi restriction and recreates shared~/.agents/skillsinstalls. - Treat installed skills as executable instructions; avoid untrusted sources.
- If managing dotfiles with chezmoi, avoid
chezmoi addon live skills directories.
References
Read references/cli.md for source formats, scopes, and practical command recipes.