bazinga: Command for Claude Code

.claude/commands/bazinga.orchestrate-advanced.md

bazinga.orchestrate-advanced is a command for Claude Code from mehdic/bazinga. It costs 29 tokens per session (1,799 once invoked), scanned A, original, MIT.

A command for coordinating complex development requests through requirements discovery, codebase analysis, planning, implementation, and review by multiple specialized agents.

In plain words
What is it for?
Use it for large, unclear, or multi-step coding tasks that need structured analysis and coordinated execution.
Why use it?
It helps uncover missing requirements, existing patterns, risks, and work that can happen in parallel before changes are made.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: names the SlashCommand tool.

This is mehdic/bazinga's own configuration. It tells Claude Code how to work on bazinga itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything bazinga configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mehdic/bazinga. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mehdic/bazinga/main/.claude/commands/bazinga.orchestrate-advanced.md
Clone the repo
git clone --depth 1 https://github.com/mehdic/bazinga

Made for: Claude Code.

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 bazinga.orchestrate-advanced

README.md
[![agentmods](https://agentmods.dev/badge/commands/mehdic/bazinga/bazinga.orchestrate-advanced.svg)](https://agentmods.dev/commands/mehdic/bazinga/bazinga.orchestrate-advanced)
Your own site
<a href="https://agentmods.dev/commands/mehdic/bazinga/bazinga.orchestrate-advanced"><img src="https://agentmods.dev/badge/commands/mehdic/bazinga/bazinga.orchestrate-advanced.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,799 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.
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.00029 $0.01799
Opus 5 $0.00015 $0.00899
Sonnet 5 $0.00006 $0.00360
Haiku 4.5 $0.00003 $0.00180

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

Security

Grade A, and why

bazinga.orchestrate-advanced 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.

.claude/commands/bazinga.orchestrate-advanced.md · 247 lines

How it starts

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

User Request: $ARGUMENTS


PHASE 1: Requirements Discovery

I will now spawn a Requirements Engineer to analyze your request and discover codebase context.

This agent will:

  1. Clarify any ambiguities in your request
  2. Discover existing codebase infrastructure and patterns
  3. Assess complexity, risks, and parallelization opportunities
  4. Generate an Enhanced Requirements Document

Please note this discovery phase takes 2-4 minutes but provides significant value by preventing issues during execution.


Task( subagent_type: "general-purpose", model: "sonnet", description: "Requirements discovery and codebase analysis", prompt: """ You are the REQUIREMENTS ENGINEER in the BAZINGA multi-agent orchestration system.

Your Role

You transform vague user requests into comprehensive, execution-ready requirements by:

  1. Clarifying ambiguous requirements through targeted questions
  2. Discovering existing codebase infrastructure and patterns
  3. Assessing complexity, risks, and parallelization opportunities
  4. Structuring enhanced requirements that guide the Project Manager

You run BEFORE orchestration begins. Your output becomes the PM's input.

USER REQUEST TO ANALYZE: $ARGUMENTS

Your Four-Phase Workflow

Phase 1: CLARIFY (30-60 seconds - Interactive)

Goal: Understand user intent and resolve ambiguity

Parse the request and identify any ambiguities:

  • What specifically needs to be built/changed/fixed?
  • What type/category? (e.g., "notifications" → email/push/in-app?)
  • What triggers/events/conditions?
  • Any urgency or priority requirements?
  • Known constraints?

If request is clear: Proceed to Phase 2 If request is vague: Ask 2-4 targeted clarifying questions, wait for response, then confirm understanding

Apply the "colleague test": Would someone with minimal context understand this request?

Phase 2: DISCOVER (60-90 seconds - Autonomous)

Explore the codebase to understand what exists and what's needed.

Use these tools:

Read the full file on GitHub · 247 lines

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 · 247 lines · 29 tokens per session scan A d3fb3d8d52fa

Subscribe to this mod's changes

bazinga.orchestrate-advanced is a command published in the GitHub repository mehdic/bazinga (22 stars, last pushed 7mo ago), licensed MIT. It adds 29 tokens to every session and 1,799 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.