dto-slots

dto-slots is a skill for Claude Code from kavo-labs/kavo. It costs 76 tokens per session (1,104 once invoked), scanned A, original, MIT.

A reference for Kavo's six optional data-transfer-object slots, which define the shape of API request and response data. It explains defaults, field selection, serialization order, and how each slot maps to a REST operation.

In plain words
What is it for?
Use it when registering DTO classes for create, update, patch, query, item, or list responses in Kavo, or when diagnosing DTO shape problems.
Why use it?
It helps explain why a field appears or disappears and which data shape an endpoint returns, without confusing data shape definitions with input validation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

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

Good fit Use it when registering DTO classes for create, update, patch, query, item, or list responses in Kavo, or when diagnosing DTO shape problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kavo-labs/kavo/dto-slots
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 dto-slots
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 dto-slots

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kavo-labs/kavo/dto-slots"><img src="https://agentmods.dev/badge/skills/kavo-labs/kavo/dto-slots.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,104 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.00076 $0.01104
Opus 5.5 $0.00030 $0.00442
Sonnet 5.5 $0.00015 $0.00221
Haiku 4.5 $0.00008 $0.00110

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

Security

Grade A, and why

dto-slots 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/dto-slots/SKILL.md · 93 lines

How it starts

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

Schema slots reference

Every REST verb has an independent, optional data contract. Zero config means entity-derived defaults; configuring a schema slot narrows exactly one slot. The single config key is schema (ADR-0055; the old dto key is gone), split into schema.input.<slot> and schema.output.<slot>. A slot takes either a plain class (a shape for typing, serialization and docs, never validated) or a validator — any object satisfying the structural KavoSchema<Output> contract, which a Zod schema qualifies for natively. A validator actually validates an incoming body (SchemaValidationException, KAVO_SCHEMA_INVALID); a failing schema.output validator falls back to the projected value, so it shapes but is not a security boundary. Full detail: docs/internals/architecture/04-schema-system.md and docs/core/schemas.md. Config-side wiring (@Kavo(Entity, { schema: {...} })) is in the kavo-decorator skill.

The six slots

Slot Verb / context Default when omitted
create POST body Entity minus generated + relation fields
update PUT body Same default as create
patch PATCH body Partial<update> if update registered, else Partial<Entity>
query GET list input Generic QueryContext<Entity>
item Any single-resource response Entity, subject to field selection
list Element type in ListResultDto.items Same as item's resolved type

restoreOne reuses the item slot — there is no seventh slot for it. Naming convention (CLAUDE.md): request bodies are <Verb><Entity>Dto (CreateUserDto); query/response shapes are <Entity><Slot>Dto (UserItemDto, UserListDto).

Read the full file on GitHub · 93 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 · -5 lines · +2 tokens per session 26ba763a2cf8
  2. 2mo ago Changed · +12 lines f6601b859b0a
  3. 3mo ago First seen · 86 lines · 74 tokens per session scan A d898244c8a12

Subscribe to this mod's changes

dto-slots is a skill published in the GitHub repository kavo-labs/kavo (16 stars, last pushed yesterday), licensed MIT. It adds 76 tokens to every session and 1,104 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

dto-slots compared with skills from other repositories

dto-slots next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dto-slotskavo-labs/kavoSkill16yesterdayMITA76Claude 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