{"id":"1a4157ed-76eb-490d-8c93-f68f7e73e443","shortId":"eH6wAy","kind":"skill","title":"apollo-router","tagline":"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) implementin","description":"# Apollo Router Config Generator\n\nApollo 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.\n\n**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.\n\n## Step 1: Version Selection\n\nAsk the user **before generating any config**:\n\n```\nWhich Apollo Router version are you targeting?\n\n  [1] Router v2.x (recommended — current LTS, required for Connectors)\n  [2] Router v1.x (legacy — end-of-support announced, security patches only)\n  [3] Not sure — help me decide\n```\n\nIf the user picks **[3]**, display:\n\n```\nQuick guide:\n\n  • Pick v2 if: you're starting fresh, using Apollo Connectors for REST APIs,\n    or want backpressure-based overload protection.\n  • Pick v1 if: you have an existing deployment and haven't migrated yet.\n    Note: Apollo ended active support for v1.x. The v2.10 LTS (Dec 2025)\n    is the current baseline. Migration is strongly recommended.\n\n  Tip: If you have an existing router.yaml, you can auto-migrate it:\n    router config upgrade router.yaml\n```\n\nStore the selection as `ROUTER_VERSION=v1|v2` to gate all subsequent template generation.\n\n## Step 2: Environment Selection\n\nAsk: **Production** or **Development**?\n\n- **Production**: security-hardened defaults (introspection off, sandbox off, homepage off, subgraph errors hidden, auth required, health check on)\n- **Development**: open defaults (introspection on, sandbox on, errors exposed, text logging)\n\nLoad the appropriate base template from:\n- `templates/{version}/production.yaml`\n- `templates/{version}/development.yaml`\n\n## Step 3: Feature Selection\n\nAsk which features to include:\n\n- [ ] JWT Authentication\n- [ ] CORS (almost always yes for browser clients)\n- [ ] Operation Limits\n- [ ] Traffic Shaping / Rate Limiting\n- [ ] Telemetry (Prometheus, OTLP tracing, JSON logging)\n- [ ] APQ (Automatic Persisted Queries)\n- [ ] Connectors (REST API integration — Router v2 only; GA key is `connectors`, early v2 preview key was `preview_connectors`)\n- [ ] Subscriptions\n- [ ] Header Propagation\n\n## Step 4: Gather Parameters\n\nFor each selected feature, collect required values.\n\n- Use section templates from `templates/{version}/sections/` for `auth`, `cors`, `headers`, `limits`, `telemetry`, and `traffic-shaping`.\n- For Connectors in v2, use `templates/v2/sections/connectors.yaml` as the source.\n- For APQ and subscriptions, copy the snippet from the selected base template (`templates/{version}/production.yaml` or `templates/{version}/development.yaml`) or from references.\n- Only offer Connectors when `ROUTER_VERSION=v2`.\n\n### CORS\n- List of allowed origins (never use `\"*\"` for production)\n\n### JWT Authentication\n- JWKS URL\n- Issuer(s) — note: v1 uses singular `issuer`, v2 uses plural `issuers` array\n\n### Connectors (v2 only)\n- Subgraph name and source name (used as `connectors.sources.<subgraph>.<source>`)\n- Optional `$config` values for connector runtime configuration\n- If migrating old v2 preview config, rename `preview_connectors` to `connectors`\n\n### Operation Limits\nPresent the tuning guidance:\n\n```\nOperation depth limit controls how deeply nested a query can be.\n\n  Router default: 100 (permissive — allows very deep queries)\n  Recommended starting point: 50\n\n  Lower values (15–25) are more secure but will reject legitimate queries\n  in schemas with deep entity relationships or nested fragments.\n  Higher values (75–100) are safer for compatibility but offer less\n  protection against depth-based abuse.\n\n  Tip: Run your router in warn_only mode first to see what depths your\n  real traffic actually uses, then tighten:\n    limits:\n      warn_only: true\n\nWhat max_depth would you like? [default: 50]\n```\n\nThe same principle applies to `max_height`, `max_aliases`, and `max_root_fields`.\n\n### Telemetry\n- OTEL collector endpoint (default: `http://otel-collector:4317`)\n- Prometheus listen port (default: `9090`)\n- Trace sampling rate (default: `0.1` = 10%)\n\n### Traffic Shaping\n- Client-facing rate limit capacity (default: 1000 req/s)\n- Router timeout (default: 60s)\n- Subgraph timeout (default: 30s)\n\n## Step 5: Generate Config\n\n1. Load the correct version template from `templates/{version}/`\n2. Assemble section templates for supported sectioned features, then merge base-template snippets for APQ/subscriptions as needed\n3. Inject user-provided parameters\n4. Add a comment block at the top stating the target version\n\n## Step 6: Validate\n\nRun the [post-generation checklist](validation/checklist.md):\n\n- [ ] All env vars referenced in config are documented\n- [ ] CORS origins don't include wildcards (production)\n- [ ] Rate limiting is on `router:` (client-facing), not only `all:` (subgraph)\n- [ ] JWT uses `issuers` (v2) not `issuer` (v1), or vice versa\n- [ ] If production: introspection=false, sandbox=false, subgraph_errors=false\n- [ ] Health check is enabled\n- [ ] Homepage is disabled (production)\n- [ ] Run: `router config validate <file>` if Router binary is available\n\n## Required Validation Gate (always run)\n\nAfter generating or editing any `router.yaml`, you MUST:\n\n1. Run `validation/checklist.md` and report pass/fail for each checklist item.\n2. Run `router config validate <path-to-router.yaml>` if Router CLI is available.\n3. If Router CLI is unavailable, state that explicitly and still complete the checklist.\n4. Do not present the configuration as final until validation is completed.\n\n## Step 7: Conditional Next Steps Handoff\n\nAfter answering any Apollo Router request (config generation, edits, validation, or general Router guidance), decide whether the user already has runnable prerequisites:\n\n- GraphOS-managed path: `APOLLO_KEY` + `APOLLO_GRAPH_REF`, or\n- Local path: a composed `supergraph.graphql` plus reachable subgraphs\n\nIf prerequisites are already present, do not add extra handoff text.\n\nIf prerequisites are missing or unknown, end with a concise **Next steps** handoff (1-3 lines max) that is skill-first and command-free:\n\n1. Suggest the `rover` skill to compose or fetch the supergraph schema.\n2. Suggest continuing with `apollo-router` once the supergraph is ready to validate and run with the generated config.\n3. If subgraphs are missing, suggest `apollo-server`, `graphql-schema`, and `graphql-operations` skills to scaffold and test.\n\nDo not include raw shell commands in this handoff unless the user explicitly asks for commands.\n\n## Quick Start (skill-first)\n\n1. Use this `apollo-router` skill to generate or refine `router.yaml` for your environment.\n2. Choose a runtime path:\n   - GraphOS-managed path: provide `APOLLO_KEY` and `APOLLO_GRAPH_REF` (no local supergraph composition required).\n   - Local supergraph path: use `graphql-schema` + `apollo-server` to define/run subgraphs, then use `graphql-operations` for smoke tests, then use the `rover` skill to compose or fetch `supergraph.graphql`.\n3. Use this `apollo-router` skill to validate readiness (`validation/checklist.md`) and walk through runtime startup inputs.\n\nDefault endpoint remains `http://localhost:4000` when using standard Router listen defaults.\n\nIf the user asks for executable shell commands, provide them on request. Otherwise keep Quick Start guidance skill-oriented.\n\n## Running Modes\n\n| Mode | Command | Use Case |\n|------|---------|----------|\n| Local schema | `router --supergraph ./schema.graphql` | Development, CI/CD |\n| GraphOS managed | `APOLLO_KEY=... APOLLO_GRAPH_REF=my-graph@prod router` | Production with auto-updates |\n| Development | `router --dev --supergraph ./schema.graphql` | Local development |\n| Hot reload | `router --hot-reload --supergraph ./schema.graphql` | Schema changes without restart |\n\n## Environment Variables\n\n| Variable | Description |\n|----------|-------------|\n| `APOLLO_KEY` | API key for GraphOS |\n| `APOLLO_GRAPH_REF` | Graph reference (`graph-id@variant`) |\n| `APOLLO_ROUTER_CONFIG_PATH` | Path to `router.yaml` |\n| `APOLLO_ROUTER_SUPERGRAPH_PATH` | Path to supergraph schema |\n| `APOLLO_ROUTER_LOG` | Log level (off, error, warn, info, debug, trace) |\n| `APOLLO_ROUTER_LISTEN_ADDRESS` | Override listen address |\n\n## Reference Files\n\n- [Configuration](references/configuration.md) — YAML configuration reference\n- [Headers](references/headers.md) — Header propagation and manipulation\n- [Plugins](references/plugins.md) — Rhai scripts and coprocessors\n- [Telemetry](references/telemetry.md) — Tracing, metrics, and logging\n- [Connectors](references/connectors.md) — Router v2 connectors configuration\n- [Troubleshooting](references/troubleshooting.md) — Common issues and solutions\n- [Divergence Map](divergence-map.md) — v1 ↔ v2 config differences\n- [Validation Checklist](validation/checklist.md) — Post-generation checks\n\n## CLI Reference\n\n```\nrouter [OPTIONS]\n\nOptions:\n  -s, --supergraph <PATH>    Path to supergraph schema file\n  -c, --config <PATH>        Path to router.yaml configuration\n      --dev                  Enable development mode\n      --hot-reload           Watch for schema changes\n      --log <LEVEL>          Log level (default: info)\n      --listen <ADDRESS>     Override listen address\n  -V, --version              Print version\n  -h, --help                 Print help\n```\n\n## Ground Rules\n\n- ALWAYS determine the target Router version (v1 or v2) before generating config\n- DEFAULT to v2 for new projects\n- ALWAYS include a comment block at top of generated config stating the target version\n- ALWAYS use `--dev` mode for local development (enables introspection and sandbox)\n- ALWAYS disable introspection, sandbox, and homepage in production\n- PREFER GraphOS managed mode for production (automatic updates, metrics)\n- USE `--hot-reload` for local development with file-based schemas\n- NEVER expose `APOLLO_KEY` in logs or version control\n- USE environment variables (`${env.VAR}`) for all secrets and sensitive config\n- PREFER YAML configuration over command-line arguments for complex setups\n- TEST configuration changes locally before deploying to production\n- WARN if user enables `allow_any_origin` or wildcard CORS in production\n- RECOMMEND `router config upgrade router.yaml` for v1 → v2 migration instead of regenerating from scratch\n- MUST run `validation/checklist.md` after every router config generation or edit\n- MUST run `router config validate <file>` when Router CLI is available\n- MUST report when CLI validation could not run (for example, Router binary missing)\n- MUST append a brief conditional handoff when runtime prerequisites are missing or unknown\n- MUST make this handoff skill-first and avoid raw shell commands unless the user explicitly requests commands\n- MUST keep Quick Start guidance skill-first and command-free unless the user explicitly requests commands\n- MUST state that Rover is required only for the local supergraph path; GraphOS-managed runtime does not require local Rover composition\n- USE `max_depth: 50` as the default starting point, not 15 (too aggressive) or 100 (too permissive)\n- RECOMMEND `warn_only: true` for initial limits rollout to observe real traffic before enforcing","tags":["apollo","router","skills","apollographql","agent-skills","graphql"],"capabilities":["skill","source-apollographql","skill-apollo-router","topic-agent-skills","topic-apollo","topic-graphql"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/apollographql/skills/apollo-router","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add apollographql/skills","source_repo":"https://github.com/apollographql/skills","install_from":"skills.sh"}},"qualityScore":"0.726","qualityRationale":"deterministic score 0.73 from registry signals: · indexed on github topic:agent-skills · official publisher · 52 github stars · SKILL.md body (11,261 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T00:56:15.268Z","embedding":null,"createdAt":"2026-04-18T22:17:24.680Z","updatedAt":"2026-04-22T00:56:15.268Z","lastSeenAt":"2026-04-22T00:56:15.268Z","tsv":"'-3':882 '/development.yaml':303,414 '/production.yaml':300,410 '/schema.graphql':1093,1117,1127 '/sections':376 '0.1':609 '1':31,118,135,634,765,881,894,968 '10':610 '100':498,532,1537 '1000':620 '15':510,1533 '2':40,68,144,255,643,775,906,983 '2025':214 '25':511 '3':46,156,166,305,661,785,926,1035 '30s':629 '4':360,667,799 '4000':1056 '4317':599 '5':631 '50':507,577,1526 '6':680 '60s':625 '7':812 '75':531 '9090':604 'abus':545 'activ':206 'actual':562 'add':668,864 'address':1180,1183,1272 'aggress':1535 'alias':586 'allow':428,500,1397 'almost':316 'alreadi':835,860 'alway':108,317,755,1283,1301,1315,1326 'announc':152 'answer':818 'api':182,340,1138 'apollo':2,12,34,48,52,66,129,178,204,820,843,845,911,933,972,993,996,1012,1039,1098,1100,1136,1142,1151,1158,1166,1177,1357 'apollo-rout':1,910,971,1038 'apollo-serv':932,1011 'append':1453 'appli':581 'appropri':294 'apq':334,397 'apq/subscriptions':658 'argument':1381 'array':449 'ask':121,258,308,960,1066 'assembl':644 'auth':106,276,378 'authent':314,435 'auto':233,1111 'auto-migr':232 'auto-upd':1110 'automat':335,1340 'avail':751,784,1438 'avoid':1473 'awar':6 'backpressur':186 'backpressure-bas':185 'base':187,295,406,544,654,1353 'base-templ':653 'baselin':218 'binari':749,1450 'block':671,1305 'brief':1455 'browser':320 'c':1247 'capac':618 'case':1088 'chang':1129,1263,1387 'check':279,736,1234 'checklist':687,773,798,1229 'choos':984 'ci/cd':1095 'cli':782,788,1235,1436,1442 'client':321,614,710 'client-fac':613,709 'collect':367 'collector':593,598 'command':892,952,962,1070,1086,1379,1476,1482,1493,1500 'command-fre':891,1492 'command-lin':1378 'comment':670,1304 'common':1217 'compat':536 'complet':796,810 'complex':1383 'compos':852,900,1031 'composit':84,1002,1522 'concis':877 'condit':813,1456 'config':50,98,116,127,237,462,473,633,694,745,778,823,925,1153,1226,1248,1294,1310,1373,1407,1425,1432 'configur':9,41,91,467,804,1186,1189,1214,1252,1376,1386 'connector':107,143,179,338,348,355,388,420,450,465,476,478,1209,1213 'connectors.sources':460 'continu':908 'control':488,1363 'copi':400 'coprocessor':1202 'cor':45,104,315,379,425,697,1402 'correct':19,90,637 'could':1444 'critic':102 'current':139,217 'debug':1175 'dec':213 'decid':161,831 'deep':502,523 'deepli':490 'default':266,283,497,576,595,603,608,619,624,628,1052,1062,1267,1295,1529 'define/run':1015 'deploy':197,1390 'depth':486,543,558,572,1525 'depth-bas':542 'descript':1135 'determin':109,1284 'dev':1115,1253,1317 'develop':261,281,1094,1113,1119,1255,1321,1349 'differ':1227 'disabl':741,1327 'display':167 'diverg':1221 'divergence-map.md':1223 'document':696 'earli':349 'edit':760,825,1428 'enabl':738,1254,1322,1396 'end':149,205,874 'end-of-support':148 'endpoint':594,1053 'enforc':1553 'entiti':524 'env':690 'env.var':1367 'environ':256,982,1132,1365 'error':274,288,733,1172 'everi':1423 'exampl':1448 'execut':81,1068 'exist':196,228 'explicit':793,959,1480,1498 'expos':289,1356 'extra':865 'face':615,711 'fals':729,731,734 'featur':306,310,366,650 'feder':15,67 'fetch':902,1033 'field':590 'file':1185,1246,1352 'file-bas':1351 'final':806 'first':554,889,967,1471,1490 'fragment':528 'free':893,1494 'fresh':176 'front':73 'ga':345 'gate':249,754 'gather':361 'general':828 'generat':18,51,87,114,125,253,632,686,758,824,924,976,1233,1293,1309,1426 'graph':59,846,997,1101,1105,1143,1145,1148 'graph-id':1147 'grapho':840,989,1096,1141,1335,1514 'graphos-manag':839,988,1513 'graphql':16,936,940,1009,1020 'graphql-oper':939,1019 'graphql-schema':935,1008 'ground':1281 'guid':7,169 'guidanc':484,830,1079,1487 'h':1277 'handl':78 'handoff':816,866,880,955,1457,1468 'harden':265 'haven':199 'header':43,357,380,1191,1193 'health':278,735 'height':584 'help':159,1278,1280 'hidden':275 'high':57 'high-perform':56 'higher':529 'homepag':271,739,1331 'hot':1120,1124,1258,1345 'hot-reload':1123,1257,1344 'id':1149 'implementin':47 'includ':312,701,949,1302 'incompat':97 'info':1174,1268 'initi':1545 'inject':662 'input':1051 'instead':1414 'integr':341 'introspect':267,284,728,1323,1328 'issu':1218 'issuer':438,444,448,718,721 'item':774 'json':332 'jwks':436 'jwt':105,313,434,716 'keep':1076,1484 'key':346,352,844,994,1099,1137,1139,1358 'legaci':147 'legitim':518 'less':539 'level':1170,1266 'like':575 'limit':323,327,381,480,487,566,617,705,1546 'line':883,1380 'list':426 'listen':601,1061,1179,1182,1269,1271 'load':292,635 'local':849,1000,1004,1089,1118,1320,1348,1388,1510,1520 'localhost':1055 'log':291,333,1168,1169,1208,1264,1265,1360 'lower':508 'lts':140,212 'make':1466 'manag':841,990,1097,1336,1515 'manipul':1196 'map':1222 'max':571,583,585,588,884,1524 'merg':652 'metric':1206,1342 'migrat':201,219,234,469,1413 'miss':871,930,1451,1462 'mode':553,1084,1085,1256,1318,1337 'must':764,1419,1429,1439,1452,1465,1483,1501 'my-graph':1103 'name':454,457 'need':660 'nest':491,527 'never':430,1355 'new':1299 'next':814,878 'note':203,440 'observ':1549 'offer':419,538 'old':470 'open':282 'oper':322,479,485,941,1021 'option':461,1238,1239 'orient':1082 'origin':429,698,1399 'otel':592,597 'otel-collector':596 'otherwis':1075 'otlp':330 'overload':188 'overrid':1181,1270 'paramet':362,666 'pass/fail':770 'patch':154 'path':842,850,987,991,1006,1154,1155,1161,1162,1242,1249,1512 'perform':58 'permiss':499,1539 'persist':336 'pick':165,170,190 'plan':80 'plugin':1197 'plural':447 'plus':854 'point':506,1531 'port':602 'post':685,1232 'post-gener':684,1231 'prefer':1334,1374 'prerequisit':838,858,869,1460 'present':481,802,861 'preview':351,354,472,475 'principl':580 'print':1275,1279 'prod':1106 'product':259,262,433,703,727,742,1108,1333,1339,1392,1404 'project':1300 'prometheus':329,600 'propag':358,1194 'protect':189,540 'provid':665,992,1071 'queri':79,337,493,503,519 'quick':168,963,1077,1485 'rate':326,607,616,704 'raw':950,1474 're':174 'reachabl':855 'readi':917,1044 'real':560,1550 'recommend':138,222,504,1405,1540 'ref':847,998,1102,1144 'refer':417,1146,1184,1190,1236 'referenc':692 'references/configuration.md':1187 'references/connectors.md':1210 'references/headers.md':1192 'references/plugins.md':1198 'references/telemetry.md':1204 'references/troubleshooting.md':1216 'refin':978 'regener':1416 'reject':517 'relationship':525 'reload':1121,1125,1259,1346 'remain':1054 'renam':474 'report':769,1440 'req/s':621 'request':822,1074,1481,1499 'requir':141,277,368,752,1003,1506,1519 'respons':83 'rest':181,339 'restart':1131 'rhai':1199 'rollout':1547 'root':589 'rout':42 'router':3,13,23,35,49,53,60,92,130,136,145,236,244,342,422,496,549,622,708,744,748,777,781,787,821,829,912,973,1040,1060,1091,1107,1114,1122,1152,1159,1167,1178,1211,1237,1287,1406,1424,1431,1435,1449 'router.yaml':229,239,762,979,1157,1251,1409 'rover':897,1028,1504,1521 'rule':1282 'run':11,37,65,547,682,743,756,766,776,921,1083,1420,1430,1446 'runnabl':837 'runtim':466,986,1049,1459,1516 'rust':63 'safer':534 'sampl':606 'sandbox':269,286,730,1325,1329 'scaffold':944 'schema':99,521,905,937,1010,1090,1128,1165,1245,1262,1354 'scratch':1418 'script':1200 'secret':1370 'section':103,371,645,649 'secur':153,264,514 'security-harden':263 'see':556 'select':120,242,257,307,365,405 'sensit':1372 'server':934,1013 'set':32 'setup':1384 'sever':101 'shape':325,386,612 'shell':951,1069,1475 'singular':443 'sit':71 'skill':29,86,888,898,942,966,974,1029,1041,1081,1470,1489 'skill-apollo-router' 'skill-first':887,965,1469,1488 'skill-ori':1080 'smoke':1023 'snippet':402,656 'solut':1220 'sourc':395,456 'source-apollographql' 'standard':1059 'start':175,505,964,1078,1486,1530 'startup':1050 'state':675,791,1311,1502 'step':117,254,304,359,630,679,811,815,879 'still':795 'store':240 'strong':221 'subgraph':76,273,453,626,715,732,856,928,1016 'subscript':356,399 'subsequ':251 'suggest':895,907,931 'supergraph':17,39,69,904,915,1001,1005,1092,1116,1126,1160,1164,1241,1244,1511 'supergraph.graphql':853,1034 'support':151,207,648 'sure':158 'target':111,134,677,1286,1313 'telemetri':328,382,591,1203 'templat':252,296,298,301,372,374,407,408,412,639,641,646,655 'templates/v2/sections/connectors.yaml':392 'test':946,1024,1385 'text':290,867 'tighten':565 'timeout':623,627 'tip':223,546 'top':674,1307 'topic-agent-skills' 'topic-apollo' 'topic-graphql' 'trace':331,605,1176,1205 'traffic':324,385,561,611,1551 'traffic-shap':384 'troubleshoot':1215 'true':569,1543 'tune':483 'unavail':790 'unknown':873,1464 'unless':956,1477,1495 'updat':1112,1341 'upgrad':238,1408 'url':437 'use':27,177,370,391,431,442,446,458,563,717,969,1007,1018,1026,1036,1058,1087,1316,1343,1364,1523 'user':123,164,664,834,958,1065,1395,1479,1497 'user-provid':663 'v':1273 'v1':93,191,246,441,722,1224,1289,1411 'v1.x':24,146,209 'v2':95,171,247,343,350,390,424,445,451,471,719,1212,1225,1291,1297,1412 'v2.10':211 'v2.x':26,137 'valid':681,746,753,779,808,826,919,1043,1228,1433,1443 'validation/checklist.md':688,767,1045,1230,1421 'valu':369,463,509,530 'var':691 'variabl':1133,1134,1366 'variant':1150 'versa':725 'version':5,89,112,119,131,245,299,302,375,409,413,423,638,642,678,1274,1276,1288,1314,1362 'version-awar':4 'version-correct':88 'vice':724 'walk':1047 'want':184 'warn':551,567,1173,1393,1541 'watch':1260 'whether':832 'wildcard':702,1401 'without':1130 'would':573 'written':61 'yaml':20,1188,1375 'yes':318 'yet':202","prices":[{"id":"1f3f3ba5-e894-46c4-b295-48dc4ed3ce1f","listingId":"1a4157ed-76eb-490d-8c93-f68f7e73e443","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"apollographql","category":"skills","install_from":"skills.sh"},"createdAt":"2026-04-18T22:17:24.680Z"}],"sources":[{"listingId":"1a4157ed-76eb-490d-8c93-f68f7e73e443","source":"github","sourceId":"apollographql/skills/apollo-router","sourceUrl":"https://github.com/apollographql/skills/tree/main/skills/apollo-router","isPrimary":false,"firstSeenAt":"2026-04-18T22:17:24.680Z","lastSeenAt":"2026-04-22T00:56:15.268Z"}],"details":{"listingId":"1a4157ed-76eb-490d-8c93-f68f7e73e443","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"apollographql","slug":"apollo-router","github":{"repo":"apollographql/skills","stars":52,"topics":["agent-skills","apollo","graphql"],"license":"mit","html_url":"https://github.com/apollographql/skills","pushed_at":"2026-04-16T16:01:23Z","description":"Apollo GraphQL Agent Skills","skill_md_sha":"823bfde0dab1c96c66c2634edb55c58feed9d564","skill_md_path":"skills/apollo-router/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/apollographql/skills/tree/main/skills/apollo-router"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"apollo-router","license":"MIT","description":"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.","compatibility":"Linux/macOS/Windows. Requires a composed supergraph schema from Rover or GraphOS."},"skills_sh_url":"https://skills.sh/apollographql/skills/apollo-router"},"updatedAt":"2026-04-22T00:56:15.268Z"}}