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.
npx skills add alivirgo/Major-AI-Skills --skill graphql-apisgit clone --depth 1 https://github.com/alivirgo/Major-AI-SkillsWrote 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.
[](https://agentmods.dev/skills/alivirgo/major-ai-skills/graphql-apis)<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/graphql-apis"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/graphql-apis/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.
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/graphql-apis"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/graphql-apis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00038 | $0.02151 |
| Opus 5.5 | $0.00015 | $0.00860 |
| Sonnet 5.5 | $0.00008 | $0.00430 |
| Haiku 4.5 | $0.00004 | $0.00215 |
Grade A, and why
graphql-apis 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 20d 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.
How it starts
The opening of the file, as written. The whole thing — 221 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GraphQL APIs AI Skill Guide (Claude)
Overview & Engine Architecture
GraphQL exposes a typed schema (types, queries, mutations, subscriptions) where clients select fields. The runtime parses → validates → executes resolvers. Naive per-field DB access causes N+1 query fan-out. Agents design schemas for product use cases, enforce authz in resolvers/fields, batch with per-request DataLoaders, paginate lists, and harden public graphs with depth/complexity limits and optional persisted/allowlisted operations.
┌─────────────────────────────────────────────────────────────┐
│ GraphQL request path │
│ │
│ Client operation (+ variables, operation name) │
│ ├── parse / validate (depth · complexity · auth directives)│
│ └── execute field resolvers │
│ │
│ Context (per request) │
│ ├── user / auth principal │
│ ├── DataLoaders (request-scoped only) │
│ └── services / @prisma / DB │
│ │
│ Hardening │
│ └── pagination · error masking · persisted queries (opt) │
└─────────────────────────────────────────────────────────────┘
When to use / when not to
Use when
- Designing or evolving GraphQL schemas; implementing resolvers without N+1.
- Adding authn/authz around sensitive types/fields; setting pagination and cost limits.
- Pairing GraphQL with
@express,@nodejs,@nextjs(Route Handlers), or other HTTP hosts.
Do not use when
- A simple CRUD REST surface is enough and the team has no GraphQL clients →
@expressREST. - The work is only ORM migrations/schema →
@prisma/@postgresql. - Someone asks to expose introspection + unlimited depth on a public internet API with no auth → refuse; add limits and authz first.
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.
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.
- 20d ago Changed · +106 lines · +17 tokens per session 85c220d5b652
- 2mo ago Changed · -13 tokens per session 934a947a35d9
- 2mo ago First seen · 115 lines · 34 tokens per session scan A bf340b3b461f
graphql-apis is a skill published in the GitHub repository alivirgo/Major-AI-Skills (2 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 2,151 once invoked, about $0.0002 per session on Opus 5.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-05.
graphql-apis compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| graphql-apisalivirgo/Major-AI-Skills | Skill | 2 | yesterday | MIT | A | 38 | Claude Code |
| graphql-api-developmentJPeetz/agent-skills | Skill | 17 | 16d ago | none | A | 115 | Claude Code, Codex |
| graphql-expertpersonamanagmentlayer/pcl | Skill | 45 | 18d ago | Apache-2.0 | A | 67 | Claude Code |
| graphql-architectfindscripter/everything-skills | Skill | 11 | today | none | A | 146 | Claude Code |
| graphql-api-developmentmanutej/luxor-claude-marketplace | Skill | 63 | 5mo ago | none | A | 42 | Claude Code |
| api-integration-architectsickn33/agentic-awesome-skills | Skill | 50k | today | MIT | A | 33 | Claude Code |
| api-connector-builderericrisco/rsc-harness | Skill | 598 | today | MIT | A | 80 | Claude Code, Codex |