Skill Registry Backend
CSGHub can serve as the backend for a Skill Registry, compatible with both OpenClaw and ClawHub clients, supporting skill discovery, installation, and publishing.
Configure Environment Variables
Before connecting OpenClaw or ClawHub to CSGHub as a skill registry, configure the following environment variables to point the client's registry source to your CSGHub instance:
export CLAWHUB_REGISTRY=https://claw.opencsg.com
export OPENCLAW_CLAWHUB_URL=https://claw.opencsg.com
It is recommended to add these environment variables to your shell configuration file (e.g.,
~/.zshrcor~/.bashrc) so they are automatically applied every time a terminal session starts.
Search for Skills
Once configured, you can search for skills in the CSGHub skill registry using either of the following methods:
# Search using the OpenClaw client
openclaw skills search <skill_name>
# Search using the ClawHub client
clawhub search <skill_name>
The results are returned as a list containing the skill name, version, ID, and a description. Example output:
openclaw skills search a
AIWizards--media-generator v1.0.0 media-generator >
AI media generation assistant: generates images from text descriptions (text-to-image).
Supports calling image generation models via AI Gateway, returns image URLs that can be
displayed directly, and outputs results in Markdown format so images render inline in chat.
Invoke this skill when the user asks to "generate an image", "draw based on a description",
"text-to-image", "create an image", "AI drawing", "draw a ...", or similar requests.
zhzhang--answeroverflow v1.0.0 Answeroverflow
Install a Skill
Install a skill from the CSGHub skill registry using the following command:
openclaw skills install <skill_name>
Example:
openclaw skills install AIWizards--media-generator
Downloading AIWizards--media-generator@1.0.0 from ClawHub…
Installing to /Users/zzh/.openclaw/workspace/skills/AIWizards--media-generator…
Installed AIWizards--media-generator@1.0.0 -> /Users/zzh/.openclaw/workspace/skills/AIWizards--media-generator
After installation, the skill is saved to the local OpenClaw workspace directory and is immediately available for use in your Agent.
Update a Skill
If a newer version of an installed skill is available, use the following command to update it:
openclaw skills update <skill_name>
Example:
openclaw skills update AIWizards--media-generator
🦞 OpenClaw 2026.4.27 (cbc2ba0) — No $999 stand required.
Downloading AIWizards--media-generator@1.0.0 from ClawHub…
Installing to /Users/zzh/.openclaw/workspace/skills/AIWizards--media-generator…
AIWizards--media-generator already at 1.0.0
If the installed version is already up to date, the system will display already at <version> and no reinstallation is needed.
Publish a Skill
Once you have developed a skill, publish it to CSGHub to share it with the community:
clawhub publish <skill_folder> --version v1.0.0
Where:
<skill_folder>is the path to your local skill directory.--versionspecifies the version to publish. It is recommended to follow semantic versioning (e.g.,v1.0.0).
Before publishing, make sure the environment variables are correctly configured and that you are logged in to your CSGHub account. For skill repository creation and management, refer to Create a Skill Repository.