cmp-dev-client

cmp-dev-client is a skill for Claude Code from kvdm-co-pilot/create-cmp. It costs 139 tokens per session (1,301 once invoked), scanned A, original, MIT.

A desktop development setup for Compose Multiplatform apps, which share user-interface code across platforms. It opens the shared interface in a clickable desktop window and updates it after code changes.

In plain words
What is it for?
It helps developers preview screens, navigation, themes, view models, and dependency-injection wiring on desktop, with optional automatic hot reload.
Why use it?
It shortens the edit-and-check cycle by avoiding repeated emulator or simulator launches while building the interface.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit It helps developers preview screens, navigation, themes, view models, and dependency-injection wiring on desktop, with optional automatic hot reload.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kvdm-co-pilot/create-cmp/cmp-dev-client
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 kvdm-co-pilot/create-cmp --skill cmp-dev-client
Clone the repo
git clone --depth 1 https://github.com/kvdm-co-pilot/create-cmp

Made for: Claude Code.

Or install create-cmp, the plugin that ships this one along with the rest of its 18 skills, 4 agents, 3 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-dev-client

README.md
[![agentmods](https://agentmods.dev/badge/skills/kvdm-co-pilot/create-cmp/cmp-dev-client/github.svg)](https://agentmods.dev/skills/kvdm-co-pilot/create-cmp/cmp-dev-client)
Your own site
<a href="https://agentmods.dev/skills/kvdm-co-pilot/create-cmp/cmp-dev-client"><img src="https://agentmods.dev/badge/skills/kvdm-co-pilot/create-cmp/cmp-dev-client/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 cmp-dev-client

Your own site · 80×15
<a href="https://agentmods.dev/skills/kvdm-co-pilot/create-cmp/cmp-dev-client"><img src="https://agentmods.dev/badge/skills/kvdm-co-pilot/create-cmp/cmp-dev-client.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,301 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.
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.00139 $0.01301
Opus 5.5 $0.00056 $0.00520
Sonnet 5.5 $0.00028 $0.00260
Haiku 4.5 $0.00014 $0.00130

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

Security

Grade A, and why

cmp-dev-client 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 24d 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-dev-client/SKILL.md · 97 lines

How it starts

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

cmp-dev-client — the desktop dev loop for a stamped CMP app

Every app stamped by create-cmp (unless --no-dev-client) ships a pre-wired jvm("desktop") target inside composeApp: the whole commonMain UI — screens, ViewModels, navigation, theme, Koin DI — in a live, clickable, phone-sized JVM window, with Compose Hot Reload attached. This is the daily-driver loop; the Android emulator / iOS simulator are for platform verification, not for iterating on UI.

1. The run loop

From the generated project root:

# Hot reload + auto-reload on save (recommended):
./gradlew :composeApp:hotRunDesktop --auto

# Hot reload, explicit mode (trigger with `./gradlew reload` or the IDE's Reload UI button):
./gradlew :composeApp:hotRunDesktop

# Plain run — no hot reload, no JetBrains Runtime needed, any JDK 17+:
./gradlew :composeApp:run

Loop: keep the window open → edit a composable in commonMain → save → the window updates in place. No reinstall, no restart, state largely preserved.

Notes you should relay when relevant:

  • The task is hotRunDesktop because the target is named desktop (hotRunJvm is the default-name variant you'll see in JetBrains docs).
  • Hot reload runs the app on the JetBrains Runtime. The scaffold pre-wires the foojay-resolver-convention settings plugin, so Gradle auto-downloads a JBR on first hotRunDesktop if none is installed — a one-time download; don't let the user think it hangs.
  • Structural changes (new expect/actual, Gradle edits, new modules) need a task restart; in-function/UI edits hot-swap.
  • The window is phone-sized (411×891 dp, titled <AppName> dev-client) so what the user sees approximates the device layout.

2. What's faked on desktop (and how to extend it)

Desktop platform seams live in composeApp/src/desktopMain/kotlin/<package>/:

Seam Desktop implementation
NetworkMonitor Always-online stub
Room Real Room (BundledSQLiteDriver) writing to the OS temp dir — disposable cache
Firebase Never initialized — none in the default stamp; after create-cmp add firebase, still zero Firebase calls, config, or network on desktop
Example ItemRepository The same in-memory ItemRepositoryImpl all platforms bind

Read the full file on GitHub · 97 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. 24d ago Changed fe25f9b5cca8
  2. 28d ago Changed · +1 lines f865377fee3b
  3. 1mo ago First seen · 96 lines · 139 tokens per session scan A 69ce6fca5179

Subscribe to this mod's changes

cmp-dev-client is a skill published in the GitHub repository kvdm-co-pilot/create-cmp (0 stars, last pushed 3d ago), licensed MIT. It adds 139 tokens to every session and 1,301 once invoked, about $0.0006 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-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

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

navigation

Navigation for Android and Kotlin Multiplatform/iOS apps - all three approaches in one place. (A) Jetpack Navigation Compose (androidx.navigation - NavController, NavHost, composable , type-safe @Serializable routes, nested graphs, bottom nav, deep links, results via SavedStateHandle). (B) Jetpack Navigation 3 / Nav3…

TalissonVitorino/kmp-ios-skills · 177 tokens

swift-patterns

Core Swift language patterns, optionals, closures, protocols, generics, and modern Swift features.

TalissonVitorino/kmp-ios-skills · 24 tokens

swiftlint

Configure and roll out SwiftLint for an iOS/Swift (or KMP-iOS) fintech app — author .swiftlint.yml (disabledrules / optinrules / onlyrules / analyzerrules / included / excluded / customrules, per-rule severity thresholds, parentconfig / childconfig), wire it via the SwiftLintPlugins SPM build-tool plugin (SimplyDanny)…

TalissonVitorino/kmp-ios-skills · 251 tokens

kmp-networking

Ktor HTTP client for Kotlin Multiplatform - shared API layer in commonMain with per-target engines (OkHttp/Android engine on Android, Darwin on iOS), kotlinx.serialization, and shared error handling. Use for multiplatform or shared networking. For an Android-only Ktor/OkHttp client use ktor-patterns. For deeper…

TalissonVitorino/kmp-ios-skills · 105 tokens