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.00021 | $0.00840 |
| Opus 5 | $0.00010 | $0.00420 |
| Sonnet 5 | $0.00004 | $0.00168 |
| Haiku 4.5 | $0.00002 | $0.00084 |
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 yesterday.
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 — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GraphQL APIs AI Skill Guide
Overview & Engine Architecture
GraphQL exposes a typed schema (types, queries, mutations, subscriptions) where clients ask for exact fields. Servers resolve fields via resolvers; naive per-field DB access causes N+1 queries. Agents design schemas for product use cases, enforce authz at resolver/field level, batch loads (DataLoader), and treat persisted/allowlisted operations as a production hardening option.
Client query
|
GraphQL runtime (parse/validate/execute)
|
resolvers (+ DataLoader)
|
services / DB
When to use this skill
- Designing or evolving GraphQL schemas
- Implementing resolvers without N+1 pathologies
- Adding authn/authz around sensitive fields
- Pairing GraphQL with Express, FastAPI, or Spring hosts
Operational directives
- Schema-first (or code-first with schema as contract) - clients depend on stable types.
- Never trust client-provided IDs without authz checks in resolvers.
- Batch and cache per-request DB lookups (DataLoader or equivalent).
- Prefer pagination (
connection/ cursor) for lists that can grow. - Limit query depth/complexity in public APIs; disable introspection in prod if policy requires.
Schema + resolver sketch
type Item {
id: ID!
sku: String!
qty: Int!
}
type Query {
item(id: ID!): Item
items(first: Int = 20): [Item!]!
}
type Mutation {
createItem(sku: String!, qty: Int!): Item!
}
// Pseudocode resolver map
const resolvers = {
Query: {
item: (_: unknown, { id }: { id: string }, ctx: Ctx) => ctx.items.byId(id),
items: (_: unknown, { first }: { first: number }, ctx: Ctx) =>
ctx.items.list(Math.min(first, 100)),
},
Mutation: {
createItem: async (_: unknown, args: { sku: string; qty: number }, ctx: Ctx) => {
ctx.requireUser();
return ctx.items.create(args);
},
},
};
Commands
# Depends on stack - examples:
npm run codegen # GraphQL Code Generator
npx rover graph check # schema checks when using Apollo tooling
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.
- yesterday Changed · -13 tokens per session 934a947a35d9
- 7d 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 (1 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 840 once invoked, about $0.0001 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-05.
Other skills, from other repositories
graphql-expert
Expert-level GraphQL API development with schema design, resolvers, and subscriptions. Use when the user mentions API, apollo, schema, resolvers, subscriptions, or relay, or when the task involves Schema Design, Queries and Mutations, Apollo Server 4, or DataLoader for N+1 Prevention.
api-endpoint-builder-v2
API Endpoint Builder workflow skill. Use this skill when the user needs Builds production-ready REST API endpoints with validation, error handling, authentication, and documentation. Follows best practices for security and scalability and the operator should preserve the upstream workflow, copied support files, and…
api-design-principles-v2
API Design Principles workflow skill. Use this skill when the user needs Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers and stand the test of time and the operator should preserve the upstream workflow, copied support files, and provenance…
graphql-api-development
AI-powered GraphQL API design, implementation, and optimization. Covers schema-first design, resolver architecture, query optimization with DataLoader for N+1 prevention, mutation patterns with idempotency, real-time subscriptions, Apollo Federation for distributed graphs, security hardening (depth limiting, rate…
graphql-api-development
Comprehensive guide for building GraphQL APIs including schema design, queries, mutations, subscriptions, resolvers, type system, error handling, authentication, authorization, caching strategies, and production best practices.
api-endpoint-builder
API Endpoint Builder workflow skill. Use this skill when the user needs Builds production-ready REST API endpoints with validation, error handling, authentication, and documentation. Follows best practices for security and scalability and the operator should preserve the upstream workflow, copied support files, and…