CLI Reference
Install and manage agent skills without leaving your terminal.
npx @skillz.supply/cli --helppublish
npx @skillz.supply/cli publish [path] Publish local SKILL.md files to your AT Protocol repo.
The path may be a SKILL.md, a skill directory, or a skills directory. Without a path, .skillz.json is used.
--yes Publish all discovered skills without prompts.
--dry-run Validate and show what would publish without logging in or writing.
install
npx @skillz.supply/cli install <ref> Install an agent skill into the current project.
<ref> is a DID/rkey reference or a full skillz.supply SKILL.md URL. The first interactive install remembers the destination in .skillz.json.
--dir <path> Write skills under this directory and skip the destination prompt.
--force Overwrite an existing skill with the same name.
--yes Run non-interactively; requires --dir when no destination is configured.
login
npx @skillz.supply/cli login [handle-or-did] Sign in with AT Protocol OAuth.
If the identifier is omitted, the CLI prompts for it. It then opens a browser for authorization and stores the session in the operating system credential store.
automation-auth
SKLZ_IDENTIFIER=<handle-or-did> SKLZ_APP_PASSWORD=<app-password> Authenticate non-interactively in CI, including GitHub Actions.
Set both variables when running publish in automation. Create a dedicated AT Protocol app password, store it as a GitHub Actions secret, and never commit it to the repository. These credentials take precedence over the local OAuth keyring session.
logout
npx @skillz.supply/cli logout Revoke and remove the saved OAuth session.
whoami
npx @skillz.supply/cli whoami Show the DID for the currently authenticated account.
GitHub Actions
For non-interactive publishing, create a dedicated AT Protocol app password and add it to your repository secrets. Then expose both values only to the publish step:
- name: Publish skills
run: npx @skillz.supply/cli publish --yes
env:
SKLZ_IDENTIFIER: ${{ secrets.SKLZ_IDENTIFIER }}
SKLZ_APP_PASSWORD: ${{ secrets.SKLZ_APP_PASSWORD }} Both variables are required. The app password is read from the environment, not saved in the repository, and is never printed. Environment credentials take precedence over local OAuth credentials.