@taoai/skill-cli
v0.2.0
Published
<p align="center"> <img src="../web/public/ding-logo.svg" alt="Skills Hub" width="96" height="96" /> </p>
Readme
@taoai/skill-cli
CLI for Skills Hub artifact operations: publish, list, install, sync, login, and local server control.
Features
- Publish artifacts from source directory or legacy manifest+payload
- Install artifacts by full id or by name+kind
- List local artifacts with filters
- Sync skills from remote registry for the current user
- Login to registry and persist token
- Start/stop/restart local server
Requirements
- Node.js 18+
- pnpm 9+
Install
From monorepo root:
pnpm --filter @taoai/skill-cli build
pnpm --filter @taoai/skill-cli publish --access publicAfter publishing:
npm i -g @taoai/skill-cli
skill --helpLocal Development
Run from this package directory:
pnpm install
pnpm build
node dist/index.js --helpWatch mode:
pnpm devCommands
skill --helplogin
skill loginPrompts for username/password, calls POST /api/auth/login, and saves token to local config.
list
skill list --limit 50
skill list --kind skills --query reviewpublish
Publish from source directory (recommended):
skill publish --source ./my-skill
skill publish --source ./my-skill --version 1.2.0Legacy mode:
skill publish --manifest ./manifest.json --payload ./artifact.tgzinstall
Install by full artifact id:
skill install skills:team/[email protected]Install by name (default kind is skills):
skill install team/code-review --kind skillssync
skill sync
skill sync --username alice
skill sync --output ./downloadsserver
skill server start
skill server stop
skill server restartArtifact Kinds
Supported kinds:
skillspromptagent
Notes
[!NOTE] This package is scoped and configured for public npm publishing (
publishConfig.access=public).
[!WARNING] Do not run
npm publishfrom monorepo root if you only want to release CLI. Publish this package specifically.
