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 joao-aires/agent-skills-public --skill graphql-designgit clone --depth 1 https://github.com/joao-aires/agent-skills-publicWrote 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/joao-aires/agent-skills-public/graphql-design)<a href="https://agentmods.dev/skills/joao-aires/agent-skills-public/graphql-design"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/graphql-design/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/joao-aires/agent-skills-public/graphql-design"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/graphql-design.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.00101 | $0.03248 |
| Opus 5.5 | $0.00040 | $0.01299 |
| Sonnet 5.5 | $0.00020 | $0.00650 |
| Haiku 4.5 | $0.00010 | $0.00325 |
Grade A, and why
graphql-design 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 today.
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 — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Design the GraphQL schema as a contract
A GraphQL schema publishes the types, fields and operations clients may depend on. This method owns that published contract and the decisions that make it safe to evolve: nullability, pagination, errors, authorization, cost and federation boundaries. It does not own resolver implementation, datastore access or service behavior.
Use service-contract design (backend-design) for operation meaning, authority, invariants, durable effects and completion. Use architecture design when service, data or client boundaries change. Resolver code, middleware, server configuration and database access belong to the selected stack conventions.
Stop when the schema and its operating rules are reviewable: the SDL or schema artifacts, the error and authorization contract, the cost policy and the verification needs. Preserve an accepted schema's naming, identity and directive conventions; record a consequential deviation rather than introducing a parallel style.
Model the domain, not the database
- Treat the schema as a public contract even when it is internal. Name types and fields for domain meaning, not table or column names. Decide which objects are entities with stable identity and which are value objects owned by a parent, and expose opaque global IDs where clients need to refetch or pass a reference.
- Use interfaces and unions for genuine polymorphism; do not create a union of unrelated types to avoid designing a shape.
- Keep input types close to the mutation that accepts them; a shared "everything" input invites ambiguous combinations and accidental field exposure. Avoid untyped JSON scalars for core domain data, which move validation into every client and hide incompatibility from schema checks.
- Write descriptions for types, fields, arguments and enum values, since they are the documentation clients see through introspection. Choose schema-first or code-first deliberately: the composed schema, not the authoring style, is what consumers receive.
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.
- today Changed · +6 lines · +28 tokens per session ebcedb376d90
- 11d ago Changed · -3 lines 3d22a4f6bd55
- 12d ago Changed c4c7f40dc24b
- 16d ago Changed 99c29dffa9d6
- 19d ago First seen · 151 lines · 73 tokens per session scan A 83ae5cef685f
graphql-design is a skill published in the GitHub repository joao-aires/agent-skills-public (2 stars, last pushed yesterday), licensed MIT. It adds 101 tokens to every session and 3,248 once invoked, about $0.0004 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-11-17.
graphql-design compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| graphql-designjoao-aires/agent-skills-public | Skill | 2 | yesterday | MIT | A | 101 | Claude Code |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 2d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.4k | yesterday | Apache-2.0 | A | 92 | Claude Code |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.3k | 2d ago | MIT | A | 78 | Claude Code |
| fastapi-router-pymicrosoft/skills | Skill | 3.3k | 2d ago | MIT | A | 46 | Claude Code |
| dev-runtimelangwatch/langwatch | Skill | 5.1k | today | Apache-2.0 | A | 172 | Claude Code |
| api-designericrisco/rsc-harness | Skill | 709 | 4d ago | MIT | A | 105 | Claude Code, Codex |