← 返回
开发者工具 Key 中文

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...
使用 ClawHub CLI 从 clawhub.ai 搜索、安装、更新和发布智能体技能。用于即时获取新技能、同步已安装技能等。
openlang-cn
开发者工具 clawhub v1.0.2 2 版本 100000 Key: 需要
★ 5
Stars
📥 2,065
下载
💾 40
安装
2
版本
#latest

概述

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 --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

2) Ensure the user is logged in:

clawhub login

or:

clawhub login --token <api-token>

3) 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 <skill-slug>

Example:

clawhub install postgres-backup-tools

If a specific version is required, add --version .

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 <skill-slug>

If the user needs a specific version, add --version .

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:

DocumentUse whenWhat you get
---------
reference/CLI-COMMANDS.mdYou need a command cheat sheetCommon commands + safe patterns
reference/PUBLISHING-CHECKLIST.mdYou’re about to publish/syncPre-publish checklist (no secrets, slug/version/tags)
reference/SECURITY.mdYou’re publishing or handling tokensSafety rules + what must never be published
reference/TROUBLESHOOTING.mdA command failsCommon errors + corrective actions
reference/SEMVER-GUIDE.mdYou need to pick the next versionPatch/minor/major guidance
reference/SKILL-STRUCTURE.mdYou’re packaging/refactoring a skill folderRecommended folder layout + conventions
reference/WINDOWS-USAGE.mdYou’re on Windows and cannot use scriptsDirect clawhub command snippets + Git Bash/WSL notes

版本历史

共 2 个版本

  • v1.0.2 当前
    2026-03-29 02:21 安全 安全
  • v1.0.0
    2026-03-18 16:17

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 65 📥 179,830
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,783
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,726