hummingbot-skills
v1.0.1
Published
CLI for managing Hummingbot trading skills for AI agents
Readme
hummingbot-skills CLI
CLI for managing Hummingbot trading skills for AI agents.
npm package: hummingbot-skills
Installation
No installation required - run directly with npx:
npx hummingbot-skillsOr install globally:
npm install -g hummingbot-skillsCommands
Install Skills
Install all Hummingbot skills:
npx hummingbot-skills addInstall specific skills:
npx hummingbot-skills add portfolio candles-feedInstall globally (recommended):
npx hummingbot-skills add -gInstall for specific agents:
npx hummingbot-skills add -a claude-code cursorRemove Skills
Remove installed skills (interactive):
npx hummingbot-skills removeRemove specific skills:
npx hummingbot-skills remove portfolio -gList & Search
npx hummingbot-skills list # List all available skills
npx hummingbot-skills find trading # Search by keywordHow It Works
This CLI is a convenience wrapper around the skills CLI. When you run hummingbot-skills add, it:
- Fetches skill metadata from
https://skills.hummingbot.org/api/skills - Runs
npx skills add hummingbot/skillswith appropriate flags - The skills CLI installs skills to your AI agents
Development
cd cli
npm install
npm run build
npm link # For local testingTest locally:
hummingbot-skills list
hummingbot-skills add portfolio -gPublishing to npm
The CLI is published as the hummingbot-skills package on npm.
Prerequisites
- npm account with publish access to
hummingbot-skills - Trusted Publisher configured on npmjs.com (for CI/CD)
Option 1: Publish via GitHub Actions (Recommended)
Create a GitHub Release:
- Go to Releases
- Click "Create a new release"
- Tag:
cli-v1.0.1(usecli-vprefix for CLI releases) - Title:
CLI v1.0.1 - Publish release
The workflow at .github/workflows/publish-cli.yml will:
- Build the CLI
- Publish to npm with provenance
Option 2: Manual Publish
cd cli
npm version patch # or minor/major
npm run build
npm publish --access publicVersion Management
- Update version in
cli/package.json - CLI versions are independent of the skills/webapp
- Use semantic versioning:
major.minor.patch
Trusted Publishers Setup
To enable automated publishing without tokens:
- Go to npmjs.com → Package Settings →
hummingbot-skills - Add GitHub Actions as trusted publisher:
- Repository:
hummingbot/skills - Workflow:
publish-cli.yml - Environment:
npm
- Repository:
Project Structure
cli/
├── bin/
│ └── cli.mjs # Entry point
├── src/
│ └── cli.ts # Main CLI code
├── dist/ # Built output (gitignored)
├── package.json
├── tsconfig.json
└── README.md