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.
npx skills add TalissonVitorino/kmp-ios-skills --skill shared-modelsgit clone --depth 1 https://github.com/TalissonVitorino/kmp-ios-skillsWrote 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.
[](https://agentmods.dev/skills/talissonvitorino/kmp-ios-skills/shared-models)<a href="https://agentmods.dev/skills/talissonvitorino/kmp-ios-skills/shared-models"><img src="https://agentmods.dev/badge/skills/talissonvitorino/kmp-ios-skills/shared-models/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.
<a href="https://agentmods.dev/skills/talissonvitorino/kmp-ios-skills/shared-models"><img src="https://agentmods.dev/badge/skills/talissonvitorino/kmp-ios-skills/shared-models.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.03040 |
| Opus 5.5 | $0.00010 | $0.01216 |
| Sonnet 5.5 | $0.00005 | $0.00608 |
| Haiku 4.5 | $0.00003 | $0.00304 |
Grade A, and why
shared-models 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 22d 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.
How it starts
The opening of the file, as written. The whole thing — 405 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Shared Models for KMP
Design and implement data models that work across all platforms in shared/commonMain.
Core Dependencies
// build.gradle.kts (shared module)
kotlin {
sourceSets {
commonMain.dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.13.0")
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.8.0")
// As of kotlinx-datetime 0.7, Instant/Clock moved to kotlin.time
// (import kotlin.time.Instant / kotlin.time.Clock); LocalDate/TimeZone stay in kotlinx.datetime.
// 0.7.1+ keeps kotlinx.datetime.Instant/Clock as typealiases for migration.
// kotlin.time.Instant/Clock are stable since Kotlin 2.3; on 2.1.20-2.2.x they still
// require @OptIn(ExperimentalTime::class).
}
}
}
Enable serialization plugin:
plugins {
kotlin("multiplatform") version "2.4.10"
kotlin("plugin.serialization") version "2.4.10" // must match your Kotlin version
}
Domain Models
1. Immutable Data Classes
// commonMain/kotlin/com/example/shared/model/User.kt
import kotlin.time.Instant
@Serializable
data class User(
val id: String,
val name: String,
val email: String,
val avatarUrl: String?,
val createdAt: Instant,
val lastActiveAt: Instant?
)
2. Sealed Hierarchies
// commonMain/kotlin/com/example/shared/model/UiState.kt
@Serializable
sealed class UiState<out T> {
@Serializable
data object Loading : UiState<Nothing>()
@Serializable
data class Success<T>(val data: T) : UiState<T>()
@Serializable
data class Error(val message: String, val code: String? = null) : UiState<Nothing>()
}
// Usage with type parameter
@Serializable
sealed class HomeState {
@Serializable
data object Loading : HomeState()
@Serializable
data class Loaded(val user: User, val items: List<Item>) : HomeState()
@Serializable
data class Error(val message: String) : HomeState()
}
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.
- 22d ago Changed 3bbb14ba9300
- 24d ago Changed c6be624a14f3
- 3mo ago First seen · 405 lines · 25 tokens per session scan A 7424c41f6ce7
shared-models is a skill published in the GitHub repository TalissonVitorino/kmp-ios-skills (16 stars, last pushed 3d ago), licensed MIT. It adds 25 tokens to every session and 3,040 once invoked, about $0.0001 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-09-03.
shared-models compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| shared-modelsTalissonVitorino/kmp-ios-skills | Skill | 16 | 3d ago | MIT | A | 25 | Claude Code, Codex |
| compose-multiplatformericrisco/rsc-harness | Skill | 707 | 2d ago | MIT | A | 80 | Claude Code, Codex |
| cmp-dev-clientkvdm-co-pilot/create-cmp | Skill | 0 | 11d ago | MIT | A | 139 | Claude Code |
| cmp-previewkvdm-co-pilot/create-cmp | Skill | 0 | 11d ago | MIT | B | 205 | Claude Code |
| compose-animationschrisbanes/skills | Skill | 1.2k | yesterday | Apache-2.0 | A | 67 | Claude Code |
| compose-focus-navigationchrisbanes/skills | Skill | 1.2k | yesterday | Apache-2.0 | A | 41 | Claude Code |
| ios-slim-bindingsdotnet/maui-labs | Skill | 244 | today | MIT | A | 97 | Claude Code, Codex |