graphql

graphql is a skill for Claude Code, Codex from neverinfamous/memory-journal-mcp. It costs 50 tokens per session (412 once invoked), scanned A, original, MIT.

Guidance for designing GraphQL APIs, which let clients request the exact data they need from a server. It covers schemas, data changes, validation, and efficient database access.

In plain words
What is it for?
Use it to design GraphQL schemas, write resolvers, handle mutations, define input and result types, and configure batching and caching for nested data.
Why use it?
It helps keep API business logic organized and prevents common performance problems, such as making many repeated database requests for related data.

Skill for Claude CodeCodex

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

Good fit Use it to design GraphQL schemas, write resolvers, handle mutations, define input and result types, and configure batching and caching for nested data.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/neverinfamous/memory-journal-mcp/graphql"><img src="https://agentmods.dev/badge/skills/neverinfamous/memory-journal-mcp/graphql.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 412 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.00050 $0.00412
Opus 5 $0.00025 $0.00206
Sonnet 5 $0.00010 $0.00082
Haiku 4.5 $0.00005 $0.00041

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

Security

Grade A, and why

graphql 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 10d 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 · 31 lines

What it actually says

GraphQL Best Practices

Standards for designing and implementing GraphQL APIs.

1. Schema Design

  • Business Logic Isolation: Do not write business logic inside resolvers. Resolvers should only extract arguments and pass them to dedicated service/domain layer functions.
  • Nullability: Be mindful of non-null (!) fields. Only mark fields as non-null if you are absolutely certain they will never be missing, as a single null in a non-null field will bubble up and destroy the entire parent object.
  • Custom Scalars: Use custom scalars (e.g., DateTime, Email) to enforce type constraints at the schema level instead of raw String.

2. Mutations

  • Input Types: Use a single, required input object argument for mutations instead of passing many individual arguments.
  • Payload Types: Return a specific payload type (e.g., UpdateUserPayload) that includes the mutated object and any potential operation-specific errors, rather than just returning the object.

3. Performance (N+1 Problem)

  • DataLoader: ALWAYS use Facebook's dataloader pattern (or equivalent) to batch and cache database requests for nested relationships. Never loop and await queries inside child resolvers.
  • Query Complexity: Implement query complexity limits or depth limits on your GraphQL server to prevent malicious or accidental resource exhaustion.

4. Error Handling

  • Use the standard errors array for unexpected exceptions.
  • For business logic errors (e.g., "Email already taken"), model them as Union types in your schema (e.g., union CreateUserResult = User | EmailAlreadyTakenError) so clients can handle them gracefully.
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. 10d ago First seen · 31 lines · 50 tokens per session scan A dee4c59ccb9c

Subscribe to this mod's changes

graphql is a skill published in the GitHub repository neverinfamous/memory-journal-mcp (20 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 412 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-08-30.

Related

Other skills, from other repositories

api-designer

Designs RESTful APIs with endpoint naming, versioning strategies (URL path, header-based), pagination (offset and cursor), error response schemas, and OpenAPI conventions. Use when the user asks about REST API design, creating endpoints, URL structure, API versioning, status codes, Swagger, or OpenAPI specs.

nguyenthienthanh/aura-frog · 68 tokens

framework-expert

Unified framework expertise bundle. Lazy-loads relevant framework patterns (React, Vue, Angular, Next.js, Node.js, Python, Laravel, Go, Flutter, React Native, TypeScript) based on detected tech stack.

nguyenthienthanh/aura-frog · 48 tokens

migration-helper

Guide safe database and code migrations with zero-downtime strategies.

nguyenthienthanh/aura-frog · 16 tokens

scalable-thinking

Design for scale while keeping implementation simple (KISS).

nguyenthienthanh/aura-frog · 15 tokens

decile-hub-connector

How augment-it (and any Lossless VC-client workspace) talks to the Decile Hub API — the first per-client custom connector. Use whenever pulling from or pushing to Decile Hub (people, organizations, pipeline prospects, deal shares, deal memos, funds/entities, portfolio companies, capital accounts, notes, tasks, files…

lossless-group/lossless-agent-skills · 239 tokens

api-design

Design or review an HTTP/REST/GraphQL API for versioning, pagination, error shapes, idempotency, auth, status codes, cache headers, and breaking-change management. Use when asked to "design an API", "shape the endpoints", "design the schema", "add a new endpoint", "review this API", or when building/modifying a public…

open-gsd/gsd-pi · 91 tokens