kavo: Skill for Claude Code

.claude/skills/add-operation/SKILL.md

add-operation is a skill for Claude Code from kavo-labs/kavo. It costs 51 tokens per session (2,608 once invoked), scanned A, original, MIT.

A procedure for adding, replacing, or disabling CRUD operations in Kavo, including the registry, data types, handlers, routes, and tests.

In plain words
What is it for?
Use it to disable standard operations, override handlers, or add custom per-entity operations with route metadata.
Why use it?
It keeps a new operation connected to the parts of the system that define its behavior and generated API route.

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 →

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/add-operation/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 add-operation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kavo-labs/kavo/add-operation"><img src="https://agentmods.dev/badge/skills/kavo-labs/kavo/add-operation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,608 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 20
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.00051 $0.02608
Opus 5.5 $0.00020 $0.01043
Sonnet 5.5 $0.00010 $0.00522
Haiku 4.5 $0.00005 $0.00261

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

Security

Grade A, and why

add-operation 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/add-operation/SKILL.md · 192 lines

How it starts

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

Adding an operation

The whole point of Kavo's design is that adding an operation is adding a registry entry (ADR-0006). The engine loops over registry entries and @kavo/nest generates one route per enabled entry from the same registry. If your change needs a new if in the engine or in the route generator, the design is wrong — stop and reconsider.

Decide which of the four you are doing

The first three are the same mechanism (EntityConfig in packages/core/src/config/entity-config.ts); the fourth is @kavo/nest-only and doesn't touch EntityConfig at all:

Intent How
Disable a standard operation operations: { deleteOne: false } — the entry stays in the registry so tooling can report it, but calling it raises OperationDisabledException and no route is generated.
Override a standard operation (data) operations: { findOne: { handler } } — a plain OperationHandler object replaces the handler; keeps the default DTO and serialization scaffolding.
Add a custom operation operations: { markPaidOne: { handler, meta: { routes } } } (issue #145): any key outside the standard eight. kind/cardinality default to a single-row write; schema gives it a shape of its own. handler is optional (issue #424) — omit it only when an @Override method supplies the implementation (see below); otherwise it is required.
Override a standard operation (code) @Override(operationId?) (issue #23) — a controller method is the implementation; @Kavo still generates the route from the registry. See below.

Read the full file on GitHub · 192 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 Changed c6f950476440
  2. 1mo ago Changed · +4 lines 25981ebba002
  3. 1mo ago Changed · +12 lines 6cf1e00db61b
  4. 1mo ago First seen · 176 lines · 51 tokens per session scan A da5701ace224

Subscribe to this mod's changes

add-operation is a skill published in the GitHub repository kavo-labs/kavo (17 stars, last pushed today), licensed MIT. It adds 51 tokens to every session and 2,608 once invoked, about $0.0002 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

Other skills, from other repositories

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

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

server-side-calls

Call tRPC procedures directly from server code using t.createCallerFactory() and router.createCaller(context) for integration testing, internal server logic, and custom API endpoints. Catch TRPCError and extract HTTP status with getHTTPStatusCodeFromError(). Error handling via onError option.

trpc/trpc · 61 tokens

api-testing-patterns

Comprehensive API testing patterns including contract testing, REST/GraphQL testing, and integration testing. Use when testing APIs or designing API test strategies.

proffesor-for-testing/agentic-qe · 34 tokens

auditing-warehouse-source-coverage

Audit already-implemented Data warehouse import sources for endpoints, schemas, and tables the vendor's API offers but we never wired up. Use when asked whether a source is missing endpoints, to find new endpoints a vendor has added since a source was built, to refresh COVERAGEGAPS.md, to prioritize which source to…

PostHog/posthog · 149 tokens