workflow-rig
FreeNo executable scriptsNot checkedCanonical front door for agent-first workload planning, runtime mode selection, workflow-rig dogfood, and runtime dispatch in joelclaw. Use when the user says…
by joelhooks★ 69 GitHub starsAbout this skill
Workflow Rig
Use this skill as the canonical front door for agent-driven work in joelclaw.
The user should not have to choose between agent-workloads, restate-workflows, queue internals, or runtime trivia.
If the user says the magic words —
- "run this through the workflow rig"
- "dogfood this with the workflow rig"
- "kick this off"
- "start a canary"
- "run this as a workload"
— load this skill first.
What this skill owns
- workload shaping (
serial,parallel,chained) - choosing between inline work, durable runtime, or a pure handoff
joelclaw workload plan/dispatch/run- explicit stage DAGs via
--stages-from - honest runtime truth: what the restate-worker can do today, and what it still cannot do
- verification contracts before runtime fan-out
- canary/dogfood posture for real workload proofs
Core rule
Intent first, substrate second.
The caller describes the work. The workflow rig chooses the narrowest honest execution path.
Verification first, loops second. Before planning durable or parallel runtime work, ask: can an agent prove this worked without Joel staring at it? If not, shape a verification/tooling stage first. Do not turn unverified vibes into high-throughput slop.
Do not push Redis vs Restate vs sandbox trivia back onto the caller unless that tradeoff is the actual decision.
Current proven state (as of 2026-03-17, session StubbornFerret)
joelclaw workload plan,joelclaw workload dispatch, andjoelclaw workload runare real.- Proven durable path:
joelclaw workload plan→ Redis queue → RestatedagOrchestrator→dagWorker→ execution. - Multi-stage DAGs with
dependsOnare proven across 3-5 stage pipelines. Downstream stages can consume earlier outputs via{{nodeId}}interpolation. --stages-from stages.jsonis proven: duplicate ids, unknown deps, self-deps, and cycles are rejected before runtime admission; critical path and phase grouping are calculated.shellhandler ✅ runs commands in the k8srestate-workerpod. Git clone, pi agent file writes, git commit, and git push are proven.inferhandler ✅ full pi agent with tools — read, edit, write, bash.pi -pmode enables all tools. It can read files, edit them, run commands, and produce working code changes. Not just text generation — full agent-style codegen.microvmhandler ⏸️ code works (one-shot exec model proven via bun test in pod) but ADR-0230 is paused — Colima nestedVirtualization crashes the VM under load. Don't use.- The
restate-workerimage is a full agent environment: pi 0.58.4, 76 skills, GitHub push auth from k8s secret, pi auth mounted from host (stays fresh). - Autonomous codegen proven: infer handler reads files + edits them via pi tools. Shell handler handles git clone/commit/push. Chain them in a DAG for full autonomous coding loops.
- Pre-cloned repo cache at
/app/repo-cache(~200ms copy vs ~3s clone).dagWorkeruses 15m inactivity timeout and 30m hard abort. - Retry caps: dagWorker maxAttempts=5, dagOrchestrator maxAttempts=3. No more infinite retry poisoning.
What does not work yet
microvmhandler paused (ADR-0230) — needs dedicated Linux hardware with native KVM- DAG completion notifications to the gateway not wired (operators poll or check OTEL)
- large-file pi agent edits can be slow (3-5 minutes) but succeed within the 15m timeout
Canonical operator flow
- Shape the work with
joelclaw workload plan, including the verification contract for every stage. - Present the shaped workload and verification path. Use existing authorization for a scoped run request; ask only for missing consequential choices or additional scope.
- Within the authorized scope:
- execute inline if it is bounded, local, and reversible
- use
joelclaw workload runfor real durable execution - use
joelclaw workload dispatchonly for a real baton pass
- If you enqueue runtime work, poll for progress with
joelclaw runs,joelclaw run <run-id>, or OTEL. There is no automatic completion ping yet. - Report outcome tersely: changed, verified, remaining, next move
If the proof path is missing, stop before runtime admission and author the reusable verifier skill/tool/check first. That is the leverage move.
Magic words → canonical commands
Plan only
joelclaw workload plan "<intent>" --repo <repo> [--paths a,b,c] [--stages-from <path>] [--write-plan <path>]
Real runtime canary / dogfood
joelclaw workload run <plan-artifact> \
[--stage <stage-id>] \
[--tool pi|codex|claude] \
[--timeout <seconds>] \
[--model <model>] \
[--execution-mode auto|host|sandbox] \
[--sandbox-backend local|k8s] \
[--sandbox-mode minimal|full] \
[--repo-url <git-url>] \
[--dry-run] \
[--skip-dep-check]
Handoff, not execution
joelclaw workload dispatch <plan-artifact> \
[--stage <stage-id>] \
[--project <mail-project>] \
[--from <agent>] \
[--to <agent>] \
[--send-ma
Install workflow-rig in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the workflow-rig skill do?
Canonical front door for agent-first workload planning, runtime mode selection, workflow-rig dogfood, and runtime dispatch in joelclaw. Use when the user says 'run this through the workflow rig', 'kick this off', 'dogfood this with the workflow rig', 'start a canary', 'run this as a workload', or any request to turn coding/runtime intent into a real joelclaw workload plan or run.
How do I install the workflow-rig skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the workflow-rig skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic