kavo: Skill for Claude Code

.claude/skills/nextjs-integration/SKILL.md

nextjs-integration is a skill for Claude Code from kavo-labs/kavo. It costs 81 tokens per session (1,598 once invoked), scanned A, original, MIT.

Instructions for connecting the Kavo data-access library to a Next.js application using the App Router. Next.js is a framework for web applications, and its App Router handles web requests with route files.

In plain words
What is it for?
Use it to connect entities and an object-relational mapper to Kavo, mount CRUD routes, support common HTTP methods, and export an OpenAPI description.
Why use it?
It explains where to create data operations and how to expose them as standard web request handlers without confusing this integration with Kavo's other framework bindings.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is kavo-labs/kavo's own configuration. It tells Claude Code how to work on kavo itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kavo configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { users, projects } from "../../../kavo";.

Reuse

Borrowing it

Nothing to install: this file belongs to kavo-labs/kavo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/kavo-labs/kavo/main/.claude/skills/nextjs-integration/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/kavo-labs/kavo

Made for: Claude Code.

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 nextjs-integration

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kavo-labs/kavo/nextjs-integration"><img src="https://agentmods.dev/badge/skills/kavo-labs/kavo/nextjs-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,598 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.
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.00081 $0.01598
Opus 5.5 $0.00032 $0.00639
Sonnet 5.5 $0.00016 $0.00320
Haiku 4.5 $0.00008 $0.00160

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

Security

Grade A, and why

nextjs-integration 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 1mo 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.

.claude/skills/nextjs-integration/SKILL.md · 144 lines

How it starts

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

Integrating @kavo/next

@kavo/next binds Kavo to the Next.js App Router: createKavoHandler turns one or more createCrud results into GET/POST/PUT/PATCH/DELETE route-handler exports for a catch-all route. There's no decorator, no DI container, and no dependency on @kavo/nest — App Router route handlers are plain functions over the Fetch API's Request/Response.

The three pieces every integration needs

  1. Wire entities where the app's Kavo setup lives — call createCrud directly, once per entity, same as with any other framework binding:

    // kavo.ts
    import { createKavo } from "@kavo/core";
    import { createInfrastructure } from "@kavo/typeorm";
    import { dataSource } from "./data-source";
    import { User } from "./user.entity";
    
    const kavo = createKavo({ infrastructure: createInfrastructure(dataSource) });
    export const users = kavo.createCrud(User, { filter: { fields: ["id", "email"] } });
    

    Any ORM adapter works the same way here as with @kavo/nest — @kavo/typeorm, @kavo/prisma, @kavo/mongoose, @kavo/mikroorm all produce a plain createCrud result with nothing framework-specific.

  2. Mount the catch-all route — one file, one call:

    // app/api/[...kavo]/route.ts
    import { createKavoHandler } from "@kavo/next";
    import { users, projects } from "../../../kavo";
    
    export const { GET, POST, PUT, PATCH, DELETE } = createKavoHandler({ users, projects });
    

    The first path segment resolves the entity by its key in this map (users → the users service); the rest resolves the operation by matching the request's method and remaining segments against that entity's own operation registry — the same registry @kavo/nest's @Kavo decorator reads. An unknown entity key, or a method/segment combination no enabled operation resolves to, answers 404 — never 500, never a bare 405 (see ADR-0054 for why resolution happens at request time).

Read the full file on GitHub · 144 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. 1mo ago First seen · 144 lines · 81 tokens per session scan A a0515894c2f2

Subscribe to this mod's changes

nextjs-integration is a skill published in the GitHub repository kavo-labs/kavo (17 stars, last pushed today), licensed MIT. It adds 81 tokens to every session and 1,598 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-17.

Related

Other skills, from other repositories

nestjs-expert

Expert knowledge in NestJS framework, modular architecture, dependency injection, TypeORM/Prisma persistence, microservices transports, and enterprise-grade Node.js backend development. Use when the user mentions NestJS, Nest CLI, decorators, dependency injection, guards, interceptors, or backend microservices, or…

personamanagmentlayer/pcl · 81 tokens

prisma-8

Use when working in a project that depends on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo (Prisma 8, formerly Prisma Next): editing contract.prisma or a contract.ts builder, running prisma contract emit, planning or applying migrations, editing migration.ts, writing db.orm / db.sql / db.query…

prisma/orm · 220 tokens

nestjs

Use when building or structuring a NestJS backend — feature modules, providers and DI wiring, provider scopes and request-lifecycle order, where to bind guards/pipes/interceptors/filters, and testing with Test.createTestingModule. NOT a bare Express/Fastify service with no DI (that is nodejs), NOT framework-agnostic…

ericrisco/rsc-harness · 81 tokens

webiny-api-cms-content-models

Creating Headless CMS content models via code using the ModelFactory pattern. Use this skill when the developer wants to create, modify, or understand content model definitions, define fields and validators, set up reference fields between models, configure field layouts (including nested layouts inside object or…

webiny/webiny-js · 313 tokens

webiny-form-model

Building forms with the FormModel system — field types, renderers, layout, validation, conditional rules, computed fields, and dynamic zones. Use this skill when the developer needs to define form fields with the builder API, choose renderers, build layouts with tabs/rows/separators, add validation (Zod or…

webiny/webiny-js · 93 tokens

webiny-api-architect

The hub skill for all API/backend architecture in Webiny. Covers architecture overview, Services vs UseCases, feature naming and organization, feature structure templates, DI decision tree, anti-patterns, createFeature, createAbstraction, container registration, domain errors, entity patterns, naming conventions…

webiny/webiny-js · 90 tokens