Skip to content
cccskills
FreePublished on GitHub

Workflow

Build automated pipelines with reusable components, data flow between nodes, and state management.

The English summary is being prepared. Showing the original description.

See how to install

Files included (9)

  • SKILL.md2.7 KB
  • _meta.json127 B
  • .clawhub/origin.json140 B
  • components.md5.5 KB
  • data-flow.md3.0 KB
  • errors.md4.5 KB
  • lifecycle.md5.8 KB
  • state.md4.5 KB
  • structure.md4.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Architecture

Workflows live in workflows/ with components and flows:

workflows/
├── index.md                 # Inventory with tags
├── components/
│   ├── connections/         # Auth configs
│   ├── nodes/               # Reusable operations
│   └── triggers/            # Event sources
└── flows/{name}/
    ├── flow.md              # Definition
    ├── config.yaml          # Parameters
    ├── run.sh               # Executable
    ├── state/               # Persistent between runs
    └── logs/

Quick Reference

TopicFile
Directory layout, naming, formatsstructure.md
Data passing between nodesdata-flow.md
Cursor, seen set, checkpointstate.md
Retry, rollback, idempotencyerrors.md
Connections, nodes, triggerscomponents.md
Create, test, update, archivelifecycle.md

Requirements

  • jq — JSON processing
  • yq — YAML config parsing
  • curl — HTTP requests
  • flock — Lock files to prevent concurrent runs
  • Secrets in macOS Keychain (security find-generic-password)

Data Storage

  • Location: workflows/ in workspace root
  • State: flows/{name}/state/ — cursor.json, seen.json, checkpoint.json
  • Logs: flows/{name}/logs/ — JSONL per run
  • Data: flows/{name}/data/ — intermediate files between nodes

Core Rules

1. Data Flow Pattern

Each node writes output to data/{NN}-{name}.json. Next node reads it.

curl ... > data/01-fetch.json
jq '...' data/01-fetch.json > data/02-filter.json

Breaking this pattern = nodes can't communicate.

2. Error Declaration

Every node in flow.md MUST declare:

  • On error: retry(N) | fail | continue | alert
  • On empty: skip | continue | fail

Undefined behavior = unpredictable workflow.

3. Lock Files

Prevent concurrent runs:

LOCKFILE="/tmp/workflow-${NAME}.lock"
exec 200>"$LOCKFILE"
flock -n 200 || exit 0

4. State Files

FilePurpose
cursor.json"Where did I leave off?"
seen.json"What have I processed?"
checkpoint.json"Multi-step recovery"

5. Component Reuse

Before creating new connections/nodes/triggers:

ls workflows/components/connections/
ls workflows/components/nodes/

Use existing. Update "Workflows Using This" when adding.


Related: For LLM-driven multi-phase processes, see the cycle skill.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

监控 A 股基金实时估值与盘后净值,自动判断交易日并生成提醒或分析。

The English summary is being prepared. Showing the original description.

aAAaqwq/openclaw-team2Updated Jun 18, 2026

You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct audits, identify barriers, and provide remediation guidance.

The English summary is being prepared. Showing the original description.

aAAaqwq/openclaw-team2Updated Jun 18, 2026

Expert sales execution covering pipeline management, discovery, demos, negotiation, and deal closing. Use when qualifying opportunities, running MEDDIC discovery, building account plans, handling objections, structuring proposals, or forecasting pipeline.

The English summary is being prepared. Showing the original description.

aAAaqwq/openclaw-team2Updated Jun 18, 2026

Support accounting understanding from basic bookkeeping to professional practice and research.

The English summary is being prepared. Showing the original description.

aAAaqwq/openclaw-team2Updated Jun 18, 2026

Automate ActiveCampaign tasks via Rube MCP (Composio): manage contacts, tags, list subscriptions, automation enrollment, and tasks. Always search tools first for current schemas.

The English summary is being prepared. Showing the original description.

aAAaqwq/openclaw-team2Updated Jun 18, 2026

Add company/person/relationship to CRM

The English summary is being prepared. Showing the original description.

aAAaqwq/openclaw-team2Updated Jun 18, 2026

See all skills by aAAaqwq

Report a problem with this skill