Test Publish Skill
Overview
This skill provides comprehensive testing and validation capabilities for the ClawHub skill publishing pipeline. It verifies API connectivity, token authentication, multipart upload format, and license acceptance status.
Architecture
The skill operates in three phases:
- Pre-flight checks - Validates token, connectivity, and configuration
- Upload validation - Confirms multipart/form-data format and file integrity
- Post-publish verification - Checks published skill metadata and version
Commands
Check Token Status
clawhub whoami
Publish a Skill
clawhub skill publish ./my-skill \
--slug my-skill \
--name "My Skill" \
--version 1.0.0 \
--changelog "Initial release"
Device Flow Login
clawhub login --device --no-browser
Configuration
| Variable | Description | Default |
|---|---|---|
CLAWHUB_REGISTRY |
Registry API base URL | https://clawhub.ai |
CLAWHUB_CONFIG_PATH |
Token config file path | ~/.config/clawhub/config.json |
CLAWHUB_DISABLE_TELEMETRY |
Disable install telemetry | unset |
Error Handling
| Error | Cause | Resolution |
|---|---|---|
401 Unauthorized |
Invalid or revoked token | Run clawhub login |
license terms must be accepted |
Account has not accepted MIT-0 | Complete browser login at clawhub.ai |
skillId: invalid value |
API response parsing issue | Check CLI version and API compatibility |
Changelog
1.0.0
- Initial release with full pipeline validation
- Device flow authentication support
- Comprehensive error handling and diagnostics
