agent-gateway-orchestrator

agent-gateway-orchestrator is a skill for Codex from Kvxw1105/agent-gateway-mcp. It costs 61 tokens per session (604 once invoked), scanned A, original, Apache-2.0.

A coordinator for running several coding agents, including ZCode, Kimi, Claude Code, Codex CLI, and Pi, through Agent Gateway.

In plain words
What is it for?
It is for routing coding tasks, comparing agent results, reviewing implementations with another agent, and maintaining the local agent gateway.
Why use it?
It helps choose an available agent, compare agents when requested, escalate failed work, and run parallel tasks in separate Git worktrees. A worktree is an isolated working copy of a Git project.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Claude Code; mentions Codex.

Good fit It is for routing coding tasks, comparing agent results, reviewing implementations with another agent, and maintaining the local agent gateway.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kvxw1105/agent-gateway-mcp/agent-gateway-orchestrator
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.

Any agent
npx skills add Kvxw1105/agent-gateway-mcp --skill agent-gateway-orchestrator
Clone the repo
git clone --depth 1 https://github.com/Kvxw1105/agent-gateway-mcp

Made for: Codex.

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 agent-gateway-orchestrator

README.md
[![agentmods](https://agentmods.dev/badge/skills/kvxw1105/agent-gateway-mcp/agent-gateway-orchestrator/github.svg)](https://agentmods.dev/skills/kvxw1105/agent-gateway-mcp/agent-gateway-orchestrator)
Your own site
<a href="https://agentmods.dev/skills/kvxw1105/agent-gateway-mcp/agent-gateway-orchestrator"><img src="https://agentmods.dev/badge/skills/kvxw1105/agent-gateway-mcp/agent-gateway-orchestrator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-gateway-orchestrator

Your own site · 80×15
<a href="https://agentmods.dev/skills/kvxw1105/agent-gateway-mcp/agent-gateway-orchestrator"><img src="https://agentmods.dev/badge/skills/kvxw1105/agent-gateway-mcp/agent-gateway-orchestrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 604 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.00061 $0.00604
Opus 5 $0.00030 $0.00302
Sonnet 5 $0.00012 $0.00121
Haiku 4.5 $0.00006 $0.00060

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

Security

Grade A, and why

agent-gateway-orchestrator 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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/show-agent-terminals.ps1), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

integrations/skills/agent-gateway-orchestrator/SKILL.md · 58 lines

How it starts

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

Agent Gateway Orchestrator

Act as the controller and use the agent-gateway MCP for process lifecycle. Do not recreate process management in prompts or inject into an open interactive TUI.

Start

  1. Call agents_list for current providers and capabilities.
  2. Inspect the target directory and Git state.
  3. Read references/routing.md when selecting agents. Read references/setup.md when installing or maintaining the gateway.
  4. Skip unavailable or unauthenticated providers; never disguise an incompatible endpoint as another provider's API.

Select a mode

  • economy: default. Start with one lower-cost agent and escalate only after failure or failed validation.
  • compare: use only when the user requests a harness comparison. Keep the prompt and output short; use identical inputs and permissions.
  • critical: let one agent implement, a different agent review read-only, and the controller perform final validation.

If the user says quota or budget is low, force economy unless they explicitly request a bounded comparison.

Execute

  1. Define a testable result, allowed files, permission, output limit, timeout, and prohibited actions.
  2. Call agents_spawn; retain task ID, provider, session ID, and working directory.
  3. Poll with bounded agents_wait calls and read incremental agents_logs.
  4. Use agents_cancel on timeout, drift, or abnormal cost. Do not retry the same failing route indefinitely.
  5. Use agents_resume only to start a new controlled non-interactive process.
  6. Validate locally. An agent's success claim is not completion evidence.

Agents report through Gateway logs and results to the controller. They do not communicate directly by default. For staged collaboration, pass only the previous agent's concise result to the next agent.

Safety

  • Default to read-only.
  • Protect existing uncommitted work.
  • Parallel writers require separate Git worktrees and isolated_worktree=true.
  • Never allow multiple agents to write the same ordinary directory.
  • Never put credentials in prompts, repositories, MCP config, or logs.

Read the full file on GitHub · 58 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 58 lines · 61 tokens per session scan A ba6725d325f9

Subscribe to this mod's changes

agent-gateway-orchestrator is a skill published in the GitHub repository Kvxw1105/agent-gateway-mcp (0 stars, last pushed 21d ago), licensed Apache-2.0. It adds 61 tokens to every session and 604 once invoked, about $0.0003 per session on Opus 5. 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.