Skill Publisher
by @ham-5on
Prepare and publish an OpenClaw AgentSkill to ClawHub. Use when a skill directory is ready and needs to be published, or when upgrading an already-published...
clawhub install publish-guideπ About This Skill
name: publish-guide description: Prepare and publish an OpenClaw AgentSkill to ClawHub. Use when a skill directory is ready and needs to be published, or when upgrading an already-published skill to a new version. Handles pre-publish checks (slug, meta, internationalization), publish execution, and post-publish verification. metadata: { "openclaw": { "requires": { "bins": ["clawhub"] } } }
Skill Publisher
End-to-end workflow for publishing an AgentSkill directory to ClawHub.
Pre-publish Checklist
β 1. Content Internationalization
/mnt/e/Users/...)β 2. Meta Verification
cat /_meta.json
Check:
name matches the --slug you'll publish withversion is updated (semver)tags are accurate (affects ClawHub search)description is concise (this is what agents match against)β 3. Slug Conflict Check
clawhub inspect
publish will overwrite/upgrade
- Someone else's β rename slug, e.g. my-skill β my-skill-v2
β 4. Login
clawhub whoami
If not logged in:
clawhub login
Opens a browser for authorization.Publish
Prerequisites: clawhub CLI must be installed (npm i -g clawhub)
clawhub publish ~/.openclaw/skills/ \
--slug \
--name "Display Name" \
--version x.y.z \
--tags "tag1,tag2" \
--changelog "Release notes"
Parameters
| Param | Description | Example |
|---|---|---|
| path | Skill directory | ~/.openclaw/skills/my-skill |
| --slug | Unique identifier | my-skill |
| --name | Display name | My Skill |
| --version | Semver version | 1.0.0 |
| --tags | Comma-separated search tags | logseq,notes |
| --changelog | Release notes | Initial release |
Post-publish Verification
# New versions may be hidden by security scan, wait ~60s
sleep 60Check published info
clawhub inspect Confirm search
clawhub search
Common Errors
| Error | Cause | Fix |
|---|---|---|
| Not logged in | Not authenticated | clawhub login |
| Slug is already taken | Slug occupied by another skill | Rename slug or check ownership |
| Skill is hidden | Security scan in progress | Wait 60s and retry |
| CTX_MAX_EXCEEDED | Content too large | Trim SKILL.md, move details to references/ |