Agent skill

Graphql

by davila7 in davila7/claude-code-templates

GraphQL gives clients exactly the data they need - no more, no less.

MITAuto-check passedBackend & APIs

Install Graphql

skills CLI
$ npx skills add davila7/claude-code-templates --skill graphql -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davila7/claude-code-templates graphql --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/development/graphql .claude/skills/graphql && rm -rf skills-src

Use ~/.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/

Facts

Skill name
graphql
GitHub stars
32k
Used in
4 other repos
Token cost
~625 tokens
SKILL.md length
225 words
Files
1
Skills in repo
477
Repo updated
First seen
Licence
MIT

At a glance

GraphQL gives clients exactly the data they need - no more, no less.

  • Tasks that involve GraphQL
  • SKILL.md covers Capabilities, Patterns, Anti-Patterns and ⚠️ Sharp Edges, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Graphql is an agent skill from davila7/claude-code-templates. GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.

Its SKILL.md is about 630 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering GraphQL. It works with GraphQL and Apollo GraphQL. The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.

When your agent uses it

  • Tasks that involve GraphQL

Example prompts

  • “/graphql”

What it can do on your machine

Read from SKILL.md and the folder at commit 4c82aba. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Graphql loads about 625 tokens when it runs. Until then it costs about 127 tokens; SKILL.md has 225 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~127
When it runs · the whole SKILL.md, loaded when a task matches
~625

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from davila7/claude-code-templates at commit 4c82aba, republished under its MIT licence (© davila7). 225 words, ~625 tokens.

Download SKILL.mdSave it as .claude/skills/graphql/SKILL.md (or your agent's skills folder).
name
graphql
description
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.
source
vibeship-spawner-skills (Apache 2.0)

GraphQL

You're a developer who has built GraphQL APIs at scale. You've seen the N+1 query problem bring down production servers. You've watched clients craft deeply nested queries that took minutes to resolve. You know that GraphQL's power is also its danger.

Your hard-won lessons: The team that didn't use DataLoader had unusable APIs. The team that allowed unlimited query depth got DDoS'd by their own clients. The team that made everything nullable couldn't distinguish errors from empty data. You've l

Capabilities

  • graphql-schema-design
  • graphql-resolvers
  • graphql-federation
  • graphql-subscriptions
  • graphql-dataloader
  • graphql-codegen
  • apollo-server
  • apollo-client
  • urql

Patterns

Schema Design

Type-safe schema with proper nullability

DataLoader for N+1 Prevention

Batch and cache database queries

Apollo Client Caching

Normalized cache with type policies

Anti-Patterns

❌ No DataLoader
❌ No Query Depth Limiting
❌ Authorization in Schema

⚠️ Sharp Edges

IssueSeveritySolution
Each resolver makes separate database queriescritical# USE DATALOADER
Deeply nested queries can DoS your servercritical# LIMIT QUERY DEPTH AND COMPLEXITY
Introspection enabled in production exposes your schemahigh# DISABLE INTROSPECTION IN PRODUCTION
Authorization only in schema directives, not resolvershigh# AUTHORIZE IN RESOLVERS
Authorization on queries but not on fieldshigh# FIELD-LEVEL AUTHORIZATION
Non-null field failure nullifies entire parentmedium# DESIGN NULLABILITY INTENTIONALLY
Expensive queries treated same as cheap onesmedium# QUERY COST ANALYSIS
Subscriptions not properly cleaned upmedium# PROPER SUBSCRIPTION CLEANUP

Works well with: backend, postgres-wizard, nextjs-app-router, react-patterns

© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in cli-tool/components/skills/development/graphql of davila7/claude-code-templates.

Open the folder on GitHubat commit 4c82aba

Used in 4 other repositories

We found 13 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in davila7/claude-code-templates, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Graphql 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.

Graphql compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Graphql this skilldavila7/claude-code-templates32k4 repos~625Automated safety check: PassMIT
GraphQL Operations with CodegenChrisWiles/claude-code-showcase6.1k3 repos~1.5kAutomated safety check: PassNone
Apollo Clientapollographql/skills116—~1.9kAutomated safety check: PassMIT
Apollo Serverapollographql/skills116—~1.8kAutomated safety check: PassMIT
Apollo Routerapollographql/skills116—~5.4kAutomated safety check: PassMIT
Neo4j Graphql Skillneo4j-contrib/neo4j-skills114—~3.8kAutomated safety check: NotesMIT

Similar skills

  • GraphQL Operations with Codegen

    ChrisWiles/claude-code-showcase

    Sets the rules for writing GraphQL queries and mutations in .gql files, running codegen, and using generated Apollo hooks with proper error and loading handling.

    6.1k GitHub starsUsed in 3 repos~1.5k tokens
    Backend & APIsAuto-check passed
  • Apollo Client

    apollographql/skills

    Guide for building React applications with Apollo Client 4.x.

    116 GitHub stars~1.9k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Apollo Server

    apollographql/skills

    Guide for building GraphQL servers with Apollo Server 5.x. An agent skill from apollographql/skills.

    116 GitHub stars~1.8k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Apollo Router

    apollographql/skills

    Version-aware guide for configuring and running Apollo Router for federated GraphQL supergraphs.

    116 GitHub stars~5.4k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Neo4j Graphql Skill

    neo4j-contrib/neo4j-skills

    Build and configure a GraphQL API backed by Neo4j using @neo4j/graphql v7 (current) or v5 (LTS).

    114 GitHub stars~3.8k tokensUpdated yesterday
    Backend & APIsAuto-check: notes
  • Graphql

    aiskillstore/marketplace

    GraphQL gives clients exactly the data they need - no more, no less.

    430 GitHub starsUsed in 4 repos~6.5k tokens
    Backend & APIsAuto-check passed

More from davila7/claude-code-templates

All 477 skills in this repo
  • Perplexity Web Search

    davila7/claude-code-templates

    Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.

    32k GitHub starsUsed in 12 repos~3.5k tokens
    Auto-check: notes
  • Neuropixels Data Analysis

    davila7/claude-code-templates

    Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.

    32k GitHub starsUsed in 10 repos~2.8k tokens
    Auto-check passed
  • Scientific Venue Templates

    davila7/claude-code-templates

    Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.

    32k GitHub starsUsed in 9 repos~5.1k tokens
    Auto-check: notes
  • Brand Voice Content Creator

    davila7/claude-code-templates

    Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.

    32k GitHub starsUsed in 2 repos~1.9k tokens
    Auto-check passed
  • CAPA Officer

    davila7/claude-code-templates

    Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.

    32k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Fda Consultant Specialist

    davila7/claude-code-templates

    Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.

    32k GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed

Categories

Questions about Graphql

What does Graphql do?

GraphQL gives clients exactly the data they need - no more, no less. Graphql is an agent skill from davila7/claude-code-templates. GraphQL gives clients exactly the data they need - no more, no less.

When should I use Graphql?

Graphql fits situations like: tasks that involve GraphQL.

How do I install Graphql in Claude Code?

Run `npx skills add davila7/claude-code-templates --skill graphql -a claude-code`. Or copy the skill folder (cli-tool/components/skills/development/graphql in davila7/claude-code-templates) into .claude/skills/graphql in your project. Claude Code loads it when a task matches its description.

How do I install Graphql in Codex?

Run `npx skills add davila7/claude-code-templates --skill graphql -a codex`. Or copy the skill folder (cli-tool/components/skills/development/graphql in davila7/claude-code-templates) into .agents/skills/graphql in your project. Codex loads it when a task matches its description.

Can I use Graphql in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill graphql -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/graphql, .gemini/skills/graphql, .github/skills/graphql and .opencode/skills/graphql in your project.

What does Graphql need to run?

SKILL.md names no scripts, command-line tools or credentials: Graphql is instructions for the agent only.

Does Graphql access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Graphql safe to install?

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.

What licence does Graphql use?

Graphql is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Graphql use?

About 625 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Graphql?

Skills that share tags, products or a category with Graphql: GraphQL Operations with Codegen (ChrisWiles/claude-code-showcase, 6.1k stars), Apollo Client (apollographql/skills, 116 stars), Apollo Server (apollographql/skills, 116 stars) and Apollo Router (apollographql/skills, 116 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Graphql?

davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,432 GitHub stars. The repository holds 477 skills in this directory. The repository was last updated on October 7, 2026.

Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.