Skill Studio
View Markdown

CLI

The Skill Studio CLI does the same jobs as the app, from the terminal. It uses the same history, so you can undo a CLI change in the app.

Run it

The CLI needs Node.js and macOS. Run it with npx. You do not need to install it first. @latest makes npx get the newest version, not a copy it saved before.

npx skill-studio@latest diagnose

To see all commands:

npx skill-studio@latest --help

Check your skills

List every skill, with the path and id of each copy:

npx skill-studio@latest scan

Find problems, for example broken links or bad frontmatter:

npx skill-studio@latest diagnose

Find skills that have copies with different content:

npx skill-studio@latest conflicts

Check how much of each agent's skill listing budget your skills use:

npx skill-studio@latest doctor

Find unused skills

Show which skills your agents used in the last 30 days, and which they did not. Unused skills come first.

npx skill-studio@latest usage

To use a different number of days:

npx skill-studio@latest usage --days 7

Fix a skill

npx skill-studio@latest fix --skill my-skill

The CLI repairs what it can. If it cannot fix a problem, it prints the path to the file, so you can fix it yourself.

Park and unpark

Park a skill to hide it from every agent. The CLI does not delete it. You can park a skill that is in the shared .agents/skills folder.

npx skill-studio@latest park my-skill

To use the skill again, or to undo a park:

npx skill-studio@latest unpark my-skill

If more than one copy has the same name, the CLI lists each copy with its path and id. Run the command again with the id:

npx skill-studio@latest park --id <id>

Turn a skill off

Turn a skill off for all agents with disable:

npx skill-studio@latest disable my-skill

To turn it on again:

npx skill-studio@latest enable my-skill

disable and enable are the same as park and unpark.

To turn a skill off for one agent only, check first, then confirm:

npx skill-studio@latest turn-off my-skill --agent codex --check
npx skill-studio@latest turn-off my-skill --agent codex --confirm

This splits a shared skill into one copy for each agent, then parks the copy of the agent you name. After this, npx skills update does not update these copies.

Undo

Undo the last change. If the last change was a park or an unpark, undo stops; use unpark or park instead.

npx skill-studio@latest undo

To undo an older change, list the history, then restore one event:

npx skill-studio@latest events
npx skill-studio@latest restore --event-id <id>

Keep skills current

Find skills that have a newer version:

npx skill-studio@latest outdated

Update a skill that you installed from skills.sh:

npx skill-studio@latest update --skill my-skill --method skills-sh

Add and remove

Install a skill from a GitHub repository:

npx skill-studio@latest add owner/repo --name my-skill

Remove a skill managed by skills.sh or dotagents, or a copy or fork tracked by Skill Studio:

npx skill-studio@latest remove my-skill

To get the skill back, run undo.

Use it in scripts

Add --json to get output that a script can read:

npx skill-studio@latest diagnose --json

Commands such as diagnose, conflicts, fix and doctor exit with code 1 when they complete with findings. A batch update also exits with code 1 if every item fails. If only some items fail, it exits with code 4. Check data.errors for the batch update errors.