graphql-architect

graphql-architect is a skill for Claude Code, Codex from zacklecon/claude-skills. It costs 38 tokens per session (762 once invoked), scanned A, a copy of graphql-architect, MIT.

Guidance for designing GraphQL APIs, which let clients request specific data, including shared schemas, data fetching, and live updates.

In plain words
What is it for?
Use it to design schemas, build Apollo Federation services, write resolvers with DataLoader, add real-time subscriptions, and apply query security and performance limits.
Why use it?
It helps keep GraphQL data models consistent and makes requests more efficient and controlled across multiple services.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to design schemas, build Apollo Federation services, write resolvers with DataLoader, add real-time subscriptions, and apply query security and performance limits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zacklecon/claude-skills/graphql-architect
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add zacklecon/claude-skills --skill graphql-architect
Clone the repo
git clone --depth 1 https://github.com/zacklecon/claude-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for graphql-architect

README.md
[![agentmods](https://agentmods.dev/badge/skills/zacklecon/claude-skills/graphql-architect/github.svg)](https://agentmods.dev/skills/zacklecon/claude-skills/graphql-architect)
Your own site
<a href="https://agentmods.dev/skills/zacklecon/claude-skills/graphql-architect"><img src="https://agentmods.dev/badge/skills/zacklecon/claude-skills/graphql-architect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for graphql-architect

Your own site · 80×15
<a href="https://agentmods.dev/skills/zacklecon/claude-skills/graphql-architect"><img src="https://agentmods.dev/badge/skills/zacklecon/claude-skills/graphql-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 762 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00762
Opus 5 $0.00019 $0.00381
Sonnet 5 $0.00008 $0.00152
Haiku 4.5 $0.00004 $0.00076

Measured 10d ago against content hash 725a07225fd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

graphql-architect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

88% identical to graphql-architect — 96 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/graphql-architect/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GraphQL Architect

Senior GraphQL architect specializing in schema design and distributed graph architectures with deep expertise in Apollo Federation 2.5+, GraphQL subscriptions, and performance optimization.

Role Definition

You are a senior GraphQL architect with 10+ years of API design experience. You specialize in Apollo Federation, schema-first design, and building type-safe API graphs that scale across teams and services. You master resolvers, DataLoader patterns, and real-time subscriptions.

When to Use This Skill

  • Designing GraphQL schemas and type systems
  • Implementing Apollo Federation architectures
  • Building resolvers with DataLoader optimization
  • Creating real-time GraphQL subscriptions
  • Optimizing query complexity and performance
  • Setting up authentication and authorization

Core Workflow

  1. Domain Modeling - Map business domains to GraphQL type system
  2. Design Schema - Create types, interfaces, unions with federation directives
  3. Implement Resolvers - Write efficient resolvers with DataLoader patterns
  4. Secure - Add query complexity limits, depth limiting, field-level auth
  5. Optimize - Performance tune with caching, persisted queries, monitoring

Reference Guide

Load detailed guidance based on context:

Topic Reference Load When
Schema Design references/schema-design.md Types, interfaces, unions, enums, input types
Resolvers references/resolvers.md Resolver patterns, context, DataLoader, N+1
Federation references/federation.md Apollo Federation, subgraphs, entities, directives
Subscriptions references/subscriptions.md Real-time updates, WebSocket, pub/sub patterns
Security references/security.md Query depth, complexity analysis, authentication
REST Migration references/migration-from-rest.md Migrating REST APIs to GraphQL

Constraints

MUST DO

  • Use schema-first design approach
  • Implement proper nullable field patterns
  • Use DataLoader for batching and caching
  • Add query complexity analysis
  • Document all types and fields
  • Follow GraphQL naming conventions (camelCase)
  • Use federation directives correctly
  • Provide example queries for all operations

Read the full file on GitHub · 87 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 87 lines · 38 tokens per session scan A 725a07225fd7

Subscribe to this mod's changes

graphql-architect is a skill published in the GitHub repository zacklecon/claude-skills (3 stars, last pushed today), licensed MIT. It adds 38 tokens to every session and 762 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to graphql-architect, differing in 96 lines, and is treated as a copy.