add-feature

add-feature is a skill for Claude Code from kvdm-co-pilot/create-cmp. It costs 169 tokens per session (2,513 once invoked), scanned A, original, MIT.

A tool for adding a complete feature slice to a Compose Multiplatform app, including its screen, logic, data layer, navigation, dependency setup, and tests.

In plain words
What is it for?
Use it to scaffold a feature, adapt its specification, connect it to navigation and dependency injection, and verify the app with the project's checks.
Why use it?
It creates new features in the same structure as the project's configured example feature and checks that the result follows project rules.

Skill for Claude Code

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

Not installable on its own: it runs a file from its repository that does not travel with it. Clone the repository, or install whatever ships that file. The line is node qa/scaffold-feature.mjs <FeatureName> --entity <EntityName> --dry-run.

Part of the create-cmp plugin — 15 skills, 2 agents, 4 hooks, 1 MCP server shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add kvdm-co-pilot/create-cmp
Claude Code
/plugin install create-cmp

Made for: Claude Code.

Or install create-cmp, the plugin that ships this one along with the rest of its 15 skills, 2 agents, 4 hooks, 1 MCP server.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/kvdm-co-pilot/create-cmp/add-feature.svg)](https://agentmods.dev/skills/kvdm-co-pilot/create-cmp/add-feature)
Your own site
<a href="https://agentmods.dev/skills/kvdm-co-pilot/create-cmp/add-feature"><img src="https://agentmods.dev/badge/skills/kvdm-co-pilot/create-cmp/add-feature.svg" alt="Measured on agentmods" height="20"></a>
Per session 169 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,513 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00169 $0.02513
Opus 5 $0.00084 $0.01256
Sonnet 5 $0.00034 $0.00503
Haiku 4.5 $0.00017 $0.00251

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

Security

Grade A, and why

add-feature 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 5d 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.

template/.claude/skills/add-feature/SKILL.md · 181 lines

How it starts

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

add-feature — stamp a conforming vertical slice

Spec-first, deterministic-stamp, gate-proven. The script (qa/scaffold-feature.mjs) does the mechanical work — copy the exemplar file set, whole-word identifier rename, anchor injection into the three shared files. You (the AI) only refine spec wording and adapt the feature to its real shape. You are not done until node qa/verify.mjs PASSes and the receipt is committed — see this project's CLAUDE.md.

Step 0 — name the lane, out loud, before anything else

Every post-genesis change enters through one of two lanes (CLAUDE.md §"After genesis"), and the human must be told which one this request is taking, in your first reply — one or two plain sentences before any tool runs: what you understood the change to be, which lane, and why. Never route silently; the human can overrule the triage in a word.

  • Brief lane — the request carries decisions a future contributor could plausibly "simplify" away, or blast radius into other governed artifacts. Say so, e.g.: "This carries real decisions (day-boundary rules, scheduling semantics) — I'll draft a feature brief at docs/features/<name>.md with the open decisions for you to close and sign BEFORE I stamp anything." Only after the brief is signed does this skill's stamping start — and if the feature has a UI surface, the design gate comes next, before the spec: draft the screens on stub data, render them, and stop for the human's signature on feature-design:<name> (brief → design → spec → build). A human signs rendered screens, never a description of screens.
  • Direct lane — an ordinary feature with no decisions worth recording. Say so, e.g.: "Straightforward slice, no decisions worth a brief — direct lane: spec clauses for your confirmation, then I stamp and prove." Then continue with Step 1 below.

The clone source is configurable

The stamper clones from the project's configured exemplarqa/approvals.json's top-level "exemplarFeature" key (absent ⇒ home, the shipped exemplar). This is the same resolution the approvals registry uses for the governed exemplar-feature artifact, so what gets stamped is always exactly what the human signed off on. After the genesis walk retargets exemplarFeature to the user's own first feature, every stamp from then on clones their pattern in their domain language — do not assume home still exists as the exemplar; read the config (or just run the stamper: it resolves the source itself).

Read the full file on GitHub · 181 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. 5d ago First seen · 181 lines · 169 tokens per session scan A ffb4070c1ba3

Subscribe to this mod's changes

add-feature is a skill published in the GitHub repository kvdm-co-pilot/create-cmp (0 stars, last pushed yesterday), licensed MIT. It adds 169 tokens to every session and 2,513 once invoked, about $0.0008 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-08-31.

Related

Other skills, from other repositories

compose-multiplatform

Use when building one shared Compose UI in Kotlin across Android, iOS, and desktop — commonMain @Composables, expect/actual, source-set placement, native interop, multiplatform ViewModel/navigation/Koin. NOT a single-platform native build (that is kotlin-android / swift-ios), and NOT Dart/Flutter cross-platform UI…

ericrisco/rsc-harness · 80 tokens

m3-expressive

Material 3 Expressive design patterns for Jetpack Compose - expressive theming, motion physics, shape morphing, typography emphasis, color emphasis, and all 28 expressive components.

TalissonVitorino/kmp-ios-skills · 41 tokens

liquid-glass

Apple Liquid Glass design patterns for SwiftUI iOS 26 - glass effects, morphing, containers, interactive glass, tinting, accessibility, and cross-platform glass design.

TalissonVitorino/kmp-ios-skills · 40 tokens

android-device-integrity

Android app/device integrity and anti-fraud for a fintech app — the Play Integrity API (com.google.android.play:integrity): Standard requests (StandardIntegrityManager.prepareIntegrityToken → StandardIntegrityTokenProvider.request with a requestHash → StandardIntegrityToken) vs Classic requests…

TalissonVitorino/kmp-ios-skills · 260 tokens

offline-first

Offline-first architecture patterns - NetworkBoundResource, sync strategies, conflict resolution, cache invalidation, and connectivity monitoring.

TalissonVitorino/kmp-ios-skills · 26 tokens

app-store-review

Audit an iOS app's App Store submission readiness and rejection risk for a fintech app — App Review Guidelines domains (Safety/Performance/Business/Design/Legal), PrivacyInfo.xcprivacy (NSPrivacyAccessedAPITypes required-reason APIs, NSPrivacyTrackingDomains, NSPrivacyCollectedDataTypes), App Privacy nutrition labels…

TalissonVitorino/kmp-ios-skills · 219 tokens