kmp-architecture

kmp-architecture is a skill for Claude Code, Codex from meshtastic/Meshtastic-Android. It costs 0 tokens per session (1,624 once invoked), scanned A, original, GPL-3.0.

Guidelines for organizing Kotlin Multiplatform source sets and shared code across platforms. Kotlin Multiplatform lets one project share Kotlin code between platforms such as Android and iOS.

In plain words
What is it for?
Use it when designing or reviewing Kotlin Multiplatform architecture and platform integrations.
Why use it?
It helps keep platform-specific code, shared abstractions, networking, databases, and integrations arranged consistently.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

About the project

Meshtastic-Android is an Android and Compose Desktop app for communicating through open-source mesh radios, which relay messages between nearby devices instead of relying on a conventional network. It is used with Meshtastic devices for messaging, node and channel discovery, location features, telemetry, and device management.

meshtastic/Meshtastic-Android · 1,827 stars · on GitHub · meshtastic.org

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/meshtastic/meshtastic-android/kmp-architecture
Any agent
npx skills add meshtastic/Meshtastic-Android --skill kmp-architecture
Clone the repo
git clone --depth 1 https://github.com/meshtastic/Meshtastic-Android

Made for: Claude Code, Codex.

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 kmp-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/meshtastic/meshtastic-android/kmp-architecture.svg)](https://agentmods.dev/skills/meshtastic/meshtastic-android/kmp-architecture)
Your own site
<a href="https://agentmods.dev/skills/meshtastic/meshtastic-android/kmp-architecture"><img src="https://agentmods.dev/badge/skills/meshtastic/meshtastic-android/kmp-architecture.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,624 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00000 $0.01624
Opus 5 $0.00000 $0.00812
Sonnet 5 $0.00000 $0.00325
Haiku 4.5 $0.00000 $0.00162

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

Security

Grade A, and why

kmp-architecture 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 yesterday.

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/kmp-architecture/SKILL.md · 62 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. yesterday First seen · 62 lines · 0 tokens per session scan A a9200064c30a

Subscribe to this mod's changes

kmp-architecture is a skill published in the GitHub repository meshtastic/Meshtastic-Android (1,827 stars, last pushed today), licensed GPL-3.0. It costs nothing until one of its globs matches a file; then it loads 1,624 tokens. 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-04.

Related

Other skills, from other repositories

compose-side-effects

Use when writing or reviewing Jetpack Compose code with LaunchedEffect, DisposableEffect, SideEffect, rememberCoroutineScope, rememberUpdatedState, snapshotFlow, snackbar, navigation, focus requests, analytics, or event Flow collection. Technique-layer skill — complements the codebase-specific compose-expert.

vitorpamplona/amethyst · 62 tokens

compose-animations

Use when writing or reviewing Jetpack Compose motion: visibility enter/exit, animating one property toward a target, color or size transitions, multiple properties from one state, switching composable content, or choosing between AnimatedVisibility, animateAsState, rememberTransition, AnimatedContent, and Crossfade.

chrisbanes/skills · 64 tokens

compose-focus-navigation

Use when writing or reviewing Jetpack Compose UI for TV, keyboard, desktop, accessibility focus, D-pad navigation, FocusRequester, focusProperties, key events, or initial focus behavior.

chrisbanes/skills · 41 tokens

android-navigation-3

Install and migrate to Jetpack Navigation 3. Use when implementing Navigation 3 patterns including NavDisplay, NavKey routes, deep links, multiple backstacks, scenes (dialogs, bottom sheets), or migrating from Navigation 2.

HoangNguyen0403/agent-skills-standard · 52 tokens

kotlin-multiplatform

Platform abstraction decision-making for Amethyst KMP project. Guides when to abstract vs keep platform-specific, source set placement (commonMain, jvmAndroid, platform-specific), expect/actual patterns. Covers primary targets (Android, JVM/Desktop, iOS) with web/wasm future considerations. Integrates with…

maxrave-dev/SimpMusic · 114 tokens

compose-navigation

Implement navigation in Jetpack Compose using Navigation Compose. Use when asked to set up navigation, pass arguments between screens, handle deep links, or structure multi-screen apps.

maxrave-dev/SimpMusic · 36 tokens