astro-mobile: Skill for Claude Code

.claude/skills/kotlin-kmp-refactor-safety/SKILL.md

kotlin-kmp-refactor-safety is a skill for Claude Code from jitrapon/astro-mobile. It costs 42 tokens per session (1,351 once invoked), scanned A, original, no licence file.

A set of practices for safely changing existing Kotlin Multiplatform code. Refactoring means restructuring code without changing its intended behavior.

In plain words
What is it for?
Use it when planning, implementing, or reviewing KMP refactors and migrations.
Why use it?
It keeps changes limited, compatible, observable, and tested so they are easier to review and less likely to break users.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is jitrapon/astro-mobile's own configuration. It tells Claude Code how to work on astro-mobile itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything astro-mobile configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jitrapon/astro-mobile. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jitrapon/astro-mobile/main/.claude/skills/kotlin-kmp-refactor-safety/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jitrapon/astro-mobile

Made for: Claude Code.

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 kotlin-kmp-refactor-safety

README.md
[![agentmods](https://agentmods.dev/badge/skills/jitrapon/astro-mobile/kotlin-kmp-refactor-safety/github.svg)](https://agentmods.dev/skills/jitrapon/astro-mobile/kotlin-kmp-refactor-safety)
Your own site
<a href="https://agentmods.dev/skills/jitrapon/astro-mobile/kotlin-kmp-refactor-safety"><img src="https://agentmods.dev/badge/skills/jitrapon/astro-mobile/kotlin-kmp-refactor-safety/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 kotlin-kmp-refactor-safety

Your own site · 80×15
<a href="https://agentmods.dev/skills/jitrapon/astro-mobile/kotlin-kmp-refactor-safety"><img src="https://agentmods.dev/badge/skills/jitrapon/astro-mobile/kotlin-kmp-refactor-safety.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,351 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 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.00042 $0.01351
Opus 5.5 $0.00017 $0.00540
Sonnet 5.5 $0.00008 $0.00270
Haiku 4.5 $0.00004 $0.00135

Measured 2mo ago against content hash 4bacfd75736e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kotlin-kmp-refactor-safety 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 2mo 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.

.claude/skills/kotlin-kmp-refactor-safety/SKILL.md · 122 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

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. 2mo ago First seen · 122 lines · 42 tokens per session scan A 4bacfd75736e

Subscribe to this mod's changes

kotlin-kmp-refactor-safety is a skill published in the GitHub repository jitrapon/astro-mobile (11 stars, last pushed 3d ago), with no licence file. It adds 42 tokens to every session and 1,351 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

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

kotlin-android

Use when building or fixing a native Android app in Kotlin and Jetpack Compose on the UDF layered architecture — ViewModel/StateFlow, Hilt, Room, Retrofit, coroutines, type-safe Navigation, and the Gradle/AGP surface. NOT shared Android and iOS UI from one Kotlin codebase (that is compose-multiplatform).

ericrisco/rsc-harness · 78 tokens

release-kotlin-library

Use when preparing, publishing, or checking readiness for a Kotlin library release, including verifying its gradle-maven-publish-plugin prerequisite, reconciling changelogs and API snapshots, and checking publication.

chrisbanes/skills · 46 tokens

using-chrisbanes-skills

Use when routing Kotlin or Jetpack Compose work, or physical Android benchmark evidence that needs a configuration decision, especially when several Kotlin or Compose concerns overlap.

chrisbanes/skills · 38 tokens