Apollo Kotlin
OfficialGenerates Kotlin code from Apollo GraphQL schema definitions, streamlining backend development and API integration.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add apollographql/skills --skill apollo-kotlin -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
apollographql
Matched to the vendor's own GitHub organisation.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill passed all 6 checks. We read its files at one commit and looked for the things that make a skill dangerous to run — not for whether it works.
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No undeclared network calls: passed
Makes no network calls.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned apollographql/skills at 322da824b2.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 322da824b2
- Manifest
- skills/apollo-kotlin/SKILL.md
- Scanned
- 7 files, 330 lines
About this skill
What it does
This skill enables AI agents to interact with GraphQL APIs using Kotlin, allowing them to fetch, mutate, and subscribe to data efficiently. It provides native support for Apollo Client's core features within the Kotlin ecosystem, streamlining backend integration for intelligent applications.
When to use it
- Building backend services that require type-safe GraphQL queries and mutations in a Kotlin environment.
- Integrating AI agents with existing GraphQL schemas to retrieve real-time data or trigger actions.
- Developing mobile or server-side applications where Apollo Kotlin client libraries are already part of the stack.
- Automating workflows that depend on complex nested data structures managed via GraphQL resolvers.
Key capabilities
- Native Kotlin implementation of Apollo Client functionality.
- Support for queries, mutations, and subscriptions over GraphQL endpoints.
- Automatic type generation from GraphQL schemas to ensure compile-time safety.
- Caching strategies and network optimization built into the client layer.
Example prompts
- "Generate a Kotlin function using Apollo Client to fetch user profiles based on an ID."
- "Create a mutation script in Kotlin to update product inventory levels via our GraphQL API."
- "Set up a subscription listener in Kotlin to receive real-time notifications when new orders are placed."
Tips & gotchas
Ensure your GraphQL schema is properly defined and accessible, as the skill relies on valid endpoint configurations. Be mindful of network latency when handling subscriptions, as they require persistent connections that may impact agent response times if not managed correctly.