Publish To ClawHub
by @zackz2025
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...
clawhub install publish-to-clawhubπ About This Skill
name: publish-to-clawhub description: | 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 update an already published skill, release a local skill safely, improve the skill structure before publishing, or keep GitHub as a backup and showcase without leaving README files in the local publish folder.
Publish To ClawHub
Use this skill when a local skill should be updated, published, and backed up with a clean repeatable workflow.
Typical requests:
Safety First
This workflow can involve:
Rules:
README.md in the local publish directoryPrerequisites
Confirm these before publishing:
SKILL.md is presentDetailed checks are in references/publish-checklist.md.
Workflow
1. Inspect And Improve The Skill First
Review the skill folder for:
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:
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:
clawhub whoamiAfter publishing:
4. Add A Temporary GitHub README
If GitHub backup or showcase is desired:
README.md that explains what the skill does for human readersSKILL.md as the AI-facing file and README.md as the GitHub-facing file5. Sync To GitHub
Use SSH or a local credential helper when possible.
Recommended flow:
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:
README.md from the publish directory if the user's preferred workflow is "clean local skill, richer GitHub repo"7. Report What Happened
Summarize clearly:
Decision Rules
Common Failure Modes
Use references/publish-checklist.md for:
βοΈ Configuration
Confirm these before publishing:
SKILL.md is presentDetailed checks are in references/publish-checklist.md.