Workflow
Skill Hammad-Bellachhab/the-engineering-agents-/.claude/skills/workflow
Create, validate, run, resume, and debug automations on the repo's built-in workflow engine (engine/, n8n-inspired). Use when the user wants to automate a repo task, build/edit a workflow JSON, run or schedule a workflow, inspect a run journal, or invokes /workflow.From its SKILL.md
npx -y skills add Hammad-Bellachhab/the-engineering-agents- --skill workflowAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.6 KB, as published. Nobody here has run it
Operate the Agency workflow engine
The engine lives in engine/ (stdlib-only). Workflows are JSON files in workflows/. Full reference: docs/WORKFLOW-ENGINE.md. Run journals land in logs/runs/<run_id>.jsonl; agent dispatch briefs in logs/dispatch/.
Commands
python3 -m engine list-nodes # what node types exist
python3 -m engine new <kebab-name> # scaffold workflows/<name>.json
python3 -m engine validate workflows/*.json # graph + port + type checks
python3 -m engine run workflows/<name>.json \
[--payload '{"k":"v"}' | --payload @file.json] \
[--idempotency-key KEY] [--quiet]
python3 -m engine resume <run-id> --workflow workflows/<name>.json
Building a workflow for the user
- Sketch the graph first: trigger → transforms → branches → side effects. One trigger node (
trigger.manual,trigger.webhook, ortrigger.schedule). - Write the JSON:
nodes(name, type, parameters, optionalretry/on_error/notes) andconnections({"Source": {"port": [{"node": "Target"}]}}; ports aremainunless the node branches —flow.ifhastrue/false,flow.switchhas itscasesvalues plusdefault, and any node withon_error: "error-output"gains anerrorport). - Expressions use n8n syntax inside
{{ }}:$json,$node("Name"),$items("Name"),$env.VAR,$now,$today,$run.id,$workflow.name,$itemIndex. - Apply the reliability defaults: retries (
{"max_attempts": 3, "wait_seconds": 2}) only on nodes with transient failure modes (http.request,execute.commandtimeouts,agency.dispatchcli mode); anerrorbranch (dead letter) on anything critical; an--idempotency-keyfor event-driven runs. - Always
validatebeforerun, run it, and show the user the run summary. If a run fails, read its journal (logs/runs/<id>.jsonl) to find the failing node and event, fix, thenresumerather than rerun when earlier nodes had side effects. - To hand work to a roster agent from a workflow, use the
agency.dispatchnode (modebriefwrites a brief underlogs/dispatch/; modeclicallsclaude -p— only if the user asked for autonomous dispatch).
For recurring execution, wire the OS scheduler or CI to python3 -m engine run ... — the engine deliberately has no daemon.