workflow-engine

workflow-engine is a skill for Claude Code, Codex from jonathan-vella/apex-accelerator. It costs 94 tokens per session (1,385 once invoked), scanned A, original, MIT.

A machine-readable workflow graph for routing a multi-step agent pipeline. It describes steps, dependencies, approval gates, conditional paths, and parallel branches.

In plain words
What is it for?
Use it to route orchestrator steps, resume paused work, validate dependencies, handle approval gates, and run independent sub-steps in parallel.
Why use it?
It keeps workflow behavior in one structured definition instead of scattering routing logic through agent instructions. This makes resuming and validating workflows more predictable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to route orchestrator steps, resume paused work, validate dependencies, handle approval gates, and run independent sub-steps in parallel.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jonathan-vella/apex-accelerator/workflow-engine
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jonathan-vella/apex-accelerator --skill workflow-engine
Clone the repo
git clone --depth 1 https://github.com/jonathan-vella/apex-accelerator

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for workflow-engine

README.md
[![agentmods](https://agentmods.dev/badge/skills/jonathan-vella/apex-accelerator/workflow-engine/github.svg)](https://agentmods.dev/skills/jonathan-vella/apex-accelerator/workflow-engine)
Your own site
<a href="https://agentmods.dev/skills/jonathan-vella/apex-accelerator/workflow-engine"><img src="https://agentmods.dev/badge/skills/jonathan-vella/apex-accelerator/workflow-engine/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for workflow-engine

Your own site · 80×15
<a href="https://agentmods.dev/skills/jonathan-vella/apex-accelerator/workflow-engine"><img src="https://agentmods.dev/badge/skills/jonathan-vella/apex-accelerator/workflow-engine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,385 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.01385
Opus 5 $0.00047 $0.00692
Sonnet 5 $0.00019 $0.00277
Haiku 4.5 $0.00009 $0.00138

Measured 8d ago against content hash c1bb2d92066b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

workflow-engine scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/workflow-engine/SKILL.md · 102 lines

How it starts

The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Workflow Engine Skill

Provides a declarative, machine-readable workflow graph that the Orchestrator reads instead of relying on hardcoded step logic.

When to Use

  • Orchestrator determining the next step after a gate
  • Resuming a workflow via apex-recall show <project> --json
  • Validating that all steps have proper dependencies and outputs
  • Understanding fan-out (parallel sub-steps) and conditional routing

Rules

  • DAG only — the workflow is a Directed Acyclic Graph; no cycles, no back-edges
  • Source of truth is templates/workflow-graph.json — the orchestrator reads this directly; do not encode workflow logic in agent prose
  • Gates are blocking — a gate node halts downstream execution until human approval is recorded in session state
  • IaC routing is conditional on decisions.iac_tool — Step 3 → Step 4 / 5 / 6 routes to *-b (Bicep) or *-t (Terraform)
  • Fan-out children execute in parallel — Step 7 docs is the canonical example; do not serialize parallel children
  • Edge conditions — use exactly one of on_complete, on_skip, on_fail per edge; ambiguity is a validation error
  • Schema evolution — bump metadata.version and follow references/schema-evolution.md rollback rules when changing the graph
  • Validation is enforced at three points — graph shape (validate-workflow-graph.mjs), handoff buttons (validate-agents.mjs --only=workflow-handoffs), and gate-companion H2 sync (validate-artifacts.mjs)

Steps

Orchestrator protocol for routing the next step:

  1. Load templates/workflow-graph.json
  2. Read current stateapex-recall show <project> --jsoncurrent_step
  3. Find the matching node in the graph
  4. Check node status:
    • complete → follow on_complete edges → find next node
    • in_progress → resume from sub_step checkpoint
    • pending → execute this node
    • skipped → follow on_skip edges
  5. Apply IaC routing when present — read decisions.iac_tool and pick the *-b or *-t branch
  6. If next is a gate — present to user, wait for approval, record decision in session state
  7. If next is a subagent-fan-out — dispatch all children in parallel; collect results before continuing
  8. Repeat until all nodes are complete or blocked

Read the full file on GitHub · 102 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 102 lines · 94 tokens per session scan A c1bb2d92066b

Subscribe to this mod's changes

workflow-engine is a skill published in the GitHub repository jonathan-vella/apex-accelerator (50 stars, last pushed 5d ago), licensed MIT. It adds 94 tokens to every session and 1,385 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

gsap-scrolltrigger

Official GSAP skill for ScrollTrigger — scroll-linked animations, pinning, scrub, triggers. Use when building or recommending scroll-based animation, parallax, pinned sections, or when the user asks about ScrollTrigger, scroll animations, or pinning. Recommend GSAP for scroll-driven animation when no library is…

calesthio/OpenMontage · 68 tokens

seedance-2-5

Generate 4-30 second cinematic video with ByteDance Seedance 2.5 through fal.ai, Volcengine Ark, Runway, or ComfyUI Partner Nodes. Use for long single generations, synchronized audio, and large multimodal reference sets (up to 30 images, 10 videos, and 10 audio clips). Also covers the 2.5 prompt contract: section…

calesthio/OpenMontage · 117 tokens

threejs-geometry

Three.js geometry creation - built-in shapes, BufferGeometry, custom geometry, instancing. Use when creating 3D shapes, working with vertices, building custom meshes, or optimizing with instanced rendering.

calesthio/OpenMontage · 46 tokens

comfyui

Use when working with ComfyUI workflows in OpenMontage, including comfyuiimage/comfyuivideo/comfyuimusic, custom workflowjson/workflowpath inputs, outputnode selection, missing model setup, LoRAs, low-VRAM workflow choices, and community workflow imports.

calesthio/OpenMontage · 61 tokens

ltx2

AI video generation with LTX-2.3 22B — text-to-video, image-to-video clips for video production. Use when generating video clips, animating images, creating b-roll, animated backgrounds, or motion content. Triggers include video generation, animate image, b-roll, motion, video clip, text-to-video, image-to-video.

calesthio/OpenMontage · 76 tokens

lyria

Generate and validate music with Google Lyria 3 through the Gemini Interactions API. Use before calling OpenMontage googlemusic, designing Lyria 3 Clip or Pro prompts, using image-to-music or custom lyrics, choosing between Lyria 3 and Lyria RealTime, diagnosing Google music-generation failures, or preparing…

calesthio/OpenMontage · 76 tokens