graphql-architect

graphql-architect is an agent for Claude Code from davepoon/buildwithclaude. It costs 43 tokens per session (332 once invoked), scanned A, original, MIT.

A GraphQL API architecture agent for designing schemas and resolvers, connecting services, and handling real-time subscriptions. GraphQL is an API approach where clients request the fields they need.

In plain words
What is it for?
Use it to design schemas, implement resolvers and DataLoader batching, set up federation or schema stitching, add subscriptions, pagination, authorization, rate limits, and query analysis.
Why use it?
It helps prevent inefficient database access, define consistent API contracts, control complex queries, and connect multiple services.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agents-development-architecture plugin — 12 agents shipped together

Good fit Use it to design schemas, implement resolvers and DataLoader batching, set up…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/davepoon/buildwithclaude/graphql-architect
About the project

davepoon/buildwithclaude is a discovery hub and plugin marketplace for Claude Code extensions, including agents, commands, hooks, skills, plugins, MCP servers, and marketplace collections. Developers use it to browse, search, and find installation instructions for tools that extend Claude-related workflows. Catalogue entries include agents, plugins, commands, and skills from this collection.

davepoon/buildwithclaude · 3,419 stars · on GitHub · buildwithclaude.com

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.

Clone the repo
git clone --depth 1 https://github.com/davepoon/buildwithclaude

Made for: Claude Code.

Or install agents-development-architecture, the plugin that ships this one along with the rest of its 12 agents.

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/agents/davepoon/buildwithclaude/graphql-architect.svg)](https://agentmods.dev/agents/davepoon/buildwithclaude/graphql-architect)
Your own site
<a href="https://agentmods.dev/agents/davepoon/buildwithclaude/graphql-architect"><img src="https://agentmods.dev/badge/agents/davepoon/buildwithclaude/graphql-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 332 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.00043 $0.00332
Opus 5 $0.00022 $0.00166
Sonnet 5 $0.00009 $0.00066
Haiku 4.5 $0.00004 $0.00033

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

plugins/agents-development-architecture/agents/graphql-architect.md · 37 lines

What it actually says

You are a GraphQL architect specializing in schema design and query optimization.

When invoked:

  1. Design comprehensive GraphQL schemas with proper types and interfaces
  2. Implement resolver optimization using DataLoader patterns for N+1 prevention
  3. Set up federation and schema stitching for microservice architectures
  4. Create subscription implementations for real-time data streaming
  5. Establish query complexity analysis and rate limiting for API protection
  6. Design error handling patterns and partial response strategies

Process:

  • Apply schema-first design approach for consistent API development
  • Solve N+1 query problems with DataLoader pattern and batch loading
  • Implement field-level authorization for granular access control
  • Use fragments for code reuse and query optimization
  • Monitor query performance and complexity continuously
  • Design pagination patterns using cursor-based and offset-based approaches
  • Use Apollo Server or similar GraphQL server implementations
  • Focus on developer experience and API discoverability

Provide:

  • GraphQL schema with clear type definitions, interfaces, and unions
  • Resolver implementations with DataLoader for efficient data fetching
  • Subscription setup for real-time features with proper error handling
  • Query complexity scoring rules and rate limiting configuration
  • Error handling patterns with detailed error responses
  • Client-side query examples with fragments and variables
  • Federation setup for microservice schema composition
  • Pagination implementation with cursor and offset patterns
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. 3d ago First seen · 37 lines · 43 tokens per session scan A 7cd8f84cd6e7

Subscribe to this mod's changes

graphql-architect is an agent published in the GitHub repository davepoon/buildwithclaude (3,419 stars, last pushed 2d ago), licensed MIT. It adds 43 tokens to every session and 332 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-09-03.

Related

Other agents, from other repositories

api-tester

Use this agent for comprehensive API testing including performance testing, load testing, and contract testing. This agent specializes in ensuring APIs are robust, performant, and meet specifications before deployment. Examples:\n\n \nContext: Testing API performance under load.

ccplugins/awesome-claude-code-plugins · 0 tokens

do-debugger

Autonomous Durable Objects debugger. Automatically detects and fixes DO configuration errors, runtime issues, and common mistakes without user intervention.

secondsky/claude-skills · 28 tokens

do-pattern-implementer

Autonomous production pattern implementer for Durable Objects. Analyzes existing DO code and adds advanced patterns like TTL cleanup, gradual deployments, RPC metadata, and performance optimizations.

secondsky/claude-skills · 41 tokens

r2-setup-automator

Use this agent when the user asks to "set up R2", "create R2 bucket", "configure R2 binding", "add R2 to my project", or needs complete R2 setup automation. Examples.

secondsky/claude-skills · 52 tokens

api-integration-specialist

Use this agent when you need to design and implement internal API architecture, developer experience, and API infrastructure for B2B applications. This agent specializes in REST API design, GraphQL implementation, API documentation, SDK development, and developer portal creation. Handles API performance optimization…

ccplugins/awesome-claude-code-plugins · 0 tokens

be-developer

Backend Developer - API implementation using patterns, RLS enforcement.

bybren-llc/safe-agentic-workflow · 15 tokens