Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

apollo-ios

Skill by apollographql

Apollo iOS guides you through building Apple-platform apps with Apollo iOS, a strongly typed GraphQL client for Swift. It covers Swift Package Manager setup, code generation, ApolloClient configuration and SwiftUI operations.

  • Score 77
  • 136 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install apollo-ios

Built from the published package, never by AI.

git clone --depth 1 https://github.com/apollographql/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/apollo-ios ~/.claude/skills/apollo-ios

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install apollo-ios in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Apollo iOS is a skill that guides an AI assistant through building Apple-platform applications with Apollo iOS, a strongly typed GraphQL client for Swift. It covers adding the SDK through Swift Package Manager, writing an apollo-codegen-config.json file, and running code generation from GraphQL operations and a schema. It also covers configuring an ApolloClient with auth, interceptors and caching.

The skill describes writing queries, mutations and subscriptions from SwiftUI view models, and writing tests against generated Mock types. It lists support for iOS 15+, macOS 12+, tvOS 15+, watchOS 8+ and visionOS 1+. It is aimed at Swift developers using Apollo iOS v2 or later with Swift Concurrency.

Written from the project's SKILL.md and checked against it.

What it can do

  • Add Apollo iOSGuides adding Apollo iOS to a Swift Package Manager or Xcode project.
  • Codegen configurationWrites apollo-codegen-config.json and runs code generation.
  • ApolloClient setupConfigures a client with auth, interceptors and caching.
  • SwiftUI operationsWrites queries, mutations and subscriptions from SwiftUI views.
  • CachingCovers in-memory and SQLite cache choices and @typePolicy cache keys.
  • InterceptorsCovers auth token, logging, retry and APQ interceptors.
  • SubscriptionsCovers HTTP multipart and WebSocket subscription transports.
  • Testing with mocksWrites tests against generated Mock types and ApolloTestSupport.

What you need

  • Swift 6.1 or later
  • Xcode 16 or later
  • apollo-ios-cli installed
  • Swift Package Manager

Try asking

  • Add Apollo iOS to my Xcode project and set up codegen
  • Write a SwiftUI view model that runs a GraphQL query with async/await
  • Configure an ApolloClient with an auth interceptor that refreshes on 401

Good to know

  • Targets Apollo iOS v2 and later. v1.x and v0.x are legacy.
  • CocoaPods and Carthage are not the recommended install method.
  • Codegen should not be run from an Xcode Run Script build phase.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/apollo-ios/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Bash(apollo-ios-cli:*) Bash(swift:*) Bash(xcodebuild:*) Bash(git:*) Read Write Edit Glob Grep WebFetch

Alternatives to apollo-ios

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

apollo-ios: common questions

Which Apple platforms does Apollo iOS support in this skill?

The skill lists iOS 15+, macOS 12+, tvOS 15+, watchOS 8+ and visionOS 1+. It also requires Swift 6.1+ and Xcode 16+.

Should I run code generation on every Xcode build?

No. The skill says not to wire apollo-ios-cli generate into an Xcode Run Script build phase because it slows compile times. Regenerate manually or through a script alias.

Are generated test mocks enabled by default?

No. The canonical config ships with output.testMocks set to none. The skill says to enable it when the first test needing Mock types is written.

How do I install apollo-ios?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is apollo-ios free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is apollo-ios safe to use?

It scores 77 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to apollo-ios?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

apollo-ios Install

Add to stack

Loading.