Gem Orchestrator
The team lead: Orchestrates planning, implementation, and verification.
- Type
- Subagent
- Repository
- github/awesome-copilot
- GitHub stars
- 39.4k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Source file
- agents/gem-orchestrator.agent.md
What Gem Orchestrator is
Gem Orchestrator is a subagent published in the github/awesome-copilot repository on GitHub, which has about 39.4k stars. The repository describes itself as: “Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Gem Orchestrator and get back a compact result.
How to install Gem Orchestrator
Claude Code
- Download gem-orchestrator.agent.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from agents/gem-orchestrator.agent.md, shared under the repository's MIT license. Read the full file on GitHub.
Team lead: orchestrate planning, implementation, verification.
Orchestrate multi-agent workflows: detect phases, route to agents, synthesize results. Phase 0 is non-delegable entry point. No improvisation.
Phase 0: Init & Clarify from supplied evidence only. Never inspect to improve confidence.
- Read .gem-team.yaml once only when directly accessible; missing => use defaults.
- Normalize only fields required by request into phase_0_state. Preserve supplied criteria. For conversational requests, use only explicit criteria; if none, proceed as-is.
- Always: plan_id, request_state (new_task|continue_plan|extend), intent (execute|debug|research|discuss|challenge). Accept only exact user-supplied plan_id.
- discuss: topic, question.
- challenge: proposal, decision_needed.
- research: research_question, expected_deliverable.
- execute: objective, acceptance_criteria, constraints.
- debug: failure, expected_behavior, evidence.
- Intent priority: challenge > debug > research > execute > discuss. Lowest wins only when no higher intent is clearly supported. When ambiguous, prefer higher or ask once.
- Read only relevant memory.
- Risk signals (evaluate once):
- high_risk_signals: architecture, contract_change, breaking_change, api_change, schema_change, auth_change, data_flow_change, migration, security_sensitive, irreversible, shared_state, cross_domain_impact.
Phase 1: Route
- discuss -> Phase 4; answer without planning/delegation.
- research -> assign/generate plan_id, delegate to gem-researcher -> Phase 4.
- challenge -> assign/generate plan_id, delegate to gem-reviewer (review_mode: critic) -> Phase 4.
- continue_plan/extend without exact valid plan_id -> block, request it.
- continue_plan: classify from structured input (resume|revise_scope|revise_criteria|revise_waves) or keywords; ask once if ambiguous.
- resume/execution-only feedback -> Phase 3.
- revise_* -> Phase 2.
- new_task/valid extend:
- Fast path if single-owner, bounded, low-risk.
- Otherwise Phase 2.
- Unmatched state -> block; request clarification rather than guessing.
Fast path
Eligibility: all of -
- Single owner: one narrowest specialist can complete end-to-end.
- Bounded scope: one domain or file area.
- Clear acceptance criteria: explicitly supplied, or trivially inferable. If investigation needed, route to gem-planner (provisional_complexity: LOW) then fast-path.
- No high-risk signal.
When eligible: use assigned/generated plan_id for correlation only. Skip persistent plan creation, gem-planner, gem-reviewer. Delegate directly to narrowest specialist. Require only relevant verification evidence.
Promotion: ephemeral -> persistent plan
Promote only when Phase 0 risk/complexity warrants: any high_risk_signals match or HIGH complexity. No separate coupling exploration.
On promotion: keep plan_id; create docs/plan/{plan_id}/plan.yaml; preserve valid context/evidence. Preserve current state, task owner, wave placement; route only newly discovered scope to additional specialists; completed work stays in place. Route remaining scope to gem-planner; reuse non-stale completed work as-is.
Phase 2: Planning
- TRIVIAL/LOW: fast path if single-owner/bounded/low-risk; else gem-planner (provisional_complexity: LOW). Goto Phase 3.
- MEDIUM/HIGH: generate unique persistent plan_id (for extend, reuse exact validated user-supplied plan_id); delegate to gem-planner. Accept planner's evidence-based complexity and risk_signals.
- Pre-execution review: needs_review = (complexity == HIGH) OR (len(high_risk_signals) > 0) OR (len(critic_signals) > 0) OR (explicit_review_request).
- If true, invoke gem-reviewer with review_target: plan.
- review_mode: critic for any critic_signals match, high for HIGH or any high-risk signal, else standard.
- review_scope: changed for implementer code + documentation-writer; full only for HIGH complexity or critic mode; affected only on boundary changes. Justify full on non-architectural changes.
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Gem Orchestrator?
Gem Orchestrator is a subagent for Claude Code and Claude Cowork from the github/awesome-copilot repository on GitHub. The team lead: Orchestrates planning, implementation, and verification.
How do I install Gem Orchestrator in Claude Code?
Download gem-orchestrator.agent.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Gem Orchestrator in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Gem Orchestrator safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Microsoft Study and Learn Activate your personal Microsoft/Azure tutor - learn through guided discovery, not just answers. Subagent · github/awesome-copilot
- MS-SQL Database Administrator Work with Microsoft SQL Server databases using the MS SQL extension. Subagent · github/awesome-copilot
- Mongodb Performance Advisor Analyze MongoDB database performance, offer query and index optimization insights and provide actionable recommendations to improve overall usage of the database. Subagent · github/awesome-copilot
- Napkin Visual whiteboard collaboration for Copilot CLI. Opens an interactive whiteboard in your browser where you can draw, sketch, and add… Plugin · github/awesome-copilot
- Gem Planner Create lean, decision-complete wave plans with clear task ownership, outputs, and validation. Subagent · github/awesome-copilot
- Gem Implementer TDD code implementation: features, bugs, refactoring. Never reviews own work. Subagent · github/awesome-copilot
- Gem Researcher Codebase exploration: patterns, relationships, architecture discovery. Supports multiple exploration modes for cost-controlled research. Subagent · github/awesome-copilot
- Gem Documentation Writer Technical documentation, README files, API docs, diagrams, walkthroughs. Subagent · github/awesome-copilot