OpenClaw Hub CLI Commands - Complete ClawHub Command Reference

ClawHub CLI Commands for OpenClaw Hub

Your complete reference guide to clawhub CLI commands. Browse, install, update, and manage ClawHub skills efficiently from the command line.

Getting Started with CLI

First steps with clawhub command line

Verify Installation

# Check clawhub version
clawhub --version

# Show help
clawhub --help

# Show subcommand help
clawhub command --help

Authentication

# Login to ClawHub
clawhub login

# Check current user
clawhub whoami

# Logout
clawhub logout

You need to login before installing or managing skills.

Finding Skills

Commands to discover ClawHub skills

Search Command

# Search for skills by keyword
clawhub search "web scraping"
clawhub search "text summarization"
clawhub search "github integration"

# Search with filters
clawhub search "productivity" --limit 10
clawhub search "development" --sort downloads

Use keywords related to your needs to find relevant skills in the ClawHub registry.

Browse Categories

# List all categories
clawhub category list

# Browse specific category
clawhub category ai-ml
clawhub category development
clawhub category utility

# View featured skills
clawhub featured

Browse curated lists of skills organized by category on the openclaw hub platform.

View Trending

# View trending skills
clawhub trending

# View top rated skills
clawhub top

# View recently updated
clawhub recently-updated

Discover popular and trending skills in the ClawHub ecosystem.

Installing Skills

Commands to install ClawHub skills

Install Command

# Install latest version
clawhub install summarize
clawhub install weather
clawhub install github

# Install multiple skills
clawhub install summarize weather github

# Install specific version
clawhub install [email protected]

# Install from specific tag
clawhub install summarize:latest

# Install with dependencies
clawhub install skill-name --with-deps

Install Options

# Dry run (preview without installing)
clawhub install skill-name --dry-run

# Verbose output
clawhub install skill-name --verbose

# Skip dependency installation
clawhub install skill-name --no-deps

# Force reinstall
clawhub install skill-name --force

Use these options for debugging or controlled installation of ClawHub skills on your openclaw hub setup.

Clone and Install

# Clone a skill repository
clawhub clone owner/skill-name

# Install from local clone
clawhub install ./skill-directory

# Install in development mode
clawhub install ./skill-directory --dev

For development or custom skills, clone and install from local directories.

Managing Installed Skills

Commands to manage your ClawHub skills

List Skills

# List all installed skills
clawhub list

# List with versions
clawhub list --verbose

# List outdated skills only
clawhub outdated

# List skills by category
clawhub list --category ai-ml
clawhub list --category development

Update Skills

# Update all skills
clawhub update

# Update specific skill
clawhub update summarize

# Update to latest version
clawhub update summarize@latest

# Check for updates without applying
clawhub update --check

Regular updates keep your ClawHub skills secure and add new features to your openclaw hub installation.

Uninstall Skills

# Uninstall a skill
clawhub uninstall summarize

# Uninstall multiple skills
clawhub uninstall summarize weather github

# Uninstall with config cleanup
clawhub uninstall skill-name --purge

# Force uninstall
clawhub uninstall skill-name --force

Skill Information

# Show skill details
clawhub info summarize

# Show available versions
clawhub versions summarize

# Show skill dependencies
clawhub deps summarize

# Show skill metrics
clawhub metrics summarize

Publishing Skills

Commands to publish your own skills

Prepare and Publish

# Initialize new skill
clawhub init my-new-skill

# Validate skill package
clawhub validate ./skill-directory

# Publish skill
clawhub publish ./skill-directory

# Publish with version
clawhub publish ./skill-directory --version 1.0.0

# Publish as draft (testing)
clawhub publish ./skill-directory --draft

Version Management

# Bump version
clawhub version bump patch   # 1.0.0 -> 1.0.1
clawhub version bump minor   # 1.0.0 -> 1.1.0
clawhub version bump major   # 1.0.0 -> 2.0.0

# Set specific version
clawhub version set 1.2.0

# View version history
clawhub version list

Configuration

Commands to configure clawhub

Global Settings

# View current config
clawhub config list

# Set configuration
clawhub config set registry https://clawhub.ai
clawhub config set proxy http://proxy:8080

# Unset configuration
clawhub config unset proxy

# Edit config file directly
clawhub config edit

Cache Management

# Clear cache
clawhub cache clean

# Clear specific cache
clawhub cache clean --skill-data

# View cache size
clawhub cache size

# Disable cache
clawhub config set cache false

Output Format

# Set output format
clawhub config set format json   # JSON output
clawhub config set format table  # Table output
clawhub config set format plain  # Plain text

# Pretty print JSON
clawhub info skill --json --pretty

Configure output format for scripting or readability on your openclaw hub system.

Troubleshooting

Debug and diagnose issues

Diagnostics

# Run diagnostics
clawhub doctor

# Check connectivity
clawhub ping

# Check registry status
clawhub registry status

# Verbose output for debugging
clawhub command --verbose --debug

Logging

# Enable debug logging
clawhub config set log-level debug

# View logs
clawhub logs

# Clear logs
clawhub logs --clear

# Export logs
clawhub logs --export /path/to/logfile

Reset and Recovery

# Reset configuration
clawhub config reset

# Reset to defaults
clawhub reset

# Reinstall CLI
clawhub reinstall

Use these commands as a last resort for resolving persistent issues with your clawhub installation.

Quick Command Reference

At-a-glance CLI command summary

Category Command Description
Auth clawhub login Login to ClawHub
Auth clawhub logout Logout from ClawHub
Search clawhub search "query" Search for skills
Install clawhub install name Install a skill
List clawhub list List installed skills
Update clawhub update Update all skills
Uninstall clawhub uninstall name Uninstall a skill
Info clawhub info name Show skill details

Official ClawHub Resources

Connect with the official ClawHub platform