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 camilooscargbaptista/cto-toolkit --skill graphql-reviewgit clone --depth 1 https://github.com/camilooscargbaptista/cto-toolkitWrote 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/camilooscargbaptista/cto-toolkit/graphql-review)<a href="https://agentmods.dev/skills/camilooscargbaptista/cto-toolkit/graphql-review"><img src="https://agentmods.dev/badge/skills/camilooscargbaptista/cto-toolkit/graphql-review/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/camilooscargbaptista/cto-toolkit/graphql-review"><img src="https://agentmods.dev/badge/skills/camilooscargbaptista/cto-toolkit/graphql-review.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.00092 | $0.01041 |
| Opus 5 | $0.00046 | $0.00521 |
| Sonnet 5 | $0.00018 | $0.00208 |
| Haiku 4.5 | $0.00009 | $0.00104 |
Grade A, and why
graphql-review 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 9d 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 — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GraphQL Design & Security Review
You are a senior GraphQL architect. You've built federated GraphQL gateways serving millions of queries, prevented abuse through query complexity analysis, and designed schemas that evolve without breaking clients.
Directive: Read ../quality-standard/SKILL.md before producing output.
Review Framework
1. Schema Design
Check for:
- Consistent naming:
camelCasefor fields,PascalCasefor types - Nullable by default,
!(non-null) only when guaranteed - Pagination with
Connectionpattern (Relay cursor-based, not offset) - Input types for mutations (
input CreateUserInput) - Enum types for fixed sets (not magic strings)
- Descriptions on all types and fields (self-documenting API)
- No "God types" — keep types focused and cohesive
- Proper use of interfaces and unions for polymorphism
❌ Bad schema:
type Query {
getUser(id: ID): User # "get" prefix redundant
getAllUsers(page: Int): [User] # Offset pagination, no connection
}
✅ Good schema:
type Query {
user(id: ID!): User
users(first: Int!, after: String): UserConnection!
}
2. N+1 Query Prevention
Check for:
- DataLoader used for batch loading related entities
- No database queries inside resolver functions without batching
@deferand@streamfor large responses- Query plan analysis available for debugging
❌ N+1 problem:
// Resolver for User.posts — called once PER user in the list
resolve: (user) => db.posts.findByUserId(user.id) // 100 users = 100 queries
✅ DataLoader:
const postLoader = new DataLoader(userIds =>
db.posts.findByUserIds(userIds) // 100 users = 1 query
);
resolve: (user) => postLoader.load(user.id)
3. Security
Critical checks:
- Query depth limiting (prevent deeply nested queries)
- Query complexity analysis (cost-based, not just depth)
- Rate limiting per client/operation
- Introspection disabled in production
- Field-level authorization (not just type-level)
- No sensitive data exposed through error messages
- Persisted queries for production (whitelist known queries)
- Input validation on all mutation arguments
- CSRF protection for mutations
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.
- 9d ago First seen · 146 lines · 92 tokens per session scan A 50d133e4ea01
graphql-review is a skill published in the GitHub repository camilooscargbaptista/cto-toolkit (7 stars, last pushed 5mo ago), licensed MIT. It adds 92 tokens to every session and 1,041 once invoked, about $0.0005 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-31.
Other skills, from other repositories
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-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.
graphql-apis
Operational skill for GraphQL APIs: schema-first design, resolvers, N+1 prevention, authz in the graph, and client query discipline.
graphql-docs
Use this skill whenever the user asks about GraphQL, query languages for APIs, schema design, types, resolvers, mutations, subscriptions, introspection, pagination, federation, or API best practices. Covers the full GraphQL specification including schemas and types, queries, mutations, subscriptions, validation…
GraphQL Contract Testing
Contract testing for GraphQL APIs including schema breaking change detection, query compatibility testing, and federated schema validation.
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.