Commands

Complete CLI command reference

All commands follow the pattern osk <command> [options]. Use osk --help or osk man <command> for detailed help.

CommandAliasDescription
install <source>iInstall skills from repository or by name
uninstall <skill>rmRemove installed skills
list [name]lsList installed skills
updateupCheck and apply skill updates
search <query>sSearch for skills
browsebBrowse available skills
loginAuthenticate with the marketplace
logoutLog out and revoke token
whoamiShow current login status
push [path]Push skill to marketplace as draft
publish <slug>Make a pushed skill public
audit [path]Run security audit on a skill
repo add <source>Add a skill repository
repo lsList configured repositories
repo rm <name>Remove a repository
configShow/modify configuration
init [name]Create new skill template
validate [path]Validate skill format

install

Install skills from a repository URL or by name.

terminal
$ osk install <source> [skill] [options]

# Install from GitHub URL
$ osk install https://github.com/user/skills

# Install specific skill by name
$ osk install code-review

# Install for a specific agent
$ osk install code-review -t claude

# Install globally
$ osk install code-review -g

uninstall

Remove an installed skill.

terminal
$ osk uninstall <skill> [options]

$ osk rm code-review

list

List installed skills, optionally filtered by name.

terminal
$ osk list
$ osk ls --json

update

Check for updates and apply them.

terminal
$ osk update
$ osk up --check  # Check only, don't apply

Search for skills across configured repositories.

terminal
$ osk search "testing"
$ osk s "review" --agent claude

browse

Interactive skill browser with filtering.

terminal
$ osk browse
$ osk b --repo my-skills

login

Authenticate with the OpenSkill marketplace using the device auth flow. Opens a browser to complete authentication.

terminal
$ osk login

logout

Log out of the marketplace and revoke the current token.

terminal
$ osk logout

whoami

Show the current login status and authenticated user.

terminal
$ osk whoami

push

Push a skill to the marketplace as a draft. The skill must pass validation before it can be pushed.

terminal
$ osk push ./my-skill

# Push from current directory
$ osk push

publish

Make a previously pushed draft skill public and visible in search results.

terminal
$ osk publish my-skill

audit

Run a security audit on a local skill to check for potential issues before publishing.

terminal
$ osk audit ./my-skill/SKILL.md

# Audit current directory
$ osk audit

repo

Manage skill repositories.

terminal
$ osk repo add https://github.com/user/skills
$ osk repo ls
$ osk repo rm my-skills
$ osk repo sync

config

View and modify CLI configuration.

terminal
$ osk config list
$ osk config get defaultAgent
$ osk config set defaultAgent claude

init

Create a new skill template.

terminal
$ osk init my-skill
$ osk init my-skill --agent claude --template basic

validate

Validate a skill's format and frontmatter.

terminal
$ osk validate ./my-skill/SKILL.md
$ osk validate  # Validates current directory
Use osk man <command> for detailed help on any command, including all available options and examples.