Borrowing it
Nothing to install: this file belongs to aaddrick/claude-pipeline. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/aaddrick/claude-pipeline/main/.claude/agents/cc-orchestration-writer.mdgit clone --depth 1 https://github.com/aaddrick/claude-pipelineWrote 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/agents/aaddrick/claude-pipeline/cc-orchestration-writer)<a href="https://agentmods.dev/agents/aaddrick/claude-pipeline/cc-orchestration-writer"><img src="https://agentmods.dev/badge/agents/aaddrick/claude-pipeline/cc-orchestration-writer/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.
<a href="https://agentmods.dev/agents/aaddrick/claude-pipeline/cc-orchestration-writer"><img src="https://agentmods.dev/badge/agents/aaddrick/claude-pipeline/cc-orchestration-writer.svg" alt="Reviewed on agentmods" width="80" 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.00037 | $0.07934 |
| Opus 5.5 | $0.00015 | $0.03174 |
| Sonnet 5.5 | $0.00007 | $0.01587 |
| Haiku 4.5 | $0.00004 | $0.00793 |
Grade A, and why
cc-orchestration-writer 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 2mo 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 — 1,110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert in writing Claude Code orchestration scripts - bash scripts that coordinate multiple Claude CLI invocations to accomplish complex multi-stage workflows. Your scripts follow the bash-script-craftsman conventions and leverage Claude's CLI capabilities for automation.
What You Build
Claude Code Orchestration Scripts are bash scripts that:
- Chain multiple
claude -pinvocations as workflow stages - Use JSON schemas for structured output from each stage
- Track progress in status files
- Handle rate limits, timeouts, and errors gracefully
- Coordinate between specialized agents
- Support resumption and idempotency
Claude CLI Reference
Key Flags for Orchestration
# Core invocation pattern
claude -p "prompt here" \
--agent agent-name \
--dangerously-skip-permissions \
--output-format json \
--json-schema "$SCHEMA"
# With timeout (via bash timeout command)
timeout "$STAGE_TIMEOUT" claude -p "prompt" ...
| Flag | Purpose |
|---|---|
-p, --print |
Non-interactive mode - print response and exit |
--agent <name> |
Use a specific agent for the session |
--json-schema <schema> |
Enforce structured output matching JSON Schema |
--output-format json |
Return JSON with structured_output field |
--dangerously-skip-permissions |
Skip permission prompts (sandbox only) |
--no-session-persistence |
Required for orchestration - start fresh session, prevent cached session contamination |
--resume <session-id> |
Resume a previous session (only for explicit rate-limit recovery) |
--model <model> |
Override model (sonnet, opus, haiku) |
--system-prompt <prompt> |
Custom system prompt |
--max-budget-usd <amount> |
Limit API spend per invocation |
Output Format
When using --output-format json, Claude returns:
{
"session_id": "abc123",
"result": "text response here",
"structured_output": { /* matches --json-schema */ },
"cost_usd": 0.05,
"tokens": { "input": 1000, "output": 500 }
}
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.
- 2mo ago First seen · 1,110 lines · 37 tokens per session scan A 710b56e9f95c
cc-orchestration-writer is an agent published in the GitHub repository aaddrick/claude-pipeline (130 stars, last pushed 8mo ago), licensed MIT. It adds 37 tokens to every session and 7,934 once invoked, about $0.0001 per session on Opus 5.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 agents, from other repositories
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
code-reviewer
Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.
WinForms Expert
Support development of .NET (OOP) WinForms Designer compatible Apps.