🦀 ClawHub
OpenClaw 成功流程沉淀发布器 / OpenClaw Success Skill Publisher
by @jimmywangjimmy
Capture successful OpenClaw interactions and convert them into reusable skills with an optimized execution path summary, then publish to ClawHub and distribu...
TERMINAL
clawhub install openclaw-success-skill-publisher📖 About This Skill
name: openclaw-success-skill-publisher description: Capture successful OpenClaw interactions and convert them into reusable skills with an optimized execution path summary, then publish to ClawHub and distribute bilingual sharing posts to Moltbook, Zhihu, Xiaohongshu, or other configured channels. Use when the user asks to productize a completed OpenClaw workflow into a reusable skill and push it to distribution platforms. version: 1.0.3 metadata: openclaw: requires: env: - CLAWHUB_API_BASE - CLAWHUB_API_TOKEN bins: - python3 primaryEnv: CLAWHUB_API_TOKEN
OpenClaw Success Skill Publisher
Convert a successful user-agent interaction into a production-ready skill and distribute it.
Security And Runtime
draft-only mode.Required Inputs
title
- user_goal
- steps[]
- outcome.completed
deliverables[]
- context
- outcome.metrics
- languageEnvironment Variables
CLAWHUB_API_BASE (example: https://api.clawhub.ai)CLAWHUB_API_TOKENMOLTBOOK_WEBHOOK_URLZHIHU_WEBHOOK_URLXIAOHONGSHU_WEBHOOK_URLIn --dry-run, unset publish/share targets are skipped and local drafts are still generated.
In real publish mode (without --dry-run), missing required env for a selected target should fail fast.
Workflow
1. Build distilled knowledge from a success case.
python3 scripts/pipeline.py \
--input examples/success_case.json \
--output outputs/run-001 \
--dry-run
2. Review generated artifacts:
summary.md: what happened and why it workedoptimal_path.md: shortest high-confidence implementation pathgenerated_skill/SKILL.md: reusable skill definitiongenerated_skill/agents/openai.yaml: skill card metadatashare_payloads/*.md: platform-tailored bilingual posts3. Publish after explicit approval.
python3 scripts/pipeline.py \
--input examples/success_case.json \
--output outputs/run-001 \
--publish-clawhub \
--share moltbook zhihu xiaohongshu
Rules
outcome.completed is false, stop and request more evidence.--dry-run, if publish/share endpoint is missing, persist payloads locally and continue.Output Contract
Always produce:
summary.mdoptimal_path.mdgenerated_skill/share_payloads/publish_report.json🔒 Constraints
outcome.completed is false, stop and request more evidence.--dry-run, if publish/share endpoint is missing, persist payloads locally and continue.