Apollo Rover CLI is designed for managing GraphQL schemas, federation, and local supergraph development. It is ideal for developers working with Apollo GraphOS, enabling them to publish, fetch, and validate subgraph schemas quickly.
$ npx skills add https://github.com/apollographql/skills --skill roverApollo Rover CLI is a command-line tool for managing GraphQL schemas and developing federated supergraphs locally. It enables developers to publish subgraph schemas to Apollo GraphOS, fetch existing schemas, and validate schema composition without leaving the terminal. Rover integrates with Apollo Federation workflows, supporting entity definitions, directive validation, and composition error checking. This skill is essential for teams building distributed GraphQL architectures who need fast, reliable schema operations as part of their development pipeline.
Install Rover using npm, Curl, or Windows PowerShell commands provided in the documentation.
Publish and fetch subgraph schemas
Validate schemas before deployment
Run local supergraph development workflows
Integrate with CI/CD for automated checks
$ npx skills add https://github.com/apollographql/skills --skill rovergit clone https://github.com/apollographql/skillsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I need help with Apollo Rover CLI to [manage/publish/validate] a [subgraph schema/federated graph] for [COMPANY] in the [INDUSTRY] sector. Here's the current context: [DATA]. Generate the exact commands I need to run.
```bash # Publishing a subgraph schema to Apollo GraphOS rover subgraph publish my-graph@current \ --schema ./schema.graphql \ --name products \ --routing-url https://api.example.com/products \ --token $APOLLO_GRAPHOS_KEY # Validating schema changes locally rover subgraph check my-graph@development \ --schema ./schema.graphql \ --name users # Fetching the latest supergraph schema rover graph fetch my-graph@production ``` **Next Steps:** 1. Install Rover CLI: `curl -sSL https://rover.apollo.dev/nix/latest | sh` 2. Authenticate: `rover config auth --api-key $APOLLO_GRAPHOS_KEY` 3. Run `rover graph list` to verify your graph ID
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan