kavo: Skill for Claude Code

.claude/skills/add-config-key/SKILL.md

add-config-key is a skill for Claude Code from kavo-labs/kavo. It costs 59 tokens per session (1,917 once invoked), scanned A, original, MIT.

A development guide for adding a new setting to Kavo, a software library with configurable behavior. It explains the setting's default, type, validation, documentation, and precedence across configuration levels.

In plain words
What is it for?
Use it when a feature needs a configurable behavior that can be set globally, for an entity, for an operation, or for one call.
Why use it?
It prevents new options from being added through disconnected or conflicting configuration systems.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

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-config-key/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-config-key

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kavo-labs/kavo/add-config-key"><img src="https://agentmods.dev/badge/skills/kavo-labs/kavo/add-config-key.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,917 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.00059 $0.01917
Opus 5 $0.00030 $0.00958
Sonnet 5 $0.00012 $0.00383
Haiku 4.5 $0.00006 $0.00192

Measured 4d ago against content hash cfaa30937235, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

add-config-key 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 4d 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-config-key/SKILL.md · 140 lines

How it starts

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

Adding a config key

Kavo has one configuration mechanism: KavoSettings, merged through a single precedence chain (docs/internals/architecture/08-configuration.md):

built-in defaults → global (createKavo) → entity (createCrud)
                  → operation (operations.<id>) → per-call (KavoCallOptions)

The schema-extensibility rule (doc 08 §1) is normative: feature work adds keys to this schema — it never adds a second config mechanism. If you find yourself threading a new constructor parameter or a separate options object through the engine, stop; it belongs in KavoSettings.

Where the pieces live

  1. BUILT_IN_DEFAULTS (packages/core/src/config/defaults.ts) — add the key with its default value. Every key needs one; there is no "unset" state a resolved config can observe.
  2. The settings type — extend the KavoSettings interface/schema so the new key is typed at every scope (global defaults, entity config, operations.<id> overrides, KavoCallOptions.settings).
  3. mergeSettings (packages/core/src/config/merge-settings.ts) — confirm the new key's shape matches the existing merge semantics rather than inventing a new one:
    • scalars and object-as-value keys: nearer scope replaces farther scope, key by key;
    • false disables an inheritable feature where the schema allows it (follow the delete / operations.<id> pattern) — a nearer object re-enables it;
    • arrays replace wholesale, never merge element-wise;
    • undefined at any scope is skipped, not treated as an explicit override.
  4. validateSettings — add bootstrap validation that fails with a ConfigurationException naming the entity, the key path, and the offending value (doc 08 §4's message shape is the bar: Invalid configuration for entity 'User' at 'pagination.maxLimit': ...). Validation runs once at bootstrap (resolveEntityConfig), not per request — the resolved config is deep-frozen afterward, so this is the only chance to catch a bad value before it's baked in.
  5. describeResolvedConfig — check whether the new key should surface in kavo.describe(entityName)'s debug dump; most settings keys should.

Read the full file on GitHub · 140 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. 4d ago Changed · +6 lines cfaa30937235
  2. 5d ago Changed 77d12f0f3f92
  3. 9d ago First seen · 134 lines · 59 tokens per session scan A 4921765b0c90

Subscribe to this mod's changes

add-config-key is a skill published in the GitHub repository kavo-labs/kavo (14 stars, last pushed yesterday), licensed MIT. It adds 59 tokens to every session and 1,917 once invoked, about $0.0003 per session on Opus 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.