graphql-api-design

graphql-api-design is a skill for Claude Code, Codex from Omar-Obando/qwen-orchestrator. It costs 56 tokens per session (7,615 once invoked), scanned A, original, MIT.

A guide to designing and building GraphQL APIs, which let clients request exactly the data they need through a defined schema. It covers schemas, resolvers, subscriptions, authentication, authorization, errors, and pagination.

In plain words
What is it for?
It helps create GraphQL schemas and queries, implement resolvers, avoid repeated database lookups, add real-time subscriptions, secure requests, paginate results, and evolve APIs safely.
Why use it?
It helps prevent common API design problems such as inefficient database requests, unclear access rules, inconsistent errors, and difficult schema changes.

Skill for Claude CodeCodex

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { User, Post, Comment } from '../types';.

Good fit It helps create GraphQL schemas and queries, implement resolvers, avoid repeated database lookups, add real-time subscriptions, secure requests, paginate results, and evolve APIs safely.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Omar-Obando/qwen-orchestrator
agentmods
npx agentmods add skills/omar-obando/qwen-orchestrator/graphql-api-design

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-api-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/omar-obando/qwen-orchestrator/graphql-api-design/github.svg)](https://agentmods.dev/skills/omar-obando/qwen-orchestrator/graphql-api-design)
Your own site
<a href="https://agentmods.dev/skills/omar-obando/qwen-orchestrator/graphql-api-design"><img src="https://agentmods.dev/badge/skills/omar-obando/qwen-orchestrator/graphql-api-design/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-api-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/omar-obando/qwen-orchestrator/graphql-api-design"><img src="https://agentmods.dev/badge/skills/omar-obando/qwen-orchestrator/graphql-api-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,615 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 original No closer match found 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.00056 $0.07615
Opus 5 $0.00028 $0.03807
Sonnet 5 $0.00011 $0.01523
Haiku 4.5 $0.00006 $0.00762

Measured 8d ago against content hash 6948c9db61cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

graphql-api-design 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 8d 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.

skills/graphql-api-design/SKILL.md · 1,194 lines

How it starts

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

GraphQL API Design Skill — GraphQL Best Practices

Overview

This skill provides comprehensive guidance for designing and implementing GraphQL APIs, including schema design with SDL, resolver implementation, DataLoader patterns for N+1 prevention, subscriptions, Apollo Federation, error handling, authentication, authorization, pagination, and production best practices. Based on GraphQL specification, Apollo Server documentation, and production best practices.

When to Use

Use this skill when:

  • Designing GraphQL schemas with SDL (Schema Definition Language)
  • Implementing GraphQL type definitions (Object, Input, Interface, Union, Enum, Scalar)
  • Creating GraphQL queries and mutations
  • Setting up GraphQL subscriptions with WebSocket or Server-Sent Events
  • Implementing resolvers (object, field, class-based)
  • Preventing N+1 queries with DataLoader pattern
  • Handling GraphQL errors with GraphQLError and formatted errors
  • Validating input with custom directives and schema directives
  • Authenticating requests with JWT and context
  • Authorizing access with directives and middleware
  • Versioning GraphQL schemas (URL, header, schema evolution)
  • Implementing pagination with Relay spec and cursor-based approaches
  • Adding filtering with input types and arguments
  • Implementing sorting with enum and input types
  • Building search with full-text and fuzzy matching
  • Batching requests with Apollo Link Batch and schema directives
  • Caching with HTTP cache and Redis integration
  • Optimizing performance with persisted queries and response caching
  • Analyzing query complexity with graphql-query-complexity
  • Limiting query depth with graphql-depth-limit
  • Configuring introspection for production environments
  • Choosing between SDL-first and code-first approaches
  • Implementing Apollo Federation for microservices
  • Using Apollo Schema Stitching for legacy API integration
  • Configuring Apollo Server, Express GraphQL, or GraphQL Yoga
  • Setting up GraphQL Mesh for REST/GraphQL federation
  • Establishing production best practices and monitoring

Read the full file on GitHub · 1,194 lines

Files

What ships with it

1 file 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. 8d ago First seen · 1,194 lines · 56 tokens per session scan A 6948c9db61cc

Subscribe to this mod's changes

graphql-api-design is a skill published in the GitHub repository Omar-Obando/qwen-orchestrator (49 stars, last pushed 2mo ago), licensed MIT. It adds 56 tokens to every session and 7,615 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.