Backend Guide
lightly-ai/lightly-studio
Read before adding or changing backend code in lightlystudio - FastAPI routes, services, resolvers, SQLModel tables, or database access.
Guide for authoring Apollo Federation subgraph schemas. An agent skill from apollographql/skills.
$ npx skills add apollographql/skills --skill apollo-federation -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install apollographql/skills apollo-federation --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/apollographql/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/apollo-federation .claude/skills/apollo-federation && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "apollo-federation" agent skill from https://github.com/apollographql/skills/tree/main/skills/apollo-federation into .claude/skills/apollo-federation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "apollo-federation", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/apollographql/skills/tree/main/skills/apollo-federationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add apollographql/skills --skill apollo-federation -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install apollographql/skills apollo-federation --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/apollographql/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/apollo-federation .agents/skills/apollo-federation && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "apollo-federation" agent skill from https://github.com/apollographql/skills/tree/main/skills/apollo-federation into .agents/skills/apollo-federation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "apollo-federation", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add apollographql/skills --skill apollo-federation -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install apollographql/skills apollo-federation --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/apollographql/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/apollo-federation .cursor/skills/apollo-federation && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "apollo-federation" agent skill from https://github.com/apollographql/skills/tree/main/skills/apollo-federation into .cursor/skills/apollo-federation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "apollo-federation", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/apollographql/skills.git --path skills/apollo-federation--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add apollographql/skills --skill apollo-federation -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install apollographql/skills apollo-federation --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/apollographql/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/apollo-federation .gemini/skills/apollo-federation && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "apollo-federation" agent skill from https://github.com/apollographql/skills/tree/main/skills/apollo-federation into .gemini/skills/apollo-federation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "apollo-federation", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install apollographql/skills apollo-federationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add apollographql/skills --skill apollo-federation -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/apollographql/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/apollo-federation .github/skills/apollo-federation && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "apollo-federation" agent skill from https://github.com/apollographql/skills/tree/main/skills/apollo-federation into .github/skills/apollo-federation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "apollo-federation", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add apollographql/skills --skill apollo-federation -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install apollographql/skills apollo-federation --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/apollographql/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/apollo-federation .opencode/skills/apollo-federation && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "apollo-federation" agent skill from https://github.com/apollographql/skills/tree/main/skills/apollo-federation into .opencode/skills/apollo-federation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "apollo-federation", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
apollo-federationGuide for authoring Apollo Federation subgraph schemas. An agent skill from apollographql/skills.
Apollo Federation is an agent skill from apollographql/skills. Guide for authoring Apollo Federation subgraph schemas. Use this skill when: (1) creating new subgraph schemas for a federated supergraph, (2) defining or modifying entities with @key, (3) sharing types/fields across subgraphs with @shareable, (4) working with federation directives (@external, @requires, @provides, @override, @inaccessible), (5) troubleshooting composition errors, (6) any task involving federation schema design patterns.
Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/composition.md`, `references/directives.md` and `references/schema-patterns.md`). Compatibility notes: Works with any Federation 2.x compatible subgraph library (Apollo Server, GraphQL Yoga, etc.)
It sits in Backend & APIs, covering GraphQL. The repository describes itself as: Apollo GraphQL Agent Skills. The licence is MIT.
Read from SKILL.md and the folder at commit 5f02fcf. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
Bash(rover:*)ReadWriteEditGlobGrepFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are graphql).
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
specs.apollo.devAlso links to:
apollographql.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Works with any Federation 2.x compatible subgraph library (Apollo Server, GraphQL Yoga, etc.)
From compatibility in the SKILL.md frontmatter.
Apollo Federation loads about 1k tokens when it runs, and up to ~9.7k if it reads all its reference files. Until then it costs about 115 tokens; SKILL.md has 260 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from apollographql/skills at commit 5f02fcf, republished under its MIT licence (© apollographql). 260 words, ~1,009 tokens.
.claude/skills/apollo-federation/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Apollo Federation enables composing multiple GraphQL APIs (subgraphs) into a unified supergraph.
Every Federation 2 subgraph must opt-in via @link:
extend schema
@link(url: "https://specs.apollo.dev/federation/v2.12",
import: ["@key", "@shareable", "@external", "@requires", "@provides"])Import only the directives your subgraph uses. The version shown (v2.12) is
illustrative — check the Federation changelog
for currently supported versions before copying it verbatim.
A subgraph's
@linkversion is a floor, not the composition version — see Federation versions for the full explanation.
| Directive | Purpose | Example |
|---|---|---|
@key | Define entity with unique key | type Product @key(fields: "id") |
@shareable | Allow multiple subgraphs to resolve field | type Position @shareable { x: Int! } |
@external | Reference field from another subgraph | weight: Int @external |
@requires | Computed field depending on external fields | shippingCost: Int @requires(fields: "weight") |
@provides | Conditionally resolve external field | @provides(fields: "name") |
@override | Migrate field to this subgraph | @override(from: "Products") |
@inaccessible | Hide from API schema | internalId: ID! @inaccessible |
@interfaceObject | Add fields to entity interface | type Media @interfaceObject |
Detailed documentation for specific topics:
type Product @key(fields: "id") {
id: ID!
name: String!
price: Int
}# Products subgraph
type Product @key(fields: "id") {
id: ID!
name: String!
price: Int
}
# Reviews subgraph
type Product @key(fields: "id") {
id: ID!
reviews: [Review!]!
averageRating: Float
}type Product @key(fields: "id") {
id: ID!
size: Int @external
weight: Int @external
shippingEstimate: String @requires(fields: "size weight")
}type Money @shareable {
amount: Int!
currency: String!
}type Product @key(fields: "id", resolvable: false) {
id: ID!
}@link directive@shareable without ensuring all subgraphs return identical values for that field@key with single ID field for simple entity identificationrover supergraph compose to validate composition locallyrover subgraph check to validate against production supergraph© apollographql, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in skills/apollo-federation of apollographql/skills.
Open the folder on GitHubat commit 5f02fcf
Apollo Federation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Apollo Federation this skillapollographql/skills | 117 | — | ~1k | Automated safety check: Pass | MIT | |
| Backend Guidelightly-ai/lightly-studio | 896 | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Ar Io Gateway Operatorar-io/ar-io-node | 127 | — | ~8.8k | Automated safety check: Notes | AGPL-3.0 | |
| Add Resolverdevlint/GitWand | 180 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Foundationdb Advanced LayersSnowBankSDK/foundationdb-dotnet-client | 158 | — | ~3.4k | Automated safety check: Pass | BSD-3-Clause | |
| Datajunction QueryDataJunction/dj | 162 | — | ~2k | Automated safety check: Pass | MIT |
lightly-ai/lightly-studio
Read before adding or changing backend code in lightlystudio - FastAPI routes, services, resolvers, SQLModel tables, or database access.
ar-io/ar-io-node
Operate any AR.IO node deployment — architecture, daily ops, diagnostics, and recurring pitfalls that apply to every operator.
devlint/GitWand
Add a format-specific resolver to GitWand core. An agent skill from devlint/GitWand.
SnowBankSDK/foundationdb-dotnet-client
Advanced engineering for sophisticated FoundationDB layers with the .NET client (FoundationDB.Client / SnowBank) — the cluster model and transaction lifecycle (proxies, resolvers, tlogs, storage…
DataJunction/dj
Activate this skill for querying DataJunction (DJ) — finding nodes, generating SQL, fetching metric data, exploring lineage, visualizing results — via the DJ UI, MCP tools, or REST/GraphQL APIs.
PostHog/posthog
Audit already-implemented Data warehouse import sources for endpoints, schemas, and tables the vendor's API offers but we never wired up.
apollographql/skills
Build and iterate on an Apollo Connectors subgraph for a GraphOS supergraph from a REST API, with or without an OpenAPI or Swagger spec, in a dedicated git workspace that records what the API…
apollographql/skills
Guide for building React applications with Apollo Client 4.x.
apollographql/skills
DEPRECATED: superseded by the graphos-factory skill (npx skills add apollographql/skills@graphos-factory), which builds and maintains a Connectors subgraph from a REST API with recorded decisions…
apollographql/skills
Guide for building Apple-platform applications with Apollo iOS, the strongly-typed GraphQL client for Swift.
apollographql/skills
Guide for writing Apollo Router native Rust plugins. An agent skill from apollographql/skills.
apollographql/skills
Guide for building GraphQL servers with Apollo Server 5.x. An agent skill from apollographql/skills.
Categories
Guide for authoring Apollo Federation subgraph schemas. An agent skill from apollographql/skills. Apollo Federation is an agent skill from apollographql/skills. Guide for authoring Apollo Federation subgraph schemas.
Apollo Federation fits situations like: creating new subgraph schemas for a federated supergraph; modifying entities with @key; sharing types/fields across subgraphs with @shareable; working with federation directives (@external.
Run `npx skills add apollographql/skills --skill apollo-federation -a claude-code`. Or copy the skill folder (skills/apollo-federation in apollographql/skills) into .claude/skills/apollo-federation in your project. Claude Code loads it when a task matches its description.
Run `npx skills add apollographql/skills --skill apollo-federation -a codex`. Or copy the skill folder (skills/apollo-federation in apollographql/skills) into .agents/skills/apollo-federation in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add apollographql/skills --skill apollo-federation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/apollo-federation, .gemini/skills/apollo-federation, .github/skills/apollo-federation and .opencode/skills/apollo-federation in your project.
SKILL.md names no scripts, command-line tools or credentials: Apollo Federation is instructions for the agent only. Its frontmatter pre-approves these tools: Bash(rover:*), Read, Write, Edit, Glob, Grep. Compatibility (from SKILL.md): Works with any Federation 2.x compatible subgraph library (Apollo Server, GraphQL Yoga, etc.).
SKILL.md names 2 domains. In commands or code: specs.apollo.dev; the agent is likely to contact it when it follows the instructions. As links in the text: apollographql.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Apollo Federation is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Apollo Federation: Backend Guide (lightly-ai/lightly-studio, 896 stars), Ar Io Gateway Operator (ar-io/ar-io-node, 127 stars), Add Resolver (devlint/GitWand, 180 stars) and Foundationdb Advanced Layers (SnowBankSDK/foundationdb-dotnet-client, 158 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
apollographql (a GitHub organization) maintains it in apollographql/skills, which has 117 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 7, 2026.
Source: apollographql/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.