Skip to content

skillshub completions

The completions command generates tab-completion scripts for your shell. Once installed, you get autocompletion for commands, flags, and subcommands.

Terminal window
skillshub completions <shell>

Where <shell> is one of: bash, zsh, or fish.

Terminal window
skillshub completions bash > ~/.local/share/bash-completion/completions/skillshub
Terminal window
skillshub completions zsh > ~/.local/share/zsh/site-functions/_skillshub

Make sure the directory is listed in your fpath. Add the following to your ~/.zshrc if it is not already present:

Terminal window
fpath=(~/.local/share/zsh/site-functions $fpath)
autoload -Uz compinit && compinit
Terminal window
skillshub completions fish > ~/.config/fish/completions/skillshub.fish

After generating the completion file, open a new terminal session or reload your shell configuration for the completions to take effect.

Generate and install zsh completions:

Terminal window
skillshub completions zsh > ~/.local/share/zsh/site-functions/_skillshub
exec zsh

Verify completions are working by typing skillshub followed by a tab:

Terminal window
skillshub <TAB>
add -- Install a skill from a GitHub URL
agents -- List supported agents
clean -- Remove cached data
completions -- Generate shell completions
doctor -- Check system health
external -- Manage external skills
info -- Show skill details
install -- Install a skill from a tap
link -- Link skills to agents
list -- List installed skills
search -- Search for skills
star-list -- Import taps from a GitHub star list
tap -- Manage taps
uninstall -- Remove an installed skill
update -- Update installed skills