SkillRegDocumentation
Dashboard

CLI Reference

All commands for the @skillreg/cli package.

npm install -g @skillreg/cli

Authentication

skillreg setup

Interactive wizard: authenticate via browser, create/select an org, configure agent and scope.

skillreg setup

skillreg login

Authenticate via browser (device flow) or paste a token.

skillreg login [--api-url <url>]
OptionDescriptionDefault
--api-url <url>API base URLhttps://app.skillreg.dev

skillreg whoami

Display the authenticated user and current organization.

skillreg whoami [--json]

Skills

skillreg init

Scaffold a new skill directory with a SKILL.md template.

skillreg init <name>
skillreg init code-reviewer

skillreg push

Package and publish a skill to the registry.

skillreg push <directory> [options]
OptionDescriptionDefault
--org <slug>Target organizationfrom config
--name <name>Skill namedirectory name
--bump <level>Auto-bump version (patch, minor, major)
--jsonJSON output
skillreg push ./my-skill --bump patch

skillreg propose

Submit a local SKILL.md change as a collaboration proposal instead of publishing immediately.

skillreg propose <directory> --title <title> --intent <intent> [--org <slug>] [--json]
OptionDescriptionDefault
--title <title>Short summary of the proposed change
--intent <intent>Why the change should be reviewed
--org <slug>Target organizationfrom config
--jsonJSON output
skillreg propose ./my-skill --title "Clarify retries" --intent "Explain retry behavior"

skillreg proposals

List collaboration proposals for a skill.

skillreg proposals @<org>/<skill> [--json]

skillreg proposal

Show one proposal in detail by ID. The org is resolved from --org or your CLI config.

skillreg proposal <proposalId> [--org <slug>] [--json]

skillreg push-all

Push all skill directories found in the current folder (excludes symlinks).

skillreg push-all [options]
OptionDescriptionDefault
--org <slug>Target organizationfrom config
--bump <level>Auto-bump version for all skills

skillreg pull

Download and install a skill for an AI agent.

skillreg pull @<org>/<skill>[@<version>] [options]
OptionDescriptionDefault
--agent <agent>Target agent: claude, codex, cursor, allclaude
--scope <scope>Install scope: project, userproject
-o, --output <dir>Custom output directory
--jsonJSON output
skillreg pull @acme/code-reviewer --agent all --scope user

skillreg pull-all

Pull all skills from an organization.

skillreg pull-all [options]
OptionDescriptionDefault
--org <slug>Source organizationfrom config
--agent <agent>Target agentclaude
--scope <scope>Install scopeproject

skillreg list

List all skills in an organization.

skillreg list [--org <slug>] [--json]

skillreg info

Show detailed information about a skill.

skillreg info @<org>/<skill> [--json]

skillreg search

Search for skills across the registry (public, no auth required).

skillreg search <query> [--json]
skillreg search testing

skillreg import-github

Preview or import a skill from a GitHub repository path containing SKILL.md.

skillreg import-github <owner/repo> [--path <path>] [--branch <ref>] [--preview]
OptionDescriptionDefault
--org <slug>Target organizationfrom config
--path <path>Directory or SKILL.md pathrepo root
--branch <ref>Branch or ref to importmain
--name <name>Override imported skill name
--version <version>Override imported version
--previewValidate and scan without publishing
skillreg import-github acme/agent-skills --path skills/reviewer --preview

skillreg local

List skills installed locally (symlinks, directories, .md files).

skillreg local [--agent <agent>] [--scope <scope>] [--json]

Slash Commands

skillreg command list

List slash commands in an organization.

skillreg command list [--org <slug>] [--json]

skillreg command info

Show one slash command and its version history.

skillreg command info <name> [--org <slug>] [--json]

skillreg command pull

Install a slash command locally for Claude, Codex, or Cursor.

skillreg command pull <name> [--org <slug>] [--version <version>] [--agent <agent>] [--scope <scope>] [--dry-run] [--json]
OptionDescriptionDefault
--version <version>Version to installlatest
--agent <agent>claude, codex, cursor, or all
--scope <scope>project or user
-o, --output <dir>Use a custom install root directory
--dry-runShow install paths without writing files
skillreg command pull /review-pr --org acme --agent all

skillreg command local

List slash commands tracked in the local SkillReg manifest.

skillreg command local [--org <slug>] [--agent <agent>] [--scope <scope>] [--path] [--json]

skillreg command update

Update tracked local slash commands to the latest or requested version.

skillreg command update [name] [--org <slug>] [--version <version>] [--agent <agent>] [--scope <scope>] [--force] [--dry-run] [--json]

skillreg command remove

Remove tracked local slash command files and manifest entries.

skillreg command remove <name> [--org <slug>] [--agent <agent>] [--scope <scope>] [--dry-run] [--json]

skillreg command create

Create a slash command and publish its initial version.

skillreg command create <name> --description <text> (--content <text> | --content-file <path>) [options]
OptionDescriptionDefault
--description <text>Command description
--content <text>Command body
--content-file <path>Read command body from a file
--version <version>Initial version1.0.0
--agents <list>Comma-separated agentsclaude,codex,cursor
--scope <scope>org, project, or userorg

skillreg command push

Publish a new slash command version.

skillreg command push <name> --version <version> (--content <text> | --content-file <path>) [options]
OptionDescriptionDefault
--version <version>Semver version to publish
--content <text>Command body
--content-file <path>Read command body from a file
--agents <list>Comma-separated agentsclaude,codex,cursor
--scope <scope>org, project, or userorg

Tokens

skillreg token create

Create a new API token.

skillreg token create <name> [--scope <scope>] [--json]
OptionDescriptionDefault
--scope <scope>Token scope: read, write, adminwrite

skillreg token list

List all tokens for the current organization.

skillreg token list [--json]

skillreg token revoke

Revoke a token by ID.

skillreg token revoke <tokenId>

Collaboration Notes

The collaboration MVP is limited to SKILL.md content only. Proposals keep the current official version in frontmatter, a reviewer assembles a single candidate in the web app, then publishes one official version from that candidate.

Environment Variables

skillreg env set

Set one or more org-level environment variables.

skillreg env set <pairs...> [--org <slug>]
skillreg env set OPENAI_API_KEY=<value>

skillreg env list

List org-level environment variable metadata without values.

skillreg env list [--org <slug>] [--json]

skillreg env delete

Delete one or more org-level environment variables.

skillreg env delete <keys...> [--org <slug>]
skillreg env delete OPENAI_API_KEY

skillreg env legacy

Show legacy per-skill env files that remain readable for compatibility.

skillreg env legacy [--org <slug>] [--json]

skillreg env migrate

Migrate non-conflicting legacy per-skill values into org-level storage.

skillreg env migrate [--org <slug>] [--json]

skillreg env cleanup-legacy

Preview or confirm cleanup of legacy keys already migrated to org-level storage.

skillreg env cleanup-legacy [--org <slug>] [--confirm] [--json]

Configuration

skillreg config

Get or set CLI configuration values.

skillreg config [options]
OptionDescriptionDefault
--api-url <url>Set API base URL
--org <slug>Set default organization
--default-agent <agent>Set default agent
--default-scope <scope>Set default scope

CI/CD

In CI, set SKILLREG_TOKEN instead of running an interactive login. SKILLREG_API_URL can override the default API URL for staging or self-hosted environments.

SKILLREG_TOKEN=$SKILLREG_TOKEN skillreg push ./my-skill --org acme --bump patch

GitHub Actions can call the bundled SkillReg action, which runs @skillreg/cli with the same token environment contract.

- uses: Tontoon7/skillreg-app@v1
  with:
    token: ${{ secrets.SKILLREG_TOKEN }}
    org: acme
    path: ./skills/code-reviewer
    bump: patch

Global Options

FlagDescription
--jsonOutput in JSON format (all commands)
--helpShow help for a command
--versionShow CLI version

Exit Codes

CodeMeaning
0Success
1General error
2Invalid arguments
3Authentication required
4Not found
5Conflict (e.g. version exists)
6Validation error
7Network error
8Permission denied