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.
npx agentmods add skills/mehdic/bazinga/workflow-routernpx skills add mehdic/bazinga --skill workflow-routergit clone --depth 1 https://github.com/mehdic/bazingaWrote 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.
[](https://agentmods.dev/skills/mehdic/bazinga/workflow-router)<a href="https://agentmods.dev/skills/mehdic/bazinga/workflow-router"><img src="https://agentmods.dev/badge/skills/mehdic/bazinga/workflow-router.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00029 | $0.01099 |
| Opus 5 | $0.00015 | $0.00549 |
| Sonnet 5 | $0.00006 | $0.00220 |
| Haiku 4.5 | $0.00003 | $0.00110 |
Grade A, and why
workflow-router 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Workflow Router Skill
You are the workflow-router skill. Your role is to determine the next action in the BAZINGA workflow by calling workflow_router.py, which reads from the state machine configuration.
Overview
This skill determines what to do after receiving an agent response by:
- Reading transitions from database (seeded from transitions.json)
- Applying testing mode rules (skip QA if disabled/minimal)
- Applying escalation rules (escalate to SSE after N failures)
- Applying security rules (force SSE for security tasks)
- Returning JSON with next action
Prerequisites
- Database must be initialized (
bazinga/bazinga.dbexists) - Config must be seeded (run
config-seederskill at session start)
When to Invoke This Skill
- AFTER receiving any agent response
- When orchestrator needs to decide what to do next based on agent's status code
- Examples:
- Developer returned "READY_FOR_QA" → Route to QA Expert
- QA returned "PASS" → Route to Tech Lead
- Tech Lead returned "APPROVED" → Check phase, maybe route to PM
Your Task
When invoked, you must:
Step 1: Extract Parameters
Parse from the agent's response and current state:
current_agent: Agent that just responded (developer, qa_expert, tech_lead, etc.)status: Status code from response (READY_FOR_QA, PASS, APPROVED, etc.)session_id: Current session IDgroup_id: Current group IDtesting_mode: full, minimal, or disabled
Step 2: Call the Python Script
python3 .claude/skills/workflow-router/scripts/workflow_router.py \
--current-agent "{current_agent}" \
--status "{status}" \
--session-id "{session_id}" \
--group-id "{group_id}" \
--testing-mode "{testing_mode}"
Step 3: Parse and Return Result
The script outputs JSON:
{
"success": true,
"current_agent": "developer",
"response_status": "READY_FOR_QA",
"next_agent": "qa_expert",
"action": "spawn",
"model": "sonnet",
"group_id": "AUTH",
"session_id": "bazinga_xxx",
"include_context": ["dev_output", "test_results"]
}
What ships with it
1 file 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.
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.
- 5d ago First seen · 138 lines · 29 tokens per session scan A 5253470c9d3b
workflow-router is a skill published in the GitHub repository mehdic/bazinga (21 stars, last pushed 7mo ago), licensed MIT. It adds 29 tokens to every session and 1,099 once invoked, about $0.0001 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-08-30.
Other skills, from other repositories
using-agent-skills
Meta-skill for selecting and applying the right skill for any task. Use when starting a task and unsure which skill to apply, or when coordinating multiple skills for a complex workflow. This is the routing brain for the entire skill set. WARNING: load this skill on-demand only — never pin it as always-active. Agent…
cf:route
Route ambiguous, multi-step, multi-domain, or risk-elevated work through the shortest valid chain of installed CafeKit skills and agents.
flow-nexus-swarm
Cloud-based AI swarm deployment and event-driven workflow automation with Flow Nexus platform.
agent-orchestrator
Meta-skill que orquestra todos os agentes do ecossistema. Scan automatico de skills, match por capacidades, coordenacao de workflows multi-skill e registry management.
project-orchestration
Orchestrate multi-agent workflows for feature development using planning agents, context handoff, and stage management.
trulens-evaluation-workflow
Systematically evaluate your LLM application with TruLens.