apollo-router

Generates version-aware YAML configuration for Apollo Router v1.x and v2.x.

Updated Jan 21, 2026
One-click install
npx skills add https://github.com/HsnSaboor/open-engineer --skill apollo-router
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apollo-router
Source: https://github.com/HsnSaboor/open-engineer/tree/main/src/skills/bundled/apollo-router
Command: npx skills add https://github.com/HsnSaboor/open-engineer --skill apollo-router

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the complex task of configuring Apollo Router, ensuring compatibility across different versions and environments for running federated GraphQL supergraphs.

Core Features & Use Cases

  • Version-Aware Configuration: Generates correct YAML for both Apollo Router v1.x and v2.x.
  • Environment Hardening: Provides secure defaults for production and open defaults for development.
  • Feature Integration: Supports JWT authentication, CORS, operation limits, telemetry, and more.
  • Use Case: Setting up a new Apollo Router instance for a production environment, ensuring all security best practices and necessary routing configurations are in place.

Quick Start

Use the apollo-router skill to generate a production configuration file for Router v2.

Frequently Asked Questions about apollo-router

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Apollo Router for a federated GraphQL supergraph?

Apollo Router configuration requires a YAML file that defines routing, header management, and CORS for your federated GraphQL supergraph. This process generates version-aware YAML configurations, supporting both v1.x and v2.x environments securely.

Does Apollo Router v2 require different YAML configuration than v1?

Apollo Router v2 does require different YAML configuration than v1. This configuration process generates version-aware YAML that detects and supports the correct syntax for both Apollo Router v1.x and v2.x supergraph deployments.

What's the best way to set up production security defaults for Apollo Router?

Setting up production security defaults for Apollo Router involves configuring JWT authentication, CORS restrictions, and operation limits within your YAML file. This process applies secure production defaults while leaving development environments open for testing.

Can I use custom plugins and telemetry with Apollo Router YAML?

You can use custom plugins and telemetry with Apollo Router YAML. The configuration process facilitates feature integration including telemetry setup, custom plugin routing, and header management to build a complete federated GraphQL supergraph.

Do I need a composed supergraph schema before configuring Apollo Router?

A composed supergraph schema is required before configuring Apollo Router. You must provide this composed schema to generate the correct version-aware YAML configuration for routing, authentication, and telemetry across your federated GraphQL environments.

Why is my Apollo Router configuration failing during performance troubleshooting?

Apollo Router configuration failures during performance troubleshooting often stem from incorrect version syntax or missing environment hardening. Generating version-aware YAML with correct telemetry and operation limits resolves these setup and routing conflicts.