Shellhub

Use the ShellHub CLI to search, install, update, and publish agent skills from shellhub.com. Use when you need to fetch new skills on the fly, sync installed skills to latest or a specific version, or publish new/updated skill folders with the npm-installed shellhub CLI.

OpenGitCode 7963f63 1.3 KB Updated

File contents

ShellHub CLI

Install

npm i -g shellhub

Auth (publish)

shellhub login
shellhub whoami

Search

shellhub search "postgres backups"

Install

shellhub install my-skill
shellhub install my-skill --version 1.2.3

Update (hash-based match + upgrade)

shellhub update my-skill
shellhub update my-skill --version 1.2.3
shellhub update --all
shellhub update my-skill --force
shellhub update --all --no-input --force

List

shellhub list

Publish

shellhub publish ./my-skill --slug my-skill --name "My Skill" --version 1.2.0 --changelog "Fixes + docs"

Notes

  • Default registry: https://shellhub.com (override with CLAWHUB_REGISTRY or --registry)
  • Default workdir: cwd (falls back to OpenShell workspace); install dir: ./skills (override with --workdir / --dir / CLAWHUB_WORKDIR)
  • Update command hashes local files, resolves matching version, and upgrades to latest unless --version is set

OpenGitCode/OpenShell/tree/main/skills/clawhub commit 7963f63006

Frequently asked questions

npx skillmds@latest add opengitcode/shellhub