technickai/openclaw-config/workflow-builder
Claude Code and agent skill by technickai/openclaw-config
- community
Checking that the SKILL.md file is still in the repository.
Design, build, and maintain autonomous OpenClaw workflows (stewards). Use when creating new workflow agents, improving existing ones, evaluating automation opportunities, or debugging workflow reliability. Triggers on "build a workflow", "create a steward", "automate this process", "workflow audit", "what should I automate", "create a cron job", "schedule a recurring task", "build a scheduled job".
Install
npx vskill@latest install technickai/openclaw-config/workflow-builderSKILL.md
Workflow Builder 🏗️
The meta-skill for designing and building autonomous OpenClaw workflows. A workflow (steward) is an autonomous agent that runs on a schedule, maintains state, learns over time, and does real work without prompting.
Skills vs Workflows:
- Skill = single-purpose tool (how to use a CLI, API, or pattern)
- Workflow = autonomous agent with state, learning, and scheduling
Part 1: Should You Automate This?
Not everything deserves a workflow. Use this framework to decide.
The Automation Audit
For any candidate task, score these dimensions:
| Dimension | Question | Score | |
|---|---|---|---|
| Frequency | How often? (daily=3, weekly=2, monthly=1, rare=0) | 0-3 | |
| Repetitiveness | Same steps every time? (always=3, mostly=2, sometimes=1, never=0) | 0-3 | |
| Judgment Required | Needs creative thinking? (none=3, low=2, medium=1, high=0) | 0-3 | |
| Time Cost | Minutes per occurrence × frequency per month / 60 = hours/month | raw | |
| Safety | How safe to automate? (harmless if wrong=3, annoying=2, costly=1, dangerous=0) | 0-3 |
Decision:
- Score ≥ 10 + Time Cost > 2 hrs/month → Build a workflow
- Score 7-9 → Add to heartbeat checklist (batch with other checks)
- Score < 7 → Keep manual or add as a cron one-liner
ROI Calculator
Workflow vs Heartbeat vs Cron
| Approach | When to Use | |
|---|---|---|
| Workflow (steward) | Needs state, learning, rules, multi-step processing | |
| Heartbeat item | Quick check, batch with others, context-aware | |
| Cron (isolated) | Exact timing, standalone, different model | |
| Cron (main) | One-shot reminder, system event injection |
Rule of thumb: If it needs rules.md and agent_notes.md, it's a workflow. If it's a 2-line check, add it to HEARTBEAT.md.
Part 2: Workflow Anatomy
Every workflow follows this structure:
AGENT.md — The Algorithm
This is the workflow's brain. It ships with openclaw-config and can be updated.
Standard sections (adapt to your workflow — not all are required):
rules.md — User Preferences
Created during first-run setup interview. Never overwritten by updates.
Pattern:
agent_notes.md — Learned Patterns
The workflow writes here as it learns. Accumulates over time.
Pattern:
logs/ — Execution History
One file per day, auto-pruned after 30 days.
Pattern:
Definition of Done
Every workflow must declare what "done" looks like for a single run. This is the contract between the workflow and whoever (human or auditor) evaluates it.
Three components:
Completion Criteria
Concrete, checkable conditions that constitute a successful run. Not "process emails" but:
- All unread emails in target labels have been classified
- No email remained in an ambiguous state without escalation
- All actions logged with item IDs
These are binary pass/fail checks. If any fail, the run is incomplete.
Output Validation
Structural checks to run on the output before declaring done:
- Expected output format (log entry, state update, notification sent)
- Required fields present (item counts, action summaries, error list)
- Side effects confirmed (database updated, labels applied, alerts delivered)
These can be checked deterministically — no LLM judgment needed.
Quality Rubric
3-5 scored dimensions specific to this workflow, each on a 1-5 gold star scale:
| Score | Meaning | |
|---|---|---|
| ⭐⭐⭐⭐⭐ | Excellent — no issues, confident in all decisions | |
| ⭐⭐⭐⭐ | Good — minor uncertainties, all resolved reasonably | |
| ⭐⭐⭐ | Acceptable — some judgment calls the user might disagree with | |
| ⭐⭐ | Poor — likely errors, should flag for human review | |
| ⭐ | Failed — wrong actions taken, rollback recommended |
Example rubric for an email steward:
| Dimension | What it measures | |
|---|---|---|
| Completeness | Were all eligible items processed? | |
| Accuracy | Were classifications/actions correct? | |
| Judgment quality | Were edge cases handled well or properly escalated? | |
| Alert relevance | Were alerts appropriate (not noisy, not silent)? |
The rubric goes in AGENT.md. Scores go in the run log. Over time, score trends reveal drift — a workflow averaging 4.5 that drops to 3.2 over a week signals something changed.
Verification Level
Not every workflow needs cross-context verification. The right level depends on two questions: can you undo it? and who sees the output?
Level A — Log only. Just log what you did. No scorecard, no verification. For read-only workflows, reports, and briefings where the output is informational.
Level B — Self-score + circuit breakers. Score each run on the quality rubric. Auto-demote trust level if quality drops. No cross-context verification — the scorecard catches drift over time without the per-run token cost. For workflows whose actions are reversible or only affect the user.
Level C — Full verification. Self-score + cross-context verifier + circuit breakers. The fresh-context reviewer earns its cost because mistakes can't be undone and other people are affected. For workflows that send messages, publish content, or take irreversible actions visible to others.
Declare the level in AGENT.md so both the workflow and auditor know what's expected.
Examples:
| Workflow | Reversible? | Audience | Level | |
|---|---|---|---|---|
| email-steward | Yes | User | B — Self-score | |
| calendar-steward | Yes | User | A — Log only | |
| contact-steward | Partial | User | B — Self-score | |
| forward-motion | No | Others | C — Full verify | |
| llm-usage-report | Yes | User | A — Log only |
Part 3: Design Patterns
Pattern 1: Setup Interview
Every workflow should start with an interactive setup that creates rules.md.
Best practices:
- Check prerequisites first (API access, labels, etc.)
- Ask questions one category at a time
- Offer smart defaults based on scanning existing data
- Let the user skip or bail early ("looks good, skip to the end")
- Summarize rules in plain language before saving
- Always include an escape hatch:
alert_channel: none
Pattern 2: Graduated Trust
Trust is earned by performance, not elapsed time. Use run scorecard scores (see Definition of Done) to gate autonomy levels.
Store trust state in `rules.md` so the user can see and override it:
The workflow reads these at the start of each run and updates them at the end:
- Level 1: Present proposed actions, wait for approval before executing
- Level 2-4: Execute, then log actions for review
Starting point: New workflows default to Level 1. But for low-stakes workflows (health checks, notifications, reports), the user should promote to Level 2 during setup to avoid unnecessary babysitting. The setup interview should offer this choice: "Should I run independently and you review the logs, or would you prefer to approve each action first?"
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/workflow-builder/SKILL.md
Popularity
- Repository stars
- 73
- Repository forks
- 13
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 6 Jun 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/technickai/openclaw-config/workflow-builder)