@spatius/cli
v0.1.3
Published
Spatius avatar and video workflows for coding agents
Readme
Spatius CLI
[!NOTE] This project is still in beta.
Manage Studio apps and API keys, browse public/custom avatars, and create avatars and videos from a coding agent or terminal.
Requires Node.js 22+ and a Spatius Studio account. Avatar creation, detail/jobs, and video workflows additionally require Avatar & Video API access. Avatar creation uses your existing Avatar Creations balance.
Install
npx @spatius/cli installThe installer offers global CLI installation, shell completions, agent skills, and Studio setup. For completions, it suggests the launching shell; choose Bash, Zsh, Fish, or Skip. Open a new terminal afterward, or use the activation command printed by the installer.
Manual installation
npm install -g @spatius/cli
spatius auth login
spatius setupShell completions
The interactive installer can set these up for you. To configure them manually,
generate completions for Bash, Zsh, or Fish after installing spatius on your
PATH. They complete commands, flags, allowed values, and local media paths.
No login is needed.
For the current Bash session:
source <(spatius completion bash)For Zsh, run this after your shell's existing compinit initialization:
source <(spatius completion zsh)For Fish, save the script in its automatically loaded completions directory:
mkdir -p ~/.config/fish/completions
spatius completion fish > ~/.config/fish/completions/spatius.fishSee completion installation and recovery for persistent Bash/Zsh setup and initialization details.
Use with coding agents
npx skills add spatius-ai/spatius-cli --skill spatius-shared spatius-avatar spatius-videoUpdate
spatius updateUpdates the global CLI and runs skills update for the three Spatius skills,
without prompts. Stable installations follow npm latest; beta installations
consider both beta and newer stable releases. Use spatius update --channel beta
or --channel latest to select a channel. Updates never downgrade the CLI.
Skills follow their recorded sources and the scope selected by skills update.
Local bundled skills can be skipped, and GitHub skills may have a different
version. The result reports mismatches and partial completion instead of silently
reinstalling skills. No installed skills means only the CLI is updated.
Normal commands can include an updateAvailable notice with the update command.
Registry checks run in the background at most daily; a newly discovered release
usually appears on the next invocation. Set SPATIUS_NO_UPDATE_NOTIFIER=1 to
disable notices and background checks.
See the workflow guide for input requirements and recovery, and the Spatius API documentation for service behavior. Repository development instructions are in CONTRIBUTING.md.
