improve-orchestration

improve-orchestration is a command for Claude Code from TheLobbi/claude. It costs 0 tokens per session (554 once invoked), scanned A, original, MIT.

A command for examining and improving orchestration, meaning how coding agents, production systems, GitHub workflows, and other systems coordinate their work.

In plain words
What is it for?
Use it to analyze, optimize, or implement changes for Claude Code, production systems, GitHub, or all listed targets, with a chosen depth or focus.
Why use it?
It helps identify inefficient coordination, conflicting actions, and recurring coordination patterns.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Part of the claude-orchestration plugin — 6 skills, 133 commands, 9 agents, 8 hooks, 6 plugins shipped together

Good fit Use it to analyze, optimize, or implement changes for Claude Code, production systems, GitHub, or all listed targets, with a chosen depth or focus.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/thelobbi/claude/improve-orchestration
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.

Clone the repo
git clone --depth 1 https://github.com/TheLobbi/claude

Made for: Claude Code.

Or install claude-orchestration, the plugin that ships this one along with the rest of its 6 skills, 133 commands, 9 agents, 8 hooks, 6 plugins.

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 improve-orchestration

README.md
[![agentmods](https://agentmods.dev/badge/commands/thelobbi/claude/improve-orchestration.svg)](https://agentmods.dev/commands/thelobbi/claude/improve-orchestration)
Your own site
<a href="https://agentmods.dev/commands/thelobbi/claude/improve-orchestration"><img src="https://agentmods.dev/badge/commands/thelobbi/claude/improve-orchestration.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 554 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.00000 $0.00554
Opus 5 $0.00000 $0.00277
Sonnet 5 $0.00000 $0.00111
Haiku 4.5 $0.00000 $0.00055

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

Security

Grade A, and why

improve-orchestration 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 7d 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/improve-orchestration.md · 66 lines

How it starts

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

/improve-orchestration

Quick Usage: /improve-orchestration [target] --mode=analyze --depth=deep

Optimize orchestration patterns across Claude Code agents, production systems, GitHub workflows, and multi-system coordination.

Core Parameters

Parameter Type Purpose Example
target string What to optimize claude-code, production, github, all
--mode select Analysis mode analyze, optimize, implement
--depth select Analysis depth shallow, deep, exhaustive
--focus list Specific areas latency,conflicts,patterns

Quick Examples

```bash

Analyze Claude Code orchestration

/improve-orchestration claude-code --mode=analyze

Full optimization of all systems

/improve-orchestration all --mode=optimize --depth=exhaustive

Fix specific issues

/improve-orchestration production --focus=conflicts,latency ```

What It Does

8-Phase Orchestration Improvement:

Phase Focus Duration
1. Discovery Find orchestration points 0-15 min
2. Analysis Identify patterns & anti-patterns 15-35 min
3. Design Create improved architecture 35-55 min
4. Implementation Apply fixes 55-75 min
5. Testing Validate changes 75-90 min
6. Documentation Update best practices 90-105 min
7. Optimization Fine-tune performance 105-115 min
8. Monitoring Setup alerts 115-120 min

Key Metrics Analyzed

  • Agent coordination latency
  • Conflict resolution time
  • Resource utilization
  • Workflow parallelization efficiency
  • Event flow bottlenecks

Agent Coordination

Uses meta-orchestration pattern via master-strategist coordinating:

  • Pattern discovery (orchestration-discoverer)
  • Anti-pattern detection (pattern-analyzer)
  • Architecture design (architect-supreme)
  • Implementation (devops-automator)
  • Testing (test-strategist)

References

  • Full Execution Flow: .claude/docs/commands/improve-orchestration-reference.md
  • Orchestration Config: .claude/orchestration/config.json
  • Best Practices: .claude/docs/orchestration-patterns.md

Read the full file on GitHub · 66 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. 7d ago First seen · 66 lines · 0 tokens per session scan A bf630dfce939

Subscribe to this mod's changes

improve-orchestration is a command published in the GitHub repository TheLobbi/claude (21 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 554 tokens. 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-31.