graphql-docs

graphql-docs is a skill for Claude Code, Codex from pledgeandgrow/pledge-skills. It costs 119 tokens per session (741 once invoked), scanned A, original, MIT.

A reference guide for GraphQL, a language that lets applications request exactly the data they need from an API. It covers data schemas, queries, changes, real-time updates, validation, and how requests are fulfilled.

In plain words
What is it for?
Use it to design GraphQL schemas, write queries and mutations, implement resolvers, add subscriptions, validate requests, or plan pagination and federation.
Why use it?
It helps the coding agent understand the rules for designing and using GraphQL APIs. This reduces errors in schemas, requests, data fetching, and API responses.

Skill for Claude CodeCodex

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

Good fit Use it to design GraphQL schemas, write queries and mutations, implement resolvers, add subscriptions, validate requests, or plan pagination and federation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pledgeandgrow/pledge-skills/graphql
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 pledgeandgrow/pledge-skills --skill graphql
Clone the repo
git clone --depth 1 https://github.com/pledgeandgrow/pledge-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-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/graphql/github.svg)](https://agentmods.dev/skills/pledgeandgrow/pledge-skills/graphql)
Your own site
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/graphql"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/graphql/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-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/graphql"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/graphql.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 741 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.00119 $0.00741
Opus 5 $0.00060 $0.00370
Sonnet 5 $0.00024 $0.00148
Haiku 4.5 $0.00012 $0.00074

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

Security

Grade A, and why

graphql-docs 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 9d 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/SKILL.md · 70 lines

How it starts

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

GraphQL

GraphQL is a query language for APIs and a runtime for fulfilling those queries with existing data. It provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need, makes it easier to evolve APIs over time, and enables powerful developer tools.

Specification: spec.graphql.org/draft


Quick Reference

Topic File
Introduction & Core Concepts (type system, queries, versionless evolution) introduction.md
Schemas & Types (SDL, object types, scalars, enums, interfaces, unions, input types, directives) schema.md
Queries (fields, arguments, aliases, variables, fragments, inline fragments, directives) queries.md
Mutations (create, update, delete, input objects, serial execution) mutations.md
Subscriptions (real-time, pub/sub, WebSocket transport, scaling) subscriptions.md
Validation (validation rules, error detection, common invalid queries) validation.md
Execution (resolvers, context, async, scalar coercion, list resolvers) execution.md
Response Format (data, errors, extensions, request vs field errors, status codes) response.md
Introspection (__schema, __type, querying the schema itself) introspection.md
Best Practices (thinking in graphs, HTTP serving, auth, pagination, errors, caching, security, federation, schema governance) best-practices.md

Core Concepts

  • Schema: The type system that describes all available data and operations
  • Query: Read operation that traverses fields to fetch exactly what's needed
  • Mutation: Write operation that modifies data (executed serially)
  • Subscription: Long-lived operation for real-time data updates
  • Resolver: Function that provides data for each field
  • Type System: Scalars, objects, enums, interfaces, unions, input types, lists, non-null
  • SDL: Schema Definition Language — language-agnostic way to describe schemas
  • Introspection: Ability to query the schema itself via __schema and __type

Read the full file on GitHub · 70 lines

Files

What ships with it

10 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. 9d ago First seen · 70 lines · 119 tokens per session scan A 00eafddbc8cb

Subscribe to this mod's changes

graphql-docs is a skill published in the GitHub repository pledgeandgrow/pledge-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 119 tokens to every session and 741 once invoked, about $0.0006 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-08-31.

Related

Other skills, from other repositories

graphql-expert

Expert-level GraphQL API development with schema design, resolvers, and subscriptions. Use when the user mentions API, apollo, schema, resolvers, subscriptions, or relay, or when the task involves Schema Design, Queries and Mutations, Apollo Server 4, or DataLoader for N+1 Prevention.

personamanagmentlayer/pcl · 67 tokens

graphql-api-development

AI-powered GraphQL API design, implementation, and optimization. Covers schema-first design, resolver architecture, query optimization with DataLoader for N+1 prevention, mutation patterns with idempotency, real-time subscriptions, Apollo Federation for distributed graphs, security hardening (depth limiting, rate…

JPeetz/agent-skills · 183 tokens

graphql-api-development

Comprehensive guide for building GraphQL APIs including schema design, queries, mutations, subscriptions, resolvers, type system, error handling, authentication, authorization, caching strategies, and production best practices.

manutej/luxor-claude-marketplace · 42 tokens

pipefy-introspection

Use this skill when you need to discover GraphQL type shapes, mutation signatures, enum values, or execute arbitrary GraphQL as a fallback. This is the first fallback tier (Tier 2) when dedicated MCP tools fail or don't exist for an operation. 7 MCP tools.

pipefy/ai-toolkit · 61 tokens

graphql-apis

Operational skill for GraphQL APIs: schema-first design, resolvers, N+1 prevention, authz in the graph, and client query discipline.

alivirgo/Major-AI-Skills · 34 tokens

GraphQL Contract Testing

Contract testing for GraphQL APIs including schema breaking change detection, query compatibility testing, and federated schema validation.

PramodDutta/qaskills · 27 tokens