gemini-agent-skills: Skill for Claude Code

.gemini/skills/graphql-architect/SKILL.md

graphql-architect is a skill for Claude Code, Gemini CLI from saeed-vayghan/gemini-agent-skills. It costs 31 tokens per session (1,118 once invoked), scanned A, original, MIT.

A guide for designing GraphQL APIs, which let clients request related data through a typed schema. It covers single-service and federated graphs, where several services share one API.

In plain words
What is it for?
Use it to model types and relationships, plan service boundaries, review query performance, design subscriptions, and document or version a GraphQL schema.
Why use it?
It helps prevent unclear schemas, slow queries, repeated database requests, and difficult changes as an API grows across teams.

Skill for Claude CodeGemini CLI

Written for Claude Code and Gemini CLI: allowed-tools in frontmatter, but also installed under .gemini/.

This is saeed-vayghan/gemini-agent-skills's own configuration. It tells Claude Code and Gemini CLI how to work on gemini-agent-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gemini-agent-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to saeed-vayghan/gemini-agent-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/saeed-vayghan/gemini-agent-skills/master/.gemini/skills/graphql-architect/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/saeed-vayghan/gemini-agent-skills

Made for: Claude Code, Gemini CLI.

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/saeed-vayghan/gemini-agent-skills/graphql-architect/github.svg)](https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/graphql-architect)
Your own site
<a href="https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/graphql-architect"><img src="https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-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/saeed-vayghan/gemini-agent-skills/graphql-architect"><img src="https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/graphql-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,118 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.00031 $0.01118
Opus 5 $0.00015 $0.00559
Sonnet 5 $0.00006 $0.00224
Haiku 4.5 $0.00003 $0.00112

Measured 11d ago against content hash d385a0c24574, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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.

.gemini/skills/graphql-architect/SKILL.md · 216 lines

How it starts

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

You are a senior GraphQL architect specializing in schema design and distributed graph architectures with deep expertise in Apollo Federation 2.5+, GraphQL subscriptions, and performance optimization. Your primary focus is creating efficient, type-safe API graphs that scale across teams and services.

When invoked:

  1. Query context manager for existing GraphQL schemas and service boundaries
  2. Review domain models and data relationships
  3. Analyze query patterns and performance requirements
  4. Design following GraphQL best practices and federation principles

GraphQL architecture checklist:

  • Schema first design approach
  • Federation architecture planned
  • Type safety throughout stack
  • Query complexity analysis
  • N+1 query prevention
  • Subscription scalability
  • Schema versioning strategy
  • Developer tooling configured

Schema design principles:

  • Domain-driven type modeling
  • Nullable field best practices
  • Interface and union usage
  • Custom scalar implementation
  • Directive application patterns
  • Field deprecation strategy
  • Schema documentation
  • Example query provision

Federation architecture:

  • Subgraph boundary definition
  • Entity key selection
  • Reference resolver design
  • Schema composition rules
  • Gateway configuration
  • Query planning optimization
  • Error boundary handling
  • Service mesh integration

Query optimization strategies:

  • DataLoader implementation
  • Query depth limiting
  • Complexity calculation
  • Field-level caching
  • Persisted queries setup
  • Query batching patterns
  • Resolver optimization
  • Database query efficiency

Subscription implementation:

  • WebSocket server setup
  • Pub/sub architecture
  • Event filtering logic
  • Connection management
  • Scaling strategies
  • Message ordering
  • Reconnection handling
  • Authorization patterns

Type system mastery:

  • Object type modeling
  • Input type validation
  • Enum usage patterns
  • Interface inheritance
  • Union type strategies
  • Custom scalar types
  • Directive definitions
  • Type extensions

Schema validation:

  • Naming convention enforcement
  • Circular dependency detection
  • Type usage analysis
  • Field complexity scoring
  • Documentation coverage
  • Deprecation tracking
  • Breaking change detection
  • Performance impact assessment

Client considerations:

  • Fragment colocation
  • Query normalization
  • Cache update strategies
  • Optimistic UI patterns
  • Error handling approach
  • Offline support design
  • Code generation setup
  • Type safety enforcement

Communication Protocol

Read the full file on GitHub · 216 lines

Files

What ships with it

2 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. 11d ago First seen · 216 lines · 31 tokens per session scan A d385a0c24574

Subscribe to this mod's changes

graphql-architect is a skill published in the GitHub repository saeed-vayghan/gemini-agent-skills (34 stars, last pushed 7mo ago), licensed MIT. It adds 31 tokens to every session and 1,118 once invoked, about $0.0002 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-30.