Apollo GraphQL Agent Skills
A collection of skills for AI coding agents working with Apollo GraphQL tools and technologies.
Apollo Skills follow the Agent Skills format and are available on skills.sh.
Installation
Install skills using the Skills CLI:
npx skills add apollographql/skillsThe CLI guides you through an interactive installation:
- Select skills - Choose which skills to install
- Select agents - Pick target agents (Claude Code, Codex, Cursor, Gemini CLI, Goose, OpenCode)
- Installation scope - Project (committed with your code) or Global
- Installation method - Symlink (recommended) or Copy
◇ Found 11 skills
│
◆ Select skills to install
│ ◼ apollo-client
│ ◼ apollo-connectors
│ ◼ apollo-server
│ ○ ...
└Claude Code Plugin
You can also install skills as a Claude Code plugin:
First, add the marketplace:
/plugin marketplace add apollographql/skillsThen, install the plugin:
/plugin install apollo-skills@apollo-marketplaceOnce installed, skills are available as namespaced slash commands:
| Slash Command | Description |
|---|---|
/apollo-skills:apollo-client | Apollo Client 4.x for React — queries, mutations, caching, local state |
/apollo-skills:apollo-connectors | Apollo Connectors — integrate REST APIs into GraphQL |
/apollo-skills:apollo-ios | Apollo iOS — GraphQL client for Swift (iOS, macOS, tvOS, watchOS, visionOS) |
/apollo-skills:apollo-kotlin | Apollo Kotlin — GraphQL client for Android and Kotlin |
/apollo-skills:apollo-mcp-server | Apollo MCP Server — connect AI agents with GraphQL APIs |
/apollo-skills:apollo-server | Apollo Server 4.x — schemas, resolvers, auth, plugins |
/apollo-skills:graphql-operations | GraphQL operations — queries, mutations, fragments |
/apollo-skills:graphql-schema | GraphQL schema design — types, naming, pagination, errors |
/apollo-skills:rover | Rover CLI — schema management and local supergraph development |
/apollo-skills:rust-best-practices | Rust best practices — idiomatic Rust following Apollo conventions |
/apollo-skills:skill-creator | Skill creator — guide for creating new Apollo skills |
GitHub CLI
You can also install skills with the GitHub CLI using gh skill (preview):
# Install skills into the current project for Claude Code
gh skill install apollographql/skills --agent claude-code
# Install at user scope (available everywhere)
gh skill install apollographql/skills --agent claude-code --scope user
# Pin to a specific release (skipped during updates so it won't auto-upgrade)
gh skill install apollographql/skills --pin v1.0.0 --agent claude-code
# Preview skills before installing
gh skill preview apollographql/skills--agent supports many hosts beyond Claude Code (Cursor, Codex, Gemini CLI, GitHub Copilot, and more); run gh skill install --help for the full list.
Releases
Releases are tagged with semver and published automatically whenever a content change is merged to main. The full list lives at github.com/apollographql/skills/releases.
| Install path | What you get |
|---|---|
gh skill install apollographql/skills <name> | Latest tagged release |
gh skill install apollographql/skills <name> --pin v1.0.0 | Pinned to a specific release (skipped during updates) |
npx skills add apollographql/skills@<name> | Latest content from main (no tag) |
Claude Code plugin (claude plugin install) | Latest plugin version (auto-updates via claude plugin update) |
If you need stability, pin via gh skill install … --pin vX.Y.Z. Pinned skills are skipped during gh skill upgrade, so you upgrade deliberately. For the freshest content, the other paths track main HEAD directly.
Available Skills
apollo-connectors
Write Apollo Connectors schemas to integrate REST APIs into GraphQL.
Install:
npx skills add apollographql/skills@apollo-connectorsUse when:
- Connecting REST APIs to a GraphQL supergraph
- Writing
@sourceand@connectdirectives - Implementing entity resolvers with batching
- Validating connector schemas with
rover
Categories covered:
- Selection mapping grammar
- HTTP methods and headers
- Variable interpolation (
$args,$this,$config) - Entity patterns and
@keydirectives - Batch requests with
@listSize
Examples:
- "Connect my REST API to my GraphQL schema"
- "Write a connector for this OpenAPI spec"
- "Add entity resolvers with batching for my users endpoint"
References: SKILL.md · Grammar · Methods · Variables · Entities · Validation · Troubleshooting
apollo-federation
Author Apollo Federation subgraph schemas with entities, sharing, and cross-subgraph field resolution.
Install:
npx skills add apollographql/skills --skill apollo-federationUse when:
- Creating new subgraph schemas for a federated supergraph
- Defining or modifying entities with
@key - Sharing types/fields across subgraphs with
@shareable - Working with federation directives (
@external,@requires,@provides,@override) - Troubleshooting composition errors
Categories covered:
- Entity definition and
@keypatterns (compound, multiple, differing) - Reference resolvers and computed fields
- Value types with
@shareable - Field migration with
@override(including progressive rollout) - Entity interfaces with
@interfaceObject - Common composition errors and fixes
Examples:
- "Create a federated subgraph for my products service"
- "Add a computed field that requires data from another subgraph"
- "Migrate this field from one subgraph to another"
References: SKILL.md · Directives · Schema Patterns · Composition
apollo-mcp-server
Configure and use Apollo MCP Server to connect AI agents with GraphQL APIs.
Install:
npx skills add apollographql/skills@apollo-mcp-serverUse when:
- Setting up Apollo MCP Server for Claude or other AI agents
- Defining MCP tools from GraphQL operations
- Using introspection tools (introspect, search, validate, execute)
- Troubleshooting MCP server connectivity issues
Categories covered:
- Server configuration (endpoints, schemas, headers)
- Built-in tools and compact notation
- Operation sources (files, collections, persisted queries)
- Authentication and security
- Health checks and debugging
Examples:
- "Set up Apollo MCP Server for my GraphQL endpoint"
- "Configure MCP tools from my GraphQL operations"
- "Debug MCP server connection issues"
References: SKILL.md · Tools · Configuration · Troubleshooting
apollo-router
Configure and run Apollo Router for federated GraphQL supergraphs.
Install:
npx skills add apollographql/skills@apollo-routerUse when:
- Setting up Apollo Router to run a supergraph
- Configuring routing, headers, or CORS
- Implementing custom plugins (Rhai scripts or coprocessors)
- Configuring telemetry and observability
- Troubleshooting Router performance or connectivity issues
Categories covered:
- Installation and quick start
- Router configuration (YAML)
- Header propagation and manipulation
- CORS and authentication
- Rhai scripts and coprocessors
- Telemetry (tracing, metrics, logging)
Examples:
- "Set up Apollo Router for my supergraph"
- "Configure CORS for my Router"
- "Add header propagation for authentication"
References: SKILL.md · Configuration · Headers · Plugins · Telemetry · Troubleshooting
apollo-server
Build GraphQL servers with Apollo Server 4.x, including schemas, resolvers, authentication, and plugins.
Install:
npx skills add apollographql/skills@apollo-serverUse when:
- Setting up a new Apollo Server project
- Writing resolvers or defining GraphQL schemas
- Implementing authentication or authorization
- Creating plugins or custom data sources
- Troubleshooting Apollo Server errors or performance issues
Categories covered:
- Quick start setup (standalone and Express)
- Schema definition and type system
- Resolver patterns and best practices
- Context and authentication
- Plugins and lifecycle hooks
- Data sources and DataLoader
- Error handling and formatting
Examples:
- "Create an Apollo Server with user authentication"
- "Write resolvers for my GraphQL schema"
- "Add a custom plugin to log all queries"
References: SKILL.md · Resolvers · Context & Auth · Plugins · Data Sources · Error Handling · Troubleshooting
apollo-client
Build React applications with Apollo Client 4.x for GraphQL data management, caching, and local state.
Install:
npx skills add apollographql/skills@apollo-clientUse when:
- Setting up Apollo Client in a React project
- Writing GraphQL queries or mutations with hooks
- Configuring caching or cache policies
- Managing local state with reactive variables
- Troubleshooting Apollo Client errors or performance issues
Categories covered:
- Quick start setup (install, client, provider, query)
- useQuery and useLazyQuery hooks
- useMutation with optimistic UI
- InMemoryCache and type policies
- Reactive variables and local state
- Error handling and error links
- Performance optimization
Examples:
- "Set up Apollo Client in my React app"
- "Implement optimistic UI for my mutation"
- "Configure cache policies for my queries"
References: SKILL.md · Queries · Mutations · Caching · State Management · Error Handling · Troubleshooting
apollo-ios
Build Apple-platform applications with Apollo iOS, the strongly-typed GraphQL client for Swift (iOS, macOS, tvOS, watchOS, visionOS).
Install:
npx skills add apollographql/skills@apollo-iosUse when:
- Adding Apollo iOS to a Swift Package Manager or Xcode project
- Configuring
apollo-codegen-config.jsonand running code generation - Configuring an `
…