Step-by-step runbook for pairing TaskFlow (business process orchestration) with ClawHub (skill registry ingestion) to publish a digital skill artifact to the ClawHub resource center. Use when you need a repeatable, auditable process-to-upload pipeline.
Coding
TaskFlow-ClawHub Publish 编排技能
Try itOrchestrate a TaskFlow-managed ingestion job that validates, packages, and publishes an OpenClaw skill folder to the ClawHub registry, then verifies the published artifact. Use when a piece of digital content (an agent skill) must move through a durable multi-step flow and land in the ClawHub resource center in a reproducible way.
What it does
Orchestrate a TaskFlow-managed ingestion job that validates, packages, and publishes an OpenClaw skill folder to the ClawHub registry, then verifies the published artifact. Use when a piece of digital content (an agent skill) must move through a durable multi-step flow and land in the ClawHub resource center in a reproducible way.
The skill document
TaskFlow + ClawHub publish
This skill documents a reproducible two-tool pattern:
- TaskFlow owns the process: flow identity, owner session, child-task linkage, waiting/resuming, and revision-checked state transitions.
- ClawHub owns the ingestion: it takes a validated skill folder and publishes it to the ClawHub resource center so it is installable by slug.
The TaskFlow layer keeps the human-facing orchestration (which step is running, what state must survive a restart, what we are waiting on). The ClawHub layer performs the single irreversible write to the resource center.
When to use
- Publishing any agent skill folder whose ingestion must be auditable and resumable across steps.
- Multi-step ingestion jobs that may wait on human review or an external scanner result before the final publish.
Inputs
skillFolder: absolute or workspace-relative path to a skill folder that contains a validSKILL.mdfrontmatter block.slug,name,version,changelog: ClawHub publish arguments.
Outputs
- A TaskFlow
flowIdwith persistedstateJsoncapturing the skill folder, chosen publish arguments, and the resulting published version / URL. - A published ClawHub skill installable via
clawhub install.
Execution order
- validate (TaskFlow child task)
- Confirm
SKILL.mdexists and hasname+description. - Run
clawhub publish --dry-run --jsonand parse the preview. - Persist
{ validated: true, dryRun: }intostateJson.
- Confirm
- publish (TaskFlow child task, irreversible)
- Run
clawhub publish --slug --name --version --changelog --json. - Persist the returned version and slug into
stateJson.
- Run
- verify (TaskFlow child task)
- Run
clawhub inspectand confirm the version matches. - Optionally install into a throwaway dir:
clawhub install --workdir.
- Run
- finish
taskFlow.finish({ flowId, expectedRevision, stateJson }).
Notes
- Carry
flow.revisionforward after every mutating call; mutations are revision-checked. - The publish step is the only externally irreversible step; keep it behind the dry-run validation step so failures fail-fast.
- See
references/publish.shfor the concrete commands andreferences/flow.tsfor the TaskFlow orchestration shape.
Related skills
Minimal demonstration skill for verifying a ClawHub publish flow. Prints a configurable greeting and the current date so the publish/ingest path can be exercised with a safe, side-effect-free artifact.
Reference skill demonstrating TaskFlow + ClawHub tooling for publishing digital content to the resource hub.
Before publishing to ClawHub, validate a skill-shaped folder (required files, frontmatter, size, auth, slug availability, and a dry-run publish) with one script. Use when authoring or packaging a skill and you want to catch structural problems before the real publish.
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...
Prepare, safety-review, version, commit, and publish local Codex skills through a GitHub-backed release flow and ClawHub CLI. Use when the user asks to host,...