skillhub-registry
Use this when you need to search, inspect, install, or publish agent skills against a SkillHub registry. SkillHub is a skill registry with a ClawHub-compatible API layer, so prefer the `clawhub` CLI for registry operations instead of making raw HTTP calls.
git clone https://github.com/iflytek/skillhub
web/src/docs/skill.mdSkillHub Registry
Use this skill when you need to work with a SkillHub registry: search skills, inspect metadata, install a package, or publish a new version.
Important: Prefer the
CLI for registry workflows. SkillHub exposes a ClawHub-compatible API surface and a discovery endpoint atclawhub, so the CLI is the safest path for auth, resolution, and download behavior. Only fall back to raw HTTP when debugging the server itself./.well-known/clawhub.json
What SkillHub Is
SkillHub is an enterprise-oriented skill registry. It stores versioned skill packages, supports namespace-based skill management, and keeps
SKILL.md compatibility with OpenSkills-style packages.
Key facts:
- Internal coordinates use
.@{namespace}/{skill_slug} - If using the clawhub CLI, the compatible format is
.{namespace}--{skill_slug} - ClawHub-compatible clients use a
slug instead.{namespace}--{skill_slug}
always means the latest published version, never draft or pending review.latest- Public skills in
can be downloaded anonymously.@global - If no namespace is specified, it defaults to
.@global
can be used instead of{skill_slug}global--{skill_slug}- Team namespace skills and non-public skills require authentication.
Configure The CLI
Point
clawhub at the SkillHub base URL:
export CLAWHUB_REGISTRY=https://skillhub.your-company.com
Alternatively, use the
--registry parameter every time, for example:
npx clawhub install my-skill --registry https://skillhub.your-company.com
If you need authenticated access, provide an API token:
clawhub login --token sk_your_api_token_here
Optional local check:
curl https://skillhub.your-company.com/.well-known/clawhub.json
Expected response:
{"apiBase":"/api/v1"}
Coordinate Rules - IMPORTANT
SkillHub has two naming forms:
| SkillHub coordinate | Canonical slug for |
|---|---|
| |
| |
Rules:
is the namespace separator in the compatibility layer.--- If there is no
, the skill is treated as--
.@global/...
resolves to the latest published version only.latest
Examples:
npx clawhub install my-skill npx clawhub install my-skill@1.2.0 npx clawhub install team-name--my-skill
Common Workflows
Search
npx clawhub search email
Use an empty query when you want a broad listing:
npx clawhub search ""
Inspect A Skill
npx clawhub info my-skill npx clawhub info team-name--my-skill
Install
npx clawhub install my-skill npx clawhub install my-skill@1.2.0 npx clawhub install team-name--my-skill
Publish
Prepare a skill package directory, then publish it:
npx clawhub publish ./my-skill
Publishing requires authentication and sufficient permissions in the target namespace.
Authentication And Visibility
Download and search permissions depend on namespace and visibility:
+@global
: anonymous search, inspect, and download are allowed.PUBLIC- Team namespace +
: authentication required for download.PUBLIC
: authenticated namespace members only.NAMESPACE_ONLY
: owner or explicitly authorized users only.PRIVATE- Publish, star, and other write operations always require authentication.
If a request fails with
403, check:
- whether the skill belongs to a team namespace,
- whether the skill is
orNAMESPACE_ONLY
,PRIVATE - whether your token is valid,
- whether you have namespace publish permissions.
Skill Package Contract
SkillHub expects OpenSkills-style packages with
SKILL.md as the entry point.
Publishing Guidance
Just need to follow the OpenSkills-style standards.