kmp-snapshot-testing-setup

kmp-snapshot-testing-setup is a skill for Claude Code, Codex from TBSten/skills. It costs 179 tokens per session (2,433 once invoked), scanned A, original, no licence file.

A testing setup for Kotlin Multiplatform and Compose projects that compares program output with saved reference results, called snapshots. It also adds shared testing conventions and property-based testing foundations.

In plain words
What is it for?
Use it to set up shared snapshot tests, report tasks, and Kotest-based property tests for Kotlin Multiplatform and Compose code.
Why use it?
It removes the repeated work of wiring snapshot tests across platforms and modules. Saved snapshots make changes in rendered or calculated results easier to review.

Skill for Claude CodeCodex

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

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/tbsten/skills/kmp-snapshot-testing-setup
Any agent
npx skills add TBSten/skills --skill kmp-snapshot-testing-setup
Clone the repo
git clone --depth 1 https://github.com/TBSten/skills

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-snapshot-testing-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/tbsten/skills/kmp-snapshot-testing-setup.svg)](https://agentmods.dev/skills/tbsten/skills/kmp-snapshot-testing-setup)
Your own site
<a href="https://agentmods.dev/skills/tbsten/skills/kmp-snapshot-testing-setup"><img src="https://agentmods.dev/badge/skills/tbsten/skills/kmp-snapshot-testing-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 179 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,433 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.00179 $0.02433
Opus 5 $0.00089 $0.01216
Sonnet 5 $0.00036 $0.00487
Haiku 4.5 $0.00018 $0.00243

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

Security

Grade A, and why

kmp-snapshot-testing-setup 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 6d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (example/tools/snapshot-diff.sh, example/tools/snapshot-diff/step1-worktree.sh, example/tools/snapshot-diff/step2-record.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-snapshot-testing-setup/SKILL.md · 185 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

41 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 185 lines · 179 tokens per session scan A 10dff7631e6a

Subscribe to this mod's changes

kmp-snapshot-testing-setup is a skill published in the GitHub repository TBSten/skills (2 stars, last pushed 4d ago), with no licence file. It adds 179 tokens to every session and 2,433 once invoked, about $0.0009 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-ui-testing-patterns

Use when writing or reviewing Jetpack Compose UI tests, screenshot tests, previews, semantics assertions, fake image loading, keyboard input, focus assertions, interaction state (hover/pressed/focused), or tests for plain state-driven UI composables.

chrisbanes/skills · 54 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

compose-state-and-effects

Use when writing or reviewing Jetpack Compose state ownership, remember state, state hoisting, screen state holders, LaunchedEffect, DisposableEffect, SideEffect, Flow collection, navigation, snackbar, analytics, or focus requests.

chrisbanes/skills · 50 tokens

compose-component-design

Use when designing or reviewing reusable Jetpack Compose component APIs with modifier parameters, root layout placement, caller-provided variable content, primitive content parameters, optional content, or boolean shape flags.

chrisbanes/skills · 41 tokens

compose-performance

Use when investigating Jetpack Compose recomposition cost, compiler stability reports, skippability, unstable parameters, frame-rate State reads, cross-phase snapshot back-writing, or @ReadOnlyComposable contracts.

chrisbanes/skills · 42 tokens