Apollo Router
OfficialThe Apollo Router efficiently manages GraphQL connections across multiple services, optimizing performance and simplifying data fetching for your applications.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add apollographql/skills --skill apollo-router -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
apollographql
Matched to the vendor's own GitHub organisation.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill passed all 6 checks. We read its files at one commit and looked for the things that make a skill dangerous to run — not for whether it works.
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No undeclared network calls: passed
Only contacts known or declared hosts: host.docker.internal.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
host.docker.internallocalNo obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned apollographql/skills at 322da824b2.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 322da824b2
- Manifest
- skills/apollo-router/SKILL.md
- Scanned
- 28 files, 3,174 lines
About this skill
What it does
This skill generates configuration files for the Apollo Router, a high-performance graph router used to manage GraphQL connections across multiple services when building Apollo Federation 2 supergraphs. It guides users through a series of steps to create version-correct configurations tailored to their specific needs, including selecting the target Apollo Router version (v1 or v2), environment (production or development), and desired features. The skill ensures proper configuration based on these choices.
When to use it
- Creating an initial Apollo Router configuration for a new project.
- Generating configurations for different environments (development vs. production).
- Configuring specific features like JWT Authentication, CORS, operation limits, or Connectors.
- Migrating existing router.yaml files to newer versions.
- When needing help deciding between Apollo Router v1 and v2.
Key capabilities
- Version Selection: Guides users through choosing between Apollo Router v1 and v2, providing recommendations based on use case.
- Environment Configuration: Generates configurations for both production (security-hardened) and development (open defaults) environments.
- Feature Inclusion: Allows selection of features like JWT Authentication, CORS, Operation Limits, Traffic Shaping/Rate Limiting, Telemetry, APQ, Connectors (v2 only), Subscriptions, Header Propagation.
- Parameter Gathering: Collects necessary parameters for each selected feature.
- Connector Support: Provides configuration templates specifically for Apollo Connectors (available in Router v2).
Example prompts
- "Generate an Apollo Router configuration for version 2, development environment."
- "I need a production-ready configuration with JWT authentication and CORS enabled."
- "Which Apollo Router version should I use?"
- “Can you help me upgrade my existing router.yaml?”
Tips & gotchas
- Version Compatibility: Router v1 and v2 have incompatible configuration schemas, so selecting the correct version is crucial.
- Connectors Requirement: Apollo Connectors are only supported in Router v2.
- CORS Security: Avoid using "*" as an allowed origin for CORS in production environments.