clawflow

Create, version, schedule, and run declarative JSON workflows with AI, agent, and deterministic nodes.

10|1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/clawnify/clawflow --skill clawflow-clawnify
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clawflow
Source: https://github.com/clawnify/clawflow/tree/main/skills/clawflow
Command: npx skills add https://github.com/clawnify/clawflow --skill clawflow-clawnify

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building repeatable automations that chain LLM calls, shell commands, HTTP requests, and human approvals usually requires heavy orchestration frameworks or visual tools that agents cannot reliably author. This Skill lets an agent write, validate, publish, and execute complete workflows as plain JSON flow definitions. ## Core Features & Use Cases - Full flow lifecycle tools: create, edit, read, list, publish, run, resume, and schedule flows via flow_create, flow_edit, flow_publish, flow_run, and flow_trigger. - 12 node types: ai (structured LLM calls with schemas and attachments), agent (delegation to OpenClaw agents), exec, http, code, loop, branch, condition, parallel, memory, wait (approval gates and events), and sleep. - Versioning and scheduling: draft/publish versioning with immutable snapshots, plus cron-based triggers with per-trigger inputs and timezone support. - Use Case: Build a content pipeline that researches a topic with an AI node, drafts a post, pauses for human approval via a wait node, then publishes through an HTTP call with retries. ## Quick Start Ask the agent to create a flow that drafts a LinkedIn post from a topic using an AI node with a schema, then run it with flow_run.

Frequently Asked Questions about clawflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create and run a workflow with clawflow?

Define a JSON flow with a name and a nodes array, then use flow_create to save it and flow_run to execute it. Each node needs a unique name and a do type such as ai, exec, or http, and results are shared between nodes through output keys referenced in templates.

How do I add a human approval step to an automated workflow?

Add a wait node with for set to approval before any irreversible side effect. The flow pauses, shows the approver a prompt and optional preview data, and resumes via flow_resume with the instance ID and an approved flag.

What is the difference between ai and agent nodes in a flow?

An ai node makes a single LLM call with optional structured schema output, while an agent node delegates a task to a real OpenClaw agent with tool access like browser, exec, and memory. Use ai for extraction and generation, and agent for tasks needing tools.

Can I schedule a workflow to run on a cron schedule?

Yes, flow_trigger creates cron-based triggers with standard 5-field cron expressions and optional IANA timezones. Triggers run the latest published version by default, support per-trigger inputs, and skip runs when the previous execution is still active.

Why is my node result undefined in a later template?

Templates reference the node's output key, not its name, and the output field is required to store any result in state. If a node lacks output, its result is discarded, so add output to every node whose data downstream nodes reference, including loop and branch nodes.

Does clawflow support versioning for workflows?

Yes, flows use draft/publish versioning where flow_publish promotes the draft to an immutable numbered version. flow_run executes the latest published version by default, and you can pin specific versions or test drafts explicitly.