← Back to Skills Marketplace
openlang-cn

Clawhub Cli

by openlang · GitHub ↗ · v1.0.2 · MIT-0
linuxdarwinwin32 ✓ Security Clean
1071
Downloads
4
Stars
10
Active Installs
3
Versions
Install in OpenClaw
/install clawhub-cli
Description
Use the ClawHub CLI to search, install, update, and publish agent skills from clawhub.ai. Use when you need to fetch new skills on the fly, sync installed sk...
README (SKILL.md)

ClawHub CLI Skill (Agent Playbook)

You are an execution assistant for managing agent skills using the ClawHub CLI (search, install, list, update, publish, sync).

Your goal is to produce the smallest set of correct commands that achieve the user's intent, while avoiding destructive actions and avoiding publishing secrets.

Use This Skill When

Use this skill if the user asks to:

  • discover skills on ClawHub (search by keywords)
  • install skills into a workspace
  • list what is installed (as recorded by the CLI; may be lockfile-backed depending on setup)
  • update skills (all or a single one, latest or a pinned version)
  • publish one local skill folder
  • sync many local skill folders in bulk

Guardrails (Must Follow)

  • Do not invent CLI flags or subcommands. If you are unsure, instruct to run clawhub --help or clawhub \x3Ccommand> --help first, then adapt.
  • Never publish secrets. Before publish/sync, remind the user to exclude .env, tokens, credentials, private keys, and proprietary data.
  • Prefer dry-run when available. For bulk operations, suggest --dry-run if the CLI supports it for that command.
  • Keep versions valid. Use SemVer like 0.1.0, 1.2.3. If bumping, use the smallest bump that matches the change.

Preconditions / Preflight

  1. Ensure the CLI is installed (global):
npm i -g clawhub

Alternative:

pnpm add -g clawhub
  1. Ensure the user is logged in:
clawhub login

or:

clawhub login --token \x3Capi-token>
  1. If anything fails, ask for the exact CLI error output and rerun with a corrected command.

Quick Decision Guide

  • If the user describes a capability but not a slug → search
  • If the user provides a slug and wants it locally → install
  • If the user wants to see what is installed → list
  • If the user wants "latest everything" → update --all
  • If the user wants to ship a local folder to ClawHub → publish (single skill) or sync (many skills)

Common Workflows (Command Patterns)

Search for skills

Use when the user is exploring / unsure of the exact slug.

clawhub search "your query"

Offer 2-5 candidate queries based on the user's words (domain + action + platform).

Install a skill

Install by slug into the current workspace (destination/path may vary by CLI version; check clawhub install --help).

clawhub install \x3Cskill-slug>

Example:

clawhub install postgres-backup-tools

If a specific version is required, add --version \x3Csemver>.

List installed skills

clawhub list

Use this to confirm the lockfile state after install/update.

Update installed skills

Update all:

clawhub update --all

Update one:

clawhub update \x3Cskill-slug>

If the user needs a specific version, add --version \x3Csemver>.

Publish a single local skill folder

Use when the user has exactly one folder to publish and it contains a SKILL.md.

clawhub publish ./skills/my-skill \
  --slug my-skill \
  --name "My Skill" \
  --version 0.1.0 \
  --tags latest

Before providing the final publish command, make sure the user has:

  • path: the local folder path
  • slug: lowercase, hyphenated, unique
  • name: human-friendly display name
  • version: SemVer
  • tags: e.g. latest, beta, internal (use only what the user intends)

Sync many skills at once

Use when the user has a directory containing many skill subfolders.

clawhub sync --all

Common options (only if supported by the CLI in this environment):

  • --tags latest
  • --changelog "Update skills"
  • --bump patch|minor|major
  • --dry-run

Verification & Troubleshooting Playbook

After install/update:

  • Run clawhub list and confirm the expected slug(s) and version(s).

After publish/sync:

  • Verify locally with clawhub list (if it records published state)
  • Verify on the website by searching by slug or display name

If any errors occur (examples: slug already exists, version conflict, not logged in):

  • explain the likely cause in one sentence
  • propose a corrected command (new slug, bump version, or re-login)

Local References

Use these documents when you need more detail:

Document Use when What you get
reference/CLI-COMMANDS.md You need a command cheat sheet Common commands + safe patterns
reference/PUBLISHING-CHECKLIST.md You’re about to publish/sync Pre-publish checklist (no secrets, slug/version/tags)
reference/SECURITY.md You’re publishing or handling tokens Safety rules + what must never be published
reference/TROUBLESHOOTING.md A command fails Common errors + corrective actions
reference/SEMVER-GUIDE.md You need to pick the next version Patch/minor/major guidance
reference/SKILL-STRUCTURE.md You’re packaging/refactoring a skill folder Recommended folder layout + conventions
reference/WINDOWS-USAGE.md You’re on Windows and cannot use scripts Direct clawhub command snippets + Git Bash/WSL notes
Usage Guidance
This package appears coherent and focused on managing ClawHub skills. Before using it: 1) Verify the authenticity of the `clawhub` npm package (check the package owner, homepage, and repository) before running `npm i -g clawhub` or installing globally. 2) When publishing or syncing, carefully review the folder contents and remove any `.env`, private keys, cloud credentials, or proprietary files — the skill's docs explicitly call this out. 3) Prefer using a token with minimal required scope for CLI login (not a broad admin key) and consider testing publish/sync with `--dry-run` or in a throwaway workspace first. 4) If you cannot verify the CLI package, run the provided scripts in an isolated environment (container or VM) to limit potential impact.
Capability Analysis
Type: OpenClaw Skill Name: clawhub-cli Version: 1.0.2 The clawhub-cli skill bundle provides a legitimate interface for managing agent skills via the ClawHub CLI. The package includes well-structured bash scripts (e.g., scripts/linux/publish-skill.sh) that follow safety best practices, such as using arrays for command arguments to prevent shell injection. The instructions in SKILL.md and reference/SECURITY.md explicitly include guardrails to prevent the accidental publication of secrets or credentials, and no evidence of malicious intent, data exfiltration, or prompt injection was found.
Capability Assessment
Purpose & Capability
Name/description (ClawHub CLI manager) align with the shipped docs and scripts. All files (SKILL.md, reference docs, and shell helpers) are focused on searching, installing, updating, publishing, and syncing skills via the `clawhub` CLI. There are no declared env vars, unrelated binaries, or config paths requested that would be out-of-scope.
Instruction Scope
SKILL.md gives concrete command patterns and guardrails. The instructions only direct the agent to run `clawhub` commands, prompt for login (interactive or token), and to inspect local skill folders before publishing. The shipped scripts run the `clawhub` CLI and check `--help` for supported flags; they do not read or exfiltrate arbitrary files or environment variables. The package also explicitly warns not to publish secrets, which matches the publish/sync functionality.
Install Mechanism
This is an instruction-only skill (no platform install spec). The playbook advises installing `clawhub` via `npm i -g clawhub` (or pnpm), which is reasonable given the CLI-based design, but it does require installing a global npm package in the environment. There is no bundled binary download or obscure URL; the install step relies on a public package ecosystem. Users should verify the `clawhub` package source and trustworthiness before installing globally.
Credentials
The skill declares no required environment variables or credentials. It sensibly instructs the user to login to the CLI (interactive or `--token <api-token>`), which is proportional and expected for a publish/sync tool. The docs repeatedly emphasize not to publish `.env` or other secrets. There are no unexpected credential requests or environment access attempts in the scripts or docs.
Persistence & Privilege
always is false and the skill does not request permanent system presence or modify other skills' configurations. The provided scripts are local helpers that invoke the `clawhub` CLI; they do not alter agent config or attempt privileged persistence.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install clawhub-cli
  3. After installation, invoke the skill by name or use /clawhub-cli
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- Added a metadata field to SKILL.md with Openclaw-specific information (emoji, required bins, supported OS). - No changes to functionality, commands, or workflows. - No file changes beyond the updated SKILL.md metadata.
v1.0.1
- Added extensive documentation and playbooks for ClawHub CLI workflows, including agent decision guides and safe command templates. - Introduced guardrails to avoid unsafe publishing and enforce best practices (e.g., never publish secrets, use dry-run for bulk operations). - Added reference materials covering CLI commands, publishing, security, troubleshooting, SemVer, skill structure, and platform-specific usage. - Included scripts for Linux and documentation references for Windows and MacOS support. - Improved guidance on verification and error handling after each command.
v1.0.0
Initial release of clawhub-cli skill. - Guides users on using the ClawHub CLI to search, install, update, publish, and sync agent skills from clawhub.ai. - Details prerequisites, including global CLI installation and login. - Provides example commands for all major workflows (search, install, list, update, publish, sync). - Includes troubleshooting and verification steps for common usage scenarios.
Metadata
Slug clawhub-cli
Version 1.0.2
License MIT-0
All-time Installs 11
Active Installs 10
Total Versions 3
Frequently Asked Questions

What is Clawhub Cli?

Use the ClawHub CLI to search, install, update, and publish agent skills from clawhub.ai. Use when you need to fetch new skills on the fly, sync installed sk... It is an AI Agent Skill for Claude Code / OpenClaw, with 1071 downloads so far.

How do I install Clawhub Cli?

Run "/install clawhub-cli" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Clawhub Cli free?

Yes, Clawhub Cli is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Clawhub Cli support?

Clawhub Cli is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux, darwin, win32).

Who created Clawhub Cli?

It is built and maintained by openlang (@openlang-cn); the current version is v1.0.2.

💬 Comments