Verify Publish Skill
Overview
This skill provides comprehensive verification capabilities for the ClawHub CLI publish pipeline after the async API response schema fix. It validates that the CLI correctly handles both the legacy synchronous format {skillId, versionId} and the new asynchronous format {status, attemptId, slug, version}.
Architecture
The verification operates in three phases:
- Schema validation - Confirms
ApiV1PublishResponseSchemaaccepts both response formats - CLI integration - Tests
clawhub skill publishcommand with--jsonand default output - Python client - Validates
clawhub_client.pyhandlesacceptLicenseTermsand async responses
Commands
Publish a Skill (CLI)
clawhub skill publish ./my-skill \
--slug my-skill \
--name "My Skill" \
--version 1.0.0 \
--changelog "Initial release"
Publish with JSON Output
clawhub skill publish ./my-skill \
--slug my-skill \
--name "My Skill" \
--version 1.0.0 \
--json
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 |
skillId: invalid value |
CLI schema mismatch with API | Update CLI or patch schemas.js |
Skill content is too thin |
Insufficient documentation | Add meaningful content to SKILL.md |
Changelog
2.0.0
- Full verification suite for async schema fix
- Comprehensive error handling documentation
- Configuration reference table
