graphql-binding

graphql-binding is a skill for Claude Code from kavo-labs/kavo. It costs 78 tokens per session (1,701 once invoked), scanned A, original, MIT.

A reference for exposing existing CRUD services through GraphQL, an API query language for retrieving and changing data.

In plain words
What is it for?
Use it when adding GraphQL schemas, queries, and mutations to entities managed by Kavo.
Why use it?
It explains how GraphQL requests reuse existing validation, filtering, sorting, pagination, and error handling.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the kavo-skills plugin — 15 skills shipped together

Good fit Use it when adding GraphQL schemas, queries, and mutations to entities managed by Kavo.

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

Made for: Claude Code.

Or install kavo-skills, the plugin that ships this one along with the rest of its 15 skills.

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-binding

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kavo-labs/kavo/graphql-binding"><img src="https://agentmods.dev/badge/skills/kavo-labs/kavo/graphql-binding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,701 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00078 $0.01701
Opus 5.5 $0.00031 $0.00680
Sonnet 5.5 $0.00016 $0.00340
Haiku 4.5 $0.00008 $0.00170

Measured 2mo ago against content hash 3aad09e65dec, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

graphql-binding 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 2mo 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.

extensions/skills/graphql-binding/SKILL.md · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GraphQL binding reference

@kavo/graphql (packages/protocols/graphql) builds a GraphQLSchema over an existing createCrud service. Every resolver calls directly into the same DefaultKavoService/engine pipeline REST binds to — no parallel request path, no second copy of filter/sort/pagination validation, no separate error handling. Full detail: docs/internals/architecture/13-graphql-binding.md (and ADR-0016 for the package-boundary rationale).

@kavo/graphql is host-framework-agnostic: it imports @kavo/core and the graphql peer only, never @kavo/nest. @kavo/nest depends on @kavo/graphql, not the other way around.

One entity

import { createKavoGraphQLSchema } from "@kavo/graphql";

const schema = createKavoGraphQLSchema({
  name: "Owner",
  service: ownerService, // whatever createCrud(Owner, ...) returned
  itemType: OwnerType, // hand-written GraphQLObjectType
  createInputType: CreateOwnerInput, // optional — omit to skip the mutation
  updateInputType: UpdateOwnerInput,
  patchInputType: PatchOwnerInput,
  deleteOne: true,
  restoreOne: true, // meaningful only if Owner declared soft delete
  purgeOne: true,
});
Field Enabled by
Query.owner(id) always
Query.owners(limit, offset, sort, filter) always
Mutation.createOwner createInputType
Mutation.updateOwner updateInputType
Mutation.patchOwner patchInputType
Mutation.deleteOwner: Boolean deleteOne: true
Mutation.restoreOwner: Owner restoreOne: true
Mutation.purgeOwner: Boolean purgeOne: true

These flags do not cross-check REST's @Kavo config. Setting restoreOne: true here for an entity whose @Kavo config disables restoreOne still adds the field to the schema — it throws OperationDisabledException at resolve time instead, same as calling the REST route would. Keeping the two declarations in sync is your job today.

Read the full file on GitHub · 150 lines

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. 2mo ago Changed · +8 lines 3aad09e65dec
  2. 3mo ago First seen · 142 lines · 78 tokens per session scan A 9d0387c59396

Subscribe to this mod's changes

graphql-binding is a skill published in the GitHub repository kavo-labs/kavo (16 stars, last pushed yesterday), licensed MIT. It adds 78 tokens to every session and 1,701 once invoked, about $0.0003 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-02.

Related

graphql-binding compared with skills from other repositories

graphql-binding next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
graphql-bindingkavo-labs/kavoSkill16yesterdayMITA78Claude Code
nestjs-expertpersonamanagmentlayer/pclSkill471mo agoApache-2.0A81Claude Code
nestjs-expertfindscripter/everything-skillsSkill14todaynoneA123Claude Code
prisma-8prisma/ormSkill48ktodayApache-2.0A216Claude Code, Codex
nestjsericrisco/rsc-harnessSkill7072d agoMITA81Claude Code, Codex
webiny-api-cms-content-modelswebiny/webiny-jsSkill8.1ktodaynoneA313Claude Code, Codex
webiny-api-architectwebiny/webiny-jsSkill8.1ktodaynoneA93Claude Code, Codex