← 返回 Skills 市场
jini92

ClawHub Publish

作者 jini92 · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
354
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install clawhub-publish-mai
功能描述
Publish OpenClaw skills to ClawHub marketplace (clawhub.ai). Use when deploying a skill to ClawHub for the first time, updating an existing published skill,...
使用说明 (SKILL.md)

ClawHub Publish

Prerequisites

  • clawhub CLI installed: npm i -g clawhub
  • Logged in: clawhub whoami (if not: clawhub login via PTY + browser)
  • Target skill folder exists under C:\MAIBOT\skills\\x3Cskill-name>\

Workflow

1. Pre-publish Checklist

Run against each skill before publishing. See references/checklist.md for full criteria.

Quick scan:

Get-Content "C:\MAIBOT\skills\\x3Cskill-name>\SKILL.md" -Encoding UTF8 | Select-Object -First 40

Must verify:

  • description: field is in English (this is what ClawHub users see first)
  • No Korean text in SKILL.md body
  • No personal paths (C:\Users\jini9, JINI_SYNC, etc.)
  • No internal account names or credentials
  • Generic placeholders used where personal config appeared

2. Language & Sanitization Fix

If Korean or personal info is found:

  1. Rewrite SKILL.md fully in English
  2. Replace personal paths with generic placeholders ($VAULT_PATH, ~/vault, your-username)
  3. Move any references/*.md content to English as well
  4. Write with UTF-8: [System.IO.File]::WriteAllText($path, $content, [System.Text.Encoding]::UTF8)

3. Determine Version

Scenario Version bump
First publish 1.0.0
Content fix / translation 1.1.0 (minor)
New section / major rewrite 2.0.0 (major)
Typo / small fix 1.0.1 (patch)

4. Publish

cd C:\MAIBOT
clawhub publish ./skills/\x3Cskill-name> `
  --slug \x3Cslug> `
  --name "\x3CDisplay Name>" `
  --version \x3CX.Y.Z> `
  --changelog "\x3Cone-line summary of changes>"

Slug rules:

  • Lowercase, hyphens only
  • Must be globally unique on ClawHub
  • If slug taken: append -mai suffix (e.g., obsidian-daily-mai)

5. Verify

clawhub whoami   # confirm still authenticated
# Then check: https://clawhub.ai/u/jini92

6. Update Records

After successful publish, update both:

  • C:\MAIBOT\memory\marketplace-strategy.md — add row to ClawHub table
  • Obsidian _DASHBOARD.md — add to Current Sprint as Done

Batch Publish

To publish multiple skills at once, run steps 1–4 for each in sequence. Check references/checklist.md for the full quality bar before each.

Common Errors

Error Fix
Not logged in Run clawhub login in PTY mode; open browser URL when shown
Only the owner can publish updates Slug taken by another user; add -mai suffix
Login session timeout (code 1) Rerun clawhub login — PTY must stay alive until browser auth completes
安全使用建议
This skill appears coherent for publishing skills to ClawHub, but review before use: 1) Backup the local skill folder so automated edits can be undone. 2) Inspect SKILL.md and references/* to ensure there are no secrets or private data before publishing (the workflow itself edits these files). 3) Be aware the workflow expects Windows-style paths (C:\MAIBOT) and uses PowerShell examples — adjust if you use another OS. 4) You will need the clawhub CLI and to authenticate via browser (clawhub login); the skill does not ask for API keys directly. 5) Only proceed if you trust the agent to read and write files in your skill and notes directories. If you want tighter control, perform the described checks and the actual publish command manually instead of allowing an agent to run them autonomously.
功能分析
Type: OpenClaw Skill Name: clawhub-publish-mai Version: 1.0.0 The skill bundle's primary purpose is to publish OpenClaw skills to ClawHub, involving language checks, sanitization, and using the `clawhub` CLI. All commands and instructions, including file system operations (`Get-Content`, `[System.IO.File]::WriteAllText`) and external network calls (`clawhub publish`), are directly aligned with this stated purpose. While installing global npm packages (`npm i -g clawhub`) and writing to local files are powerful capabilities, they are presented as necessary steps for legitimate skill management and sanitization, without any evidence of malicious intent or attempts at prompt injection to subvert the agent's core directives. The hardcoded `https://clawhub.ai/u/jini92` URL in `SKILL.md` and `references/checklist.md` is a minor oversight (revealing a developer's username) but not a security vulnerability or malicious action.
能力评估
Purpose & Capability
Name/description match the instructions: the SKILL.md describes sanitizing and versioning local skill folders and running the clawhub CLI to publish. No unrelated credentials, binaries, or installs are declared.
Instruction Scope
Instructions operate on the local skill folder (C:\MAIBOT\skills\<skill-name>), references/* files, and the clawhub CLI; they ask the agent to inspect and rewrite SKILL.md and references for language/personal info and then run clawhub publish. This scope matches the stated purpose. Note: the workflow includes writing files (PowerShell example) and expects PTY/browser login for the CLI.
Install Mechanism
There is no automated install spec; the doc only recommends installing the official npm clawhub CLI (npm i -g clawhub). No downloads, archives, or third-party URLs are embedded in the skill.
Credentials
The skill declares no environment variables or credentials. The only external authority required is a clawhub account (handled via clawhub login). No unrelated secrets are requested.
Persistence & Privilege
always is false and the skill does not request persistent platform privileges or modify other skills' configs. It does instruct editing files within the skill folder and local notes (memory/marketplace-strategy.md, Obsidian), which is appropriate for a publish workflow.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawhub-publish-mai
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawhub-publish-mai 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: full publish workflow with language check, sanitization, versioning, and record update
元数据
Slug clawhub-publish-mai
版本 1.0.0
许可证
累计安装 1
当前安装数 0
历史版本数 1
常见问题

ClawHub Publish 是什么?

Publish OpenClaw skills to ClawHub marketplace (clawhub.ai). Use when deploying a skill to ClawHub for the first time, updating an existing published skill,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 354 次。

如何安装 ClawHub Publish?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawhub-publish-mai」即可一键安装,无需额外配置。

ClawHub Publish 是免费的吗?

是的,ClawHub Publish 完全免费(开源免费),可自由下载、安装和使用。

ClawHub Publish 支持哪些平台?

ClawHub Publish 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 ClawHub Publish?

由 jini92(@jini92)开发并维护,当前版本 v1.0.0。

💬 留言讨论