cmp-audit

cmp-audit is a skill for Claude Code, Codex from kvdm-co-pilot/create-cmp. It costs 235 tokens per session (2,321 once invoked), scanned A, original, MIT.

An adversarial review guide for one subsystem of a Kotlin/Compose Multiplatform app, including platform behavior such as notifications, alarms, reboots, time changes, and process termination.

In plain words
What is it for?
Auditing notification and reminder features, comparing specifications with code and tests, and reporting concrete, traceable failure scenarios.
Why use it?
It looks for failures that ordinary desktop tests may miss when the operating system or app lifecycle behaves differently.

Skill for Claude CodeCodex

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

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.

agentmods
npx agentmods add skills/kvdm-co-pilot/create-cmp/cmp-audit
Any agent
npx skills add kvdm-co-pilot/create-cmp --skill cmp-audit
Clone the repo
git clone --depth 1 https://github.com/kvdm-co-pilot/create-cmp

Made for: Claude Code, Codex.

Or install create-cmp, the plugin that ships this one along with the rest of its 15 skills, 1 agent, 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 cmp-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/kvdm-co-pilot/create-cmp/cmp-audit.svg)](https://agentmods.dev/skills/kvdm-co-pilot/create-cmp/cmp-audit)
Your own site
<a href="https://agentmods.dev/skills/kvdm-co-pilot/create-cmp/cmp-audit"><img src="https://agentmods.dev/badge/skills/kvdm-co-pilot/create-cmp/cmp-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 235 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,321 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 $0.00235 $0.02321
Opus 5 $0.00118 $0.01161
Sonnet 5 $0.00047 $0.00464
Haiku 4.5 $0.00023 $0.00232

Measured 4d ago against content hash 48fcb59b7b6d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cmp-audit 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.

skills/cmp-audit/SKILL.md · 163 lines

How it starts

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

cmp-audit — interrogate one subsystem until it confesses

Your job: take one subsystem and try to break it on paper — the audit that finds the bugs the lane structurally cannot, because they live below the JVM seam (platform scheduling, notification delivery, process lifecycle) or between clauses the spec never wrote. The output is evidence, not vibes: every finding is a file:line and a concrete failure scenario, survived a refuter pass, and lands in the project's normal change flow.

1. Scope — one subsystem, three bodies of evidence

The user names the subsystem ("the notifications", "reminders", "sync") or you infer it from their words — confirm the inference in one sentence before reading. Then read, completely:

  1. Its spec clauses — every specs/*.spec.md clause that governs the subsystem's behavior (and note what the spec is silent about; silence is where defects live).
  2. Its implementation across ALL source setscommonMain AND androidMain / iosMain. Platform code is where desktop-tier tests cannot see; an audit that reads only common code audits the part that was already testable.
  3. Its tests — which clauses they cite, which source set they run in, and therefore which claims are actually exercised versus merely asserted in prose.

2. Interrogate — the platform-semantics question bank

Ask these against the code you just read. They are questions, not checkboxes: each one is answered with a file:line or with "not applicable because …" — never with a tick.

IDENTITY — do two logical things ever share one platform identity?

  • Android PendingIntent equality is requestCode + filterEqualsextras do not count. Do two logically distinct intents differ only in extras?
  • Notification identity is tag+id. Can two different logical notifications compute the same pair and overwrite each other?
  • Alarm/job/work identity: is the id derived from the domain key, or from something that collides (a constant, an index, a truncated hash, an id that gets reused after delete)?
  • If identity is derived from a mutable field, what happens when that field changes — does the old identity leak, unreachable?
  • Is there a documented id-space partition, or could two features' ids collide?

Read the full file on GitHub · 163 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 First seen · 163 lines · 235 tokens per session scan A 48fcb59b7b6d

Subscribe to this mod's changes

cmp-audit is a skill published in the GitHub repository kvdm-co-pilot/create-cmp (0 stars, last pushed today), licensed MIT. It adds 235 tokens to every session and 2,321 once invoked, about $0.0012 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

mapkit

MapKit + CoreLocation for iOS (iOS 17–26 era). SwiftUI Map with MapContentBuilder (Marker / Annotation / MapPolyline / MapPolygon / MapCircle / UserAnnotation), MapCameraPosition & MapCamera with onMapCameraChange, mapStyle / mapControls / selection, MapReader + MapProxy coordinate conversion, and Look Around…

TalissonVitorino/kmp-ios-skills · 246 tokens

swift-architecture

Choose and migrate an Apple-platform app architecture for a fintech iOS app (iOS 26 era). Covers MV with Observation (@Observable, @Environment injection, @Bindable), MVVM, hand-rolled MVI/unidirectional store+reducer, The Composable Architecture (@Reducer, @ObservableState, StoreOf, Effect.run, @Dependency…

TalissonVitorino/kmp-ios-skills · 203 tokens