By carloluisito
Distribution marketplace for the Orchestra plugin — context-optimized task orchestration for Claude Code.
npx claudepluginhub carloluisito/orchestraContext-optimized task orchestration for AI agents. Decomposes complex tasks into a DAG and dispatches focused sub-agents with minimal context prompts.
Context-optimized task orchestration for Claude Code. Keeps sub-agent output quality high by decomposing complex work into a DAG of focused subtasks, each dispatched with a curated, minimal-context prompt.
As context grows larger, output degrades. Typical agent systems stuff full specs, plans, and codebases into every sub-agent — most of it irrelevant to the task at hand. Quality drops, tokens are wasted, and failures compound.
Orchestra breaks work into atomic tasks with explicit dependencies. Each sub-agent receives only:
…all within a configurable token budget. Independent tasks run in parallel, results are summarized for downstream consumers, and progress is tracked in .orchestra/ inside your project.
Install via Claude Code's marketplace system. From any project, run:
/plugin marketplace add carloluisito/orchestra
/plugin install orchestra@orchestra-local
The plugin registers one skill (orchestra), one PostToolUse hook (token tracking), and the /orchestra ... command pattern.
/orchestra run path/to/spec.md # Run from a spec file
/orchestra run spec.md plan.md # Spec + plan
/orchestra run "Build a REST API for ..." # Raw prompt
/orchestra run ./docs/ # Directory (scans .md files)
/orchestra run "Add auth" --repos service-b # Cross-repo orchestration
/orchestra resume # Resume the last run
/orchestra status # Read-only view of progress
After run, Orchestra will prompt you interactively for configuration and branch setup before execution begins.
| Setting | Default | Description |
|---|---|---|
token_budget | 80000 | Target max tokens per sub-agent prompt |
autonomy | checkpoint | full_auto, checkpoint, or per_task |
max_parallel | 3 | Max concurrent sub-agents |
max_retries | 2 | Retry attempts per failed task |
agent_model | sonnet | Model for sub-agents (sonnet, opus, haiku) |
use_worktrees | true | Git worktree isolation per agent |
evidence: true, a fresh independent sub-agent validates the work agent's evidence artifacts (screenshots, test output, exit codes, build output) against the task's acceptance criteria. The verdict decides whether to proceed, retry with feedback, or escalate.Orchestra creates a .orchestra/ directory in your project to store DAG state, per-task artifacts, token usage, and run history. This directory is gitignored by convention — add .orchestra/ to your .gitignore if you haven't.
A lightweight dashboard is included for visualizing active runs and token usage:
./skills/orchestra/scripts/start-dashboard.sh
./skills/orchestra/scripts/stop-dashboard.sh
Pass --repos repo-a,repo-b to coordinate changes across sibling repositories. Paths are resolved relative to the parent of your current repo.
Run the test suite (Node's built-in runner, no dependencies to install):
npm test
This runs node --test tests/unit/*.test.js — subprocess tests for the token-tracking hook and parse/shape checks for the shipped manifests. CI runs the same command on every pull request.
MIT
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.