Skip to main content

CLI

Install, configure, and use the sundial-hub CLI.

Install

The easiest way to get started using the CLI is to run it with an agent:

npx sundial-hub add skill && claude

Then type /skill to activate the skill.

You can also install the CLI directly and then use it with sun or sundial:

npm install -g sundial-hub

Then run commands like sun add <skill> or sun find "query" to find and install skills.

Install targets

The CLI auto-detects your agent and installs to the right folder:

  • .claude/skills/ — Claude Code
  • .cursor/skills/ — Cursor
  • .codex/skills/ — Codex CLI
  • .gemini/skills/ — Gemini / Antigravity

Many other agents are supported, too. You may choose between global or local installation.

See command reference for more details.

Auth

Authentication is required to publish, and it also unlocks private skill discovery in the CLI.

npx sundial-hub auth login

Choose browser login (recommended) or paste an API token from www.sundialhub.com/settings.

i
Without auth, sun find shows public skills. After auth, it also shows your private skills and private skills shared with your team.

Global vs local

If run inside a project directory, skills are added locally. Otherwise they're added globally to ~/. See command reference for flags and options.