Download for MacApple silicon, macOS 14+
Skill

apollo-router

@apollographql Updated 2026-11-01

Version-aware guide for configuring and running Apollo Router for federated GraphQL supergraphs. Generates correct YAML for both Router v1.x and v2.x. Use this skill when: (1) setting up Apollo Router to run a supergraph, (2) configuring routing, headers, or CORS, (3) implementing custom plugins (Rhai scripts or coprocessors), (4) configuring telemetry (tracing, metrics, logging), (5) troubleshooting Router performance or connectivity issues, (6) securing the graph with JWT, declarative field-level authorization directives, or persisted-query safelisting, (7) managing router.yaml as version-controlled config with CI/CD validation.

agent-skillsapollographql

Install

With your agent

Install OMGSkills skill "apollographql/skills:apollo-router" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/apollographql/skills /tmp/skills && ln -s /tmp/skills/skills/apollo-router ~/.claude/skills/apollo-router

From README

Apollo Router Config Generator Apollo Router is a high-performance graph router written in Rust for running Apollo Federation 2 supergraphs. It sits in front of your subgraphs and handles query planning, execution, and response composition. This skill generates version-correct configuration. Router v1 and v2 have incompatible config schemas in several critical sections (CORS, JWT auth, connectors). Always determine the target version before generating any config. Step 1: Version Selection Ask the user before generating any config: If the user picks [3], display: Store the selection as ROUTERVERSION=v1|v2 to gate all subsequent template generation. Step 2: Environment Selection Ask: Production or Development?