Are you the author? Sign in to claim
Multi-agent orchestration for Claude Code: MCP server + skill that keeps Claude as lead engineer while delegating backen
Frontier Orchestrator is a Model Context Protocol (MCP) server and Claude Code skill that turns Claude into the lead engineer of a multi-agent team. Claude decomposes tasks, defines cross-stack contracts, and verifies results — while delegating:
Each specialist runs as a sandboxed subprocess in your repository, receives a role-scoped brief with explicit file ownership and acceptance criteria, and reports back in a structured format that Claude reviews before anything reaches you.
Frontier coding agents have different strengths. Instead of asking one model to do everything, Frontier Orchestrator routes each part of a full-stack task to the agent best suited for it — with enforced coordination discipline so agents never trample each other's changes:
analyze and review delegations run the specialist CLI in a read-only sandbox; only implement may edit the workspace.flowchart LR
U[You] --> C[Claude Code<br/>lead engineer]
C -->|delegate_backend| M[frontier-orchestrator<br/>MCP server]
C -->|delegate_frontend| M
C -->|delegate_build| M
M -->|codex exec<br/>sandboxed| X[OpenAI Codex<br/>backend specialist]
M -->|kimi --print<br/>sandboxed| K[Kimi Code<br/>frontend specialist]
M -->|grok -p<br/>sandboxed| G[Grok Build<br/>tooling/maintenance specialist]
X --> M
K --> M
G --> M
M -->|structured JSON result| C
C -->|reviewed, integrated,<br/>verified result| U
The MCP server exposes four tools:
| Tool | Purpose |
|---|---|
specialist_status | Check that the Codex, Kimi, and Grok CLIs are installed and report versions |
delegate_backend | Send a bounded backend task to Codex (analyze / review / implement) |
delegate_frontend | Send a bounded design/frontend task to Kimi (analyze / review / implement) |
delegate_build | Send domain-neutral tooling or mechanical maintenance to Grok Build (analyze / review / implement) |
Each delegation takes a structured request — task, mode, context, file_scope, acceptance_criteria, optional model override, and a hard timeout_seconds — and returns JSON with the specialist's final message, exit code, duration, and diagnostics on failure.
The companion orchestrate-specialists skill (in .claude/skills/) teaches Claude the domain-first routing rules, backend-first and frontend-first sequencing patterns, Grok's tooling and maintenance boundary, parallelization preconditions, and guardrails (see routing-contract.md).
Requirements: Node.js 20+, Claude Code, and authenticated codex, kimi, and grok CLIs for the specialists you intend to use. A missing optional CLI only makes that specialist unavailable.
git clone https://github.com/luckeyfaraday/frontier-orchestrator.git
cd frontier-orchestrator
npm install
npm run build
Launch Claude Code from this repository. Claude discovers the project-scoped .mcp.json and the skill automatically. Approve the MCP server when prompted, then run:
/orchestrate-specialists
Verify the connection with /mcp or:
claude mcp get frontier-orchestrator
Install the MCP server at user scope:
npm install && npm run build && npm link
claude mcp add --scope user frontier-orchestrator -- frontier-orchestrator
Copy the skill to user scope:
mkdir -p ~/.claude/skills
cp -R .claude/skills/orchestrate-specialists ~/.claude/skills/
Restart Claude Code after changing MCP configuration.
A typical full-stack feature flows like this:
delegate_backend with mode: analyze — Codex proposes the API contract.delegate_backend and delegate_frontend with mode: implement — run sequentially, or in parallel only when file scopes are disjoint (allow_concurrent_mutation: true). Separate domain-neutral tooling or mechanical maintenance can go to delegate_build; a stable application contract does not transfer backend or frontend ownership to Grok.The server inherits existing Codex, Kimi, and Grok authentication from their CLIs. All settings are environment variables:
| Environment variable | Default | Purpose |
|---|---|---|
FRONTIER_PROJECT_ROOT | CLAUDE_PROJECT_DIR | Base workspace for relative paths |
FRONTIER_ALLOWED_ROOTS | project root | Additional allowed roots, separated by the platform path delimiter |
FRONTIER_CODEX_CLI | codex | Codex executable or absolute path |
FRONTIER_KIMI_CLI | kimi | Kimi executable or absolute path |
FRONTIER_GROK_CLI | grok | Grok executable or absolute path |
FRONTIER_MAX_CONCURRENCY | 2 | Maximum simultaneous specialist processes |
FRONTIER_MAX_CAPTURED_BYTES | 2000000 | Per-stream child output retained in memory |
FRONTIER_MAX_RESULT_CHARS | 30000 | Maximum specialist text returned to Claude |
Implementation calls are serialized per working directory unless Claude explicitly sets allow_concurrent_mutation: true. The skill only permits that when file scopes are disjoint and the cross-stack contract is stable.
What is Frontier Orchestrator? A local stdio MCP server plus a Claude Code skill that lets Claude orchestrate OpenAI Codex, Kimi Code, and Grok Build as specialists — Codex for backend engineering, Kimi for design and frontend, and Grok for domain-neutral tooling and mechanical maintenance — while Claude remains responsible for decomposition, contracts, review, and integration.
How is this different from Claude Code subagents? Subagents run more instances of Claude. Frontier Orchestrator routes work to different frontier models by domain and workload strength, wrapped in file-scope and mutation guardrails, with Claude reviewing everything before completion.
Does it need API keys?
No keys of its own. It shells out to the codex, kimi, and grok CLIs and inherits whatever authentication those CLIs already have.
Can specialists run in parallel?
Yes, up to FRONTIER_MAX_CONCURRENCY processes — but workspace mutations are serialized per directory unless Claude explicitly certifies disjoint file scopes.
Is it safe to let specialists edit my repo?
analyze and review modes are read-only. implement uses each provider's workspace-editing mode and instructs every specialist to stay inside its declared file scope; Claude inspects all diffs before presenting completion.
LLM not set from Kimi means no provider/model is configured. Run kimi login, complete the browser authorization and model selection, then retry.grok login, then confirm the account's available models with grok models..mcp.json.specialist_status checks executable availability and versions; a real delegation is the definitive authentication/configuration check.npm run check # typecheck
npm test # build + node --test
Source layout: src/index.ts (MCP server and tools), src/specialists.ts (Codex, Kimi, and Grok CLI invocations and specialist prompts), src/coordinator.ts (concurrency gate and workspace mutation guard), src/config.ts (environment configuration and path allow-listing), src/process.ts (subprocess lifecycle).
MIT © luckeyfaraday
191 agents, 155 skills, and 82 plugins cross-compatible with Claude Code, Cursor, and Codex
⚠️ Experimentelle Skill-Sammlung für deutsches Recht (Arbeits-, Gesellschafts-, Insolvenz-, Datenschutz-, Prozessrecht u
Manage multiple Claude Code agents from TUI or Web with tmux and git worktrees
Project management using GitHub Issues + Git worktrees for parallel agent execution