From 5fec4a798ff5997dcfa5e768a9bf16ecc7e87fd0 Mon Sep 17 00:00:00 2001 From: zlei9 Date: Sun, 29 Mar 2026 14:20:32 +0800 Subject: [PATCH] Initial commit with translated description --- SKILL.md | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ _meta.json | 6 ++++++ 2 files changed, 59 insertions(+) create mode 100644 SKILL.md create mode 100644 _meta.json diff --git a/SKILL.md b/SKILL.md new file mode 100644 index 0000000..6065f1c --- /dev/null +++ b/SKILL.md @@ -0,0 +1,53 @@ +--- +name: clawdhub +description: "使用ClawdHub CLI搜索、安装、更新和发布代理技能。" +metadata: {"clawdbot":{"requires":{"bins":["clawdhub"]},"install":[{"id":"node","kind":"node","package":"clawdhub","bins":["clawdhub"],"label":"Install ClawdHub CLI (npm)"}]}} +--- + +# ClawdHub CLI + +Install +```bash +npm i -g clawdhub +``` + +Auth (publish) +```bash +clawdhub login +clawdhub whoami +``` + +Search +```bash +clawdhub search "postgres backups" +``` + +Install +```bash +clawdhub install my-skill +clawdhub install my-skill --version 1.2.3 +``` + +Update (hash-based match + upgrade) +```bash +clawdhub update my-skill +clawdhub update my-skill --version 1.2.3 +clawdhub update --all +clawdhub update my-skill --force +clawdhub update --all --no-input --force +``` + +List +```bash +clawdhub list +``` + +Publish +```bash +clawdhub publish ./my-skill --slug my-skill --name "My Skill" --version 1.2.0 --changelog "Fixes + docs" +``` + +Notes +- Default registry: https://clawdhub.com (override with CLAWDHUB_REGISTRY or --registry) +- Default workdir: cwd; install dir: ./skills (override with --workdir / --dir) +- Update command hashes local files, resolves matching version, and upgrades to latest unless --version is set diff --git a/_meta.json b/_meta.json new file mode 100644 index 0000000..dbe81ed --- /dev/null +++ b/_meta.json @@ -0,0 +1,6 @@ +{ + "ownerId": "kn70pywhg0fyz996kpa8xj89s57yhv26", + "slug": "clawdhub", + "version": "1.0.0", + "publishedAt": 1767545308330 +} \ No newline at end of file