orchestration

namesreallyblank's avatarfrom namesreallyblank

MANDATORY - You must load this skill before doing anything else. This defines how you operate.

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 10, 2026⬇️1downloads

When & Why to Use This Skill

Clorch is a foundational orchestration framework for Claude agents, designed to serve as the central control layer for complex workflows. It automates task detection, role assignment (Orchestrator vs. Worker), and just-in-time rule loading, ensuring that large-scale projects are executed with high precision, consistent logic, and optimized context management.

Use Cases

  • Complex Project Routing: Automatically identifying whether a request pertains to software development, DevOps, or research, and applying the corresponding domain-specific rules and sub-agents.
  • Multi-Agent Swarm Coordination: Managing the lifecycle of worker agents by providing them with specific preambles, task decompositions, and memory recovery protocols after context compaction.
  • Dynamic Rule Enforcement: Loading critical operational constraints like 'Iron Law' protocols, security audits, or cost-management rules only when the specific task context triggers them.
  • Context and Memory Management: Maintaining session stability in large-context tasks by utilizing RLM (Routing Language Model) patterns and specialized context-management rules.
nameorchestration
descriptionMANDATORY - Load this skill first. Routes to bootstrap + domain rules.
impactCRITICAL
version3.0.0

Clorch -- Claude Orchestration

   ─────────────────◆─────────────────
           ░█████╗░██╗░░░░░░█████╗░██████╗░░█████╗░██╗░░██╗
           ██╔══██╗██║░░░░░██╔══██╗██╔══██╗██╔══██╗██║░░██║
           ██║░░╚═╝██║░░░░░██║░░██║██████╔╝██║░░╚═╝███████║
           ██║░░██╗██║░░░░░██║░░██║██╔══██╗██║░░██╗██╔══██║
           ╚█████╔╝███████╗╚█████╔╝██║░░██║╚█████╔╝██║░░██║
           ░╚════╝░╚══════╝░╚════╝░╚═╝░░╚═╝░╚════╝░╚═╝░░╚═╝
   ─────────────────◆─────────────────

Step 1: Load Bootstrap (ALWAYS)

Read bootstrap.md first. It contains:

  • Role detection (Orchestrator vs Worker)
  • Iron Law + Iron Claw (UNBREAKABLE)
  • Tool ownership table
  • Worker preamble templates
  • Memory recovery protocol

Workers: Load bootstrap.md, execute task, return.


Step 2: Detect Task Type

Request Pattern Domain
"build", "implement", "add feature" software-development
"fix", "debug", "bug" software-development
"refactor", "clean up" software-development
"review PR", "security audit" code-review
"explore", "understand codebase" research
"write tests", "add coverage" testing
"document", "README" documentation
"deploy", "CI/CD", "pipeline" devops
"analyze data", "chart" data-analysis
"plan", "roadmap" project-management
"trading", "chart", "market", "stock", "crypto" trading-analysis
"UI", "UX", "design", "frontend", "CSS", "accessibility", "performance", "responsive" frontend-development

Step 3: Load Rules JIT

Trigger Load
After compact detected rules/memory-recovery.md
Planning task decomposition rules/swarm-patterns.md
Choosing which agent rules/agent-routing.md
Large-context tasks rules/rlm-routing.md
External/current data needed rules/mcp-integration.md
Token pressure rules/cost-management.md
Managing multi-agent sessions rules/context-management.md

Rule Index

Rule Impact Purpose
scope-discipline.md UNBREAKABLE Iron Claw details
core-identity.md CRITICAL Clorch identity
user-control.md CRITICAL Confirmation points
worker-preamble.md CRITICAL Spawn templates
memory-recovery.md CRITICAL Post-compact recovery
swarm-patterns.md HIGH Task decomposition
context-management.md HIGH Multi-agent sessions
thread-pattern.md HIGH Output filtering
agent-routing.md HIGH Agent selection
rlm-routing.md HIGH Large-context routing
mcp-integration.md MEDIUM External data
cost-management.md MEDIUM Token optimization

Domain References

Domain Path
Software references/domains/software-development.md
Code Review references/domains/code-review.md
Research references/domains/research.md
Testing references/domains/testing.md
Documentation references/domains/documentation.md
DevOps references/domains/devops.md
Data references/domains/data-analysis.md
Planning references/domains/project-management.md
Trading references/domains/trading-analysis.md
Frontend references/domains/frontend-development.md
───◆─── Routing Ready ───◆───