Publish To ClawHub

v2.2.0

Prepare and publish a local skill to ClawHub and GitHub using a workflow that keeps the local publish directory clean. Use this skill when the user wants to...

0· 193·0 current·0 all-time
byZack@zackz2025

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for zackz2025/publish-to-clawhub.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Publish To ClawHub" (zackz2025/publish-to-clawhub) from ClawHub.
Skill page: https://clawhub.ai/zackz2025/publish-to-clawhub
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install publish-to-clawhub

ClawHub CLI

Package manager switcher

npx clawhub@latest install publish-to-clawhub
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name and description match the SKILL.md: it is a publish workflow for ClawHub and GitHub. The instructions reference only tools and actions you would expect (clawhub CLI, git, README handling). There are no unrelated environment variables, binaries, or config paths requested.
Instruction Scope
SKILL.md instructs the agent to inspect and clean the skill folder, run `clawhub whoami` / `clawhub publish`, and perform git clone/commit/push workflows. These actions stay within the publishing/repo-management scope. The file-sweep guidance is limited to the skill folder and common extensions and explicitly warns about not exfiltrating secrets.
Install Mechanism
There is no install spec and no code files. As an instruction-only skill, it does not write code to disk or download executables. This is the lowest-risk install profile and matches the skill's purpose.
Credentials
The skill declares no required environment variables or credentials. It sensibly recommends using SSH, browser login, or credential helpers rather than pasting tokens. There is no request for unrelated secrets or broad credential access.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request permanent presence or modify other skills' configs. Note: the agent may execute publish and git commands when invoked — confirm actions before allowing autonomous runs.
Assessment
This skill is an instruction-only publishing workflow and appears coherent and low-risk. Before using it, ensure you have local backups, confirm the target GitHub repo and visibility, have the clawhub CLI and git available and authenticated (prefer SSH or a credential manager), review the skill folder for secrets or private data, and explicitly confirm any destructive actions (force-push or deleting the local README). Because it can run publish and git commands, only allow the agent to proceed when you’ve reviewed the planned steps and given explicit approval.

Like a lobster shell, security has layers — review code before you run it.

latestvk973k3pzzx5g0y6kerpzm4f06h842xp1
193downloads
0stars
6versions
Updated 3w ago
v2.2.0
MIT-0

Publish To ClawHub

Use this skill when a local skill should be updated, published, and backed up with a clean repeatable workflow.

Typical requests:

  • "Publish this skill to ClawHub."
  • "Help me put this skill on GitHub and ClawHub."
  • "Improve this skill, publish it, then sync GitHub."
  • "Keep the local skill folder clean but still show a README on GitHub."

Safety First

This workflow can involve:

  • structural edits to the skill itself
  • GitHub authentication
  • git push to a public remote
  • ClawHub CLI publishing

Rules:

  • never ask the user to paste a long-lived token into chat unless there is no safer option
  • prefer browser login, credential manager, or SSH when available
  • never store credentials in files
  • never force-push without explicit user confirmation
  • prefer a temporary GitHub README over leaving README.md in the local publish directory

Prerequisites

Confirm these before publishing:

  • the skill exists locally
  • SKILL.md is present
  • GitHub repo target is known if backup/showcase sync is needed
  • ClawHub CLI is installed and logged in if ClawHub publishing is required

Detailed checks are in references/publish-checklist.md.

Workflow

1. Inspect And Improve The Skill First

Review the skill folder for:

  • non-English content that should be internationalized
  • private or proprietary references
  • user-specific file paths
  • tokens, emails, or placeholders that should not be published
  • unclear skill structure or stale instructions

Check SKILL.md, scripts, references, notebooks, and optional metadata.

If the skill itself needs cleanup, improve it before publishing. For substantial skill revisions, validate the structure first, then publish the revised skill rather than publishing a known rough draft.

2. Normalize The Publishable Skill Content

Before publishing:

  • convert the skill description and instructions to clear English if the release is meant for a broader audience
  • replace proprietary names with generic placeholders when needed
  • remove secrets, personal addresses, and private identifiers
  • make examples understandable to an outside user
  • keep the local publish directory minimal and skill-focused

Keep SKILL.md focused on how the AI should use the skill, not on project history.

3. Publish To ClawHub First

When the user's priority is the actual skill update, publish the local skill to ClawHub before creating or restoring a GitHub README.

Before publishing:

  • verify clawhub whoami
  • choose the next semantic version
  • write a short changelog that reflects the real skill update
  • publish from the local skill folder

After publishing:

  • confirm the returned version or package identifier
  • verify the updated listing if needed

4. Add A Temporary GitHub README

If GitHub backup or showcase is desired:

  • create a concise README.md that explains what the skill does for human readers
  • keep SKILL.md as the AI-facing file and README.md as the GitHub-facing file
  • treat the README as temporary in the local publish directory if the user wants a pure local skill folder

5. Sync To GitHub

Use SSH or a local credential helper when possible.

Recommended flow:

  • clone or update a clean GitHub working copy
  • copy in the latest skill files plus the temporary README
  • review what will be committed
  • commit with a clear message
  • push to the intended repository

This keeps the local publish folder and the GitHub sync folder serving different purposes.

6. Remove The Local README If The User Wants A Pure Skill Folder

After the GitHub push succeeds:

  • delete the local README.md from the publish directory if the user's preferred workflow is "clean local skill, richer GitHub repo"
  • keep the GitHub version with README intact

7. Report What Happened

Summarize clearly:

  • what files were cleaned or changed
  • whether ClawHub publish succeeded
  • whether GitHub push succeeded
  • whether the local README was removed afterward
  • any follow-up steps still needed from the user

Decision Rules

  • If the skill is still private or contains sensitive material, stop before publishing.
  • If the user only wants GitHub backup, skip ClawHub publishing.
  • If the user wants the clean-local-folder workflow, publish to ClawHub before adding README.
  • If ClawHub CLI is missing, explain the blocker and continue with GitHub prep only if that still helps.
  • If the remote repo already contains conflicting starter files, resolve carefully rather than overwriting blindly.
  • If renaming the repo, slug, or published skill would break existing links, pause and confirm before changing names.

Common Failure Modes

Use references/publish-checklist.md for:

  • pre-publish checklist
  • common errors
  • safe credential guidance
  • suggested commands
  • the clean local / GitHub showcase workflow

Comments

Loading comments...