Back to Plugins

Apollo Skills

Apollo GraphQL agent skills for Claude Code — Apollo Client, Server, Federation, Connectors, Router, Rover CLI, iOS, Kotlin, and the Apollo MCP server. Covers schema design, query optimization, and GraphQL best practices.

developmentkotlingraphqlagent
By Apollo GraphQL
8210Updated 3 days agoShellMIT

Installation

/plugin install apollo-skills@claude-plugins-official

How to install

  1. Open Claude Code in your terminal
  2. Run the installation command above
  3. The plugin will be enabled automatically
  4. Use the plugin's features in your Claude Code sessions

Apollo GraphQL Agent Skills

License: MIT 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/skills

The CLI guides you through an interactive installation:

  1. Select skills - Choose which skills to install
  2. Select agents - Pick target agents (Claude Code, Codex, Cursor, Gemini CLI, Goose, OpenCode)
  3. Installation scope - Project (committed with your code) or Global
  4. 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/skills

Then, install the plugin:

/plugin install apollo-skills@apollo-marketplace

Once installed, skills are available as namespaced slash commands:

Slash CommandDescription
/apollo-skills:apollo-clientApollo Client 4.x for React — queries, mutations, caching, local state
/apollo-skills:apollo-connectorsApollo Connectors — integrate REST APIs into GraphQL
/apollo-skills:apollo-iosApollo iOS — GraphQL client for Swift (iOS, macOS, tvOS, watchOS, visionOS)
/apollo-skills:apollo-kotlinApollo Kotlin — GraphQL client for Android and Kotlin
/apollo-skills:apollo-mcp-serverApollo MCP Server — connect AI agents with GraphQL APIs
/apollo-skills:apollo-serverApollo Server 4.x — schemas, resolvers, auth, plugins
/apollo-skills:graphql-operationsGraphQL operations — queries, mutations, fragments
/apollo-skills:graphql-schemaGraphQL schema design — types, naming, pagination, errors
/apollo-skills:roverRover CLI — schema management and local supergraph development
/apollo-skills:rust-best-practicesRust best practices — idiomatic Rust following Apollo conventions
/apollo-skills:skill-creatorSkill 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 pathWhat you get
gh skill install apollographql/skills <name>Latest tagged release
gh skill install apollographql/skills <name> --pin v1.0.0Pinned 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-connectors

Use when:

  • Connecting REST APIs to a GraphQL supergraph
  • Writing @source and @connect directives
  • 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 @key directives
  • 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-federation

Use 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 @key patterns (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-server

Use 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-router

Use 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-server

Use 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-client

Use 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-ios

Use when:

  • Adding Apollo iOS to a Swift Package Manager or Xcode project
  • Configuring apollo-codegen-config.json and running code generation
  • Configuring an `

View source on GitHub