Skip to content

aios-rs/skillhub

Repository files navigation

SkillHub CLI

Command-line interface for SkillHub - AI Agent Skill Registry

License Crates.io Rust

SkillHub CLI is the official command-line tool for interacting with SkillHub, an enterprise-grade agent skill registry. Publish, discover, and manage reusable skill packages across your organization from the terminal.

Features

  • Publish Skills — Upload agent skill packages with semantic versioning
  • Search & Discovery — Full-text search with filters by namespace, version, and tags
  • Install Skills — Install skills directly to your local environment
  • Authentication — Secure API token-based authentication
  • Team Namespaces — Organize skills under team or global scopes
  • Configuration — Manage registry settings and credentials locally

Installation

From Crates.io

cargo install skillhub

From Source

git clone https://github.com/aios-rs/skillhub.git
cd skillhub-cli
cargo install --path .

Quick Start

Configure Registry

# Set registry URL
skillhub config set registry https://skillhub.your-company.com

# Login with API token
skillhub login

Publish a Skill

# Publish to global namespace
skillhub publish ./my-skill --slug my-skill --version 1.0.0

# Publish to team namespace
skillhub publish ./my-skill --slug my-team--my-skill --version 1.0.0

Search Skills

# Search all skills
skillhub search email

# Search in specific namespace
skillhub search email --namespace my-team

# Filter by version
skillhub search my-skill --version 1.0.0

Install Skills

# Install by name
skillhub install my-skill

# Install specific version
skillhub install my-skill --version 1.0.0

# Install from team namespace
skillhub install my-team--my-skill

Commands

Command Description
skillhub login Authenticate with API token
skillhub logout Clear credentials
skillhub publish <path> Publish a skill package
skillhub search <query> Search for skills
skillhub install <name> Install a skill
skillhub config Manage configuration
skillhub info <name> Show skill details

Configuration

The CLI stores configuration in ~/.config/skillhub/config.toml:

registry = "https://skillhub.your-company.com"
token = "your-api-token"
default_namespace = "my-team"

Authentication

SkillHub CLI uses API tokens for authentication. Generate a token from the SkillHub web UI and use it to login:

skillhub login --token YOUR_TOKEN

Development

# Build
cargo build

# Run tests
cargo test

# Run with debug output
RUST_LOG=debug cargo run -- search my-skill

Related Projects

Contributing

Contributions are welcome. Please open an issue first to discuss what you'd like to change.

License

MIT License - see LICENSE for details.

About

CLI for SkillHub - AI Agent Skill Registry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages