← Back to Skills Marketplace
jini92

ClawHub Publish

by jini92 · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
354
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install clawhub-publish-mai
Description
Publish OpenClaw skills to ClawHub marketplace (clawhub.ai). Use when deploying a skill to ClawHub for the first time, updating an existing published skill,...
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install clawhub-publish-mai
  3. After installation, invoke the skill by name or use /clawhub-publish-mai
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: full publish workflow with language check, sanitization, versioning, and record update
Metadata
Slug clawhub-publish-mai
Version 1.0.0
License
All-time Installs 1
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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,... It is an AI Agent Skill for Claude Code / OpenClaw, with 354 downloads so far.

How do I install ClawHub Publish?

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

Is ClawHub Publish free?

Yes, ClawHub Publish is completely free (open-source). You can download, install and use it at no cost.

Which platforms does ClawHub Publish support?

ClawHub Publish is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created ClawHub Publish?

It is built and maintained by jini92 (@jini92); the current version is v1.0.0.

💬 Comments