Agent skill

Kmp Starter Utils

by DevAtrii in DevAtrii/Kmp-Starter-Template

Pure Kotlin helpers on the KMP Starter Template — the starter/utils module (no Compose).

MITAuto-check passedMobile

Install Kmp Starter Utils

skills CLI
$ npx skills add DevAtrii/Kmp-Starter-Template --skill kmp-starter-utils -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install DevAtrii/Kmp-Starter-Template kmp-starter-utils --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/DevAtrii/Kmp-Starter-Template.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/kmp-starter/utils .claude/skills/kmp-starter-utils && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
kmp-starter-utils
GitHub stars
167
Token cost
~823 tokens
SKILL.md length
231 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

Pure Kotlin helpers on the KMP Starter Template — the starter/utils module (no Compose).

  • Tasks that involve Project scaffolding
  • SKILL.md covers Variables, Data & time, kotlinx-datetime and Serialization, plus 4 more sections
  • Reaches starter.atherio.dev
  • Tasks that involve Android development

What it does

Kmp Starter Utils is an agent skill from DevAtrii/Kmp-Starter-Template. Pure Kotlin helpers on the KMP Starter Template — the starter/utils module (no Compose). Variable/string/int/bool extensions, time & kotlinx-datetime, JSON, FieldState/ComparableState, IntentUtils, Log, DataStore delegates, StarterFileManager, EnumException, ExperimentalStarterApi.

Its SKILL.md is about 820 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile, covering Project scaffolding and Android development. It works with Kotlin. The repository describes itself as: Starter template is a multi-module KMP boilerplate for Android & iOS with clean architecture and high-quality code. It handles basics like remote config, in-app purchases, and… The licence is MIT.

When your agent uses it

  • Tasks that involve Project scaffolding
  • Tasks that involve Android development

Example prompts

  • “/kmp-starter-utils”

What it can do on your machine

Read from SKILL.md and the folder at commit a8f7b27. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • starter.atherio.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Kmp Starter Utils loads about 823 tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 231 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~75
When it runs · the whole SKILL.md, loaded when a task matches
~823

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from DevAtrii/Kmp-Starter-Template at commit a8f7b27, republished under its MIT licence (© DevAtrii). 231 words, ~823 tokens.

Download SKILL.mdSave it as .claude/skills/kmp-starter-utils/SKILL.md (or your agent's skills folder).
name
kmp-starter-utils
description
Pure Kotlin helpers on the KMP Starter Template — the starter/utils module (no Compose). Variable/string/int/bool extensions, time & kotlinx-datetime, JSON, FieldState/ComparableState, IntentUtils, Log, DataStore delegates, StarterFileManager, EnumException, ExperimentalStarterApi.
author
DevAtrii
license
MIT

Utils

Reuse Starter's non-UI helpers. Do not write a Kotlin utility if starter/utils already ships one.

Accessor: projects.starter.utils. Package root com.kmpstarter.utils.*. No Compose — safe in ViewModels, repositories, and domain logic.

Variables

  • String: onEmpty(action), onNotEmpty(action), takeIfEmpty(action), takeIfNotEmpty(action), isEmail().
  • Int: safeDec() (won't go below 1).
  • Boolean: ifTrue(value|action), ifFalse(value|action), toggle().
  • Generic: T?.elze(value) — null-coalescing (this ?: value).

Data & time

  • ByteArray.toBase64().
  • currentMillis (property) / epochMillis() / hoursToMillis(hour).

kotlinx-datetime

  • LocalDate.today(), LocalDate.fromLong(millis), LocalDate.millis(), LocalDate.toLocalDateTime(...).
  • Clock.System.localDateTime(), Clock.System.currentInstant().
  • Month.length(year) — days in month, leap-year aware.
  • fromLong/millis take timeZone (default system); use TimeZone.UTC with Material 3 DatePicker.

Serialization

  • Any?.toJsonElement() — recursive conversion to JsonElement (nulls, maps, iterables, arrays, sequences, primitives; fallback .toString()).

Data classes

  • FieldState(value, error) — @Serializable; helpers isEmpty(), isValid(), updateValue(), updateError(), reset().
  • ComparableState<T>(value, initialValue) — hasChanges, updateValue(), reset(), updateAndReset(), updateAndResetIfNotError(isError, isSaving, newValue). Build with T.asComparableState().

Other

  • EnumException(reason) — IllegalStateException carrying an enum for when-exhaustive errors.
  • @ExperimentalStarterApi — opt in at call site (@OptIn(ExperimentalStarterApi::class)).
  • IntentUtils — openUrl, openAccessibility, shareText, writeToClipboard, readFromClipboard, sendEmail, printNativeView.
  • Log object — Log.d/i/w/e(tag?, message) (tag null → [KMP_STARTER]).
  • DataStore delegates — AppDataStore.stringDataStore/intDataStore/longDataStore/booleanDataStore/floatDataStore/doubleDataStore/stringSetDataStore/byteArrayDataStore/serializableDataStore (API: flow, get(), set(value), clear(); set(null) removes key). See data skill.
  • StarterFileManager + StarterFile — cross-platform file API (see data skill).
  • utilsModule — Koin module (includes commonUtilsModule + platformUtilsModule).

Rules

  • Search starter/utils first — before writing any string/int/bool extension, date helper, JSON util, or form state class.
  • FieldState + ComparableState are the form-state primitives; use them, don't invent equivalents.
  • Opt in to @ExperimentalStarterApi where the compiler requires it.
  • Color parsing lives in ui/utils (Color.fromHex), not here.

Reference

  • Docs (live site): https://starter.atherio.dev/utils/
  • Source: starter/utils/src/commonMain/kotlin/com/kmpstarter/utils/**

© DevAtrii, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/kmp-starter/utils of DevAtrii/Kmp-Starter-Template.

Open the folder on GitHubat commit a8f7b27

Compare with similar skills

Kmp Starter Utils next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Kmp Starter Utils compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Kmp Starter Utils this skillDevAtrii/Kmp-Starter-Template167—~823Automated safety check: PassMIT
Build Nitro Modulesmargelo/react-native-skills175—~9.9kAutomated safety check: PassMIT
Compose Multiplatform Patternsmonta-app/ocpp-emulator1795 repos~2kAutomated safety check: PassApache-2.0
Kotlin Patternsgetknit/knit1305 repos~4.7kAutomated safety check: PassGPL-3.0
Task Workflowikarenkov/Modo343—~2.4kAutomated safety check: PassNone
Summoncodeyousef/summon167—~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • Build Nitro Modules

    margelo/react-native-skills

    Builds and designs React Native Nitro Modules with Nitrogen, HybridObject TypeScript specs, Nitro View components, generated native implementations, zero-copy and native-state APIs, Swift/Kotlin/C++…

    175 GitHub stars~9.9k tokensUpdated 1 mo ago
    MobileAuto-check passed
  • Compose Multiplatform Patterns

    monta-app/ocpp-emulator

    Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.

    179 GitHub starsUsed in 5 repos~2k tokens
    MobileAuto-check passed
  • Kotlin Patterns

    getknit/knit

    Idiomatic Kotlin patterns, best practices, and conventions for building robust, efficient, and maintainable Kotlin applications with coroutines, null safety, and DSL builders.

    130 GitHub starsUsed in 5 repos~4.7k tokens
    MobileAuto-check passed
  • Task Workflow

    ikarenkov/Modo

    Spec-driven workflow for non-trivial work. An agent skill from ikarenkov/Modo.

    343 GitHub stars~2.4k tokensUpdated 3 mo ago
    DevelopmentAuto-check passed
  • Summon

    codeyousef/summon

    A skill your agent uses when developing applications with the Summon Kotlin Multiplatform UI framework.

    167 GitHub stars~1.1k tokensUpdated 1 mo ago
    MobileAuto-check passed
  • Add JSON Schema

    yontrack/yontrack

    Add a new downloadable JSON schema to the Resources page — Kotlin provider class only, auto-discovered by Spring.

    102 GitHub stars~883 tokensUpdated yesterday
    MobileAuto-check passed

More from DevAtrii/Kmp-Starter-Template

All 23 skills in this repo
  • Kmp Starter

    DevAtrii/Kmp-Starter-Template

    Build production Android & iOS apps on the KMP Starter Template (Clean Architecture, MVI, Koin, Compose Multiplatform).

    167 GitHub stars~3.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Kmp Starter Memory

    DevAtrii/Kmp-Starter-Template

    Persistent per-project memory for KMP Starter Template apps.

    167 GitHub stars~963 tokensUpdated 1 mo ago
    Auto-check passed
  • Kmp Starter Architecture

    DevAtrii/Kmp-Starter-Template

    Clean Architecture module and package layout for KMP Starter Template features — data/domain/presentation layers, core dependency rule, screen-based package organization, the Screen vs Content…

    167 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Kmp Starter Create Fresh App

    DevAtrii/Kmp-Starter-Template

    Research and plan a brand-new app before scaffolding it on the KMP Starter Template.

    167 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Kmp Starter Data

    DevAtrii/Kmp-Starter-Template

    Data layer on the KMP Starter Template — repositories and data sources, Logics guidance, DataStore persistence, Room database, StarterFileManager, and the Calf file picker.

    167 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Kmp Starter Feature Analytics

    DevAtrii/Kmp-Starter-Template

    The KMP Starter Template analytics system — AppEvent/EventsTracker, Analytics routing, Mixpanel + Firebase providers, combining providers, and runtime swaps.

    167 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Categories

Questions about Kmp Starter Utils

What does Kmp Starter Utils do?

Pure Kotlin helpers on the KMP Starter Template — the starter/utils module (no Compose). Kmp Starter Utils is an agent skill from DevAtrii/Kmp-Starter-Template. Pure Kotlin helpers on the KMP Starter Template — the starter/utils module (no Compose).

When should I use Kmp Starter Utils?

Kmp Starter Utils fits situations like: tasks that involve Project scaffolding; tasks that involve Android development.

How do I install Kmp Starter Utils in Claude Code?

Run `npx skills add DevAtrii/Kmp-Starter-Template --skill kmp-starter-utils -a claude-code`. Or copy the skill folder (.agents/skills/kmp-starter/utils in DevAtrii/Kmp-Starter-Template) into .claude/skills/kmp-starter-utils in your project. Claude Code loads it when a task matches its description.

How do I install Kmp Starter Utils in Codex?

Run `npx skills add DevAtrii/Kmp-Starter-Template --skill kmp-starter-utils -a codex`. Or copy the skill folder (.agents/skills/kmp-starter/utils in DevAtrii/Kmp-Starter-Template) into .agents/skills/kmp-starter-utils in your project. Codex loads it when a task matches its description.

Can I use Kmp Starter Utils in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add DevAtrii/Kmp-Starter-Template --skill kmp-starter-utils -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kmp-starter-utils, .gemini/skills/kmp-starter-utils, .github/skills/kmp-starter-utils and .opencode/skills/kmp-starter-utils in your project.

What does Kmp Starter Utils need to run?

SKILL.md names no scripts, command-line tools or credentials: Kmp Starter Utils is instructions for the agent only.

Does Kmp Starter Utils access the network?

SKILL.md names 1 domain. In commands or code: starter.atherio.dev; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Kmp Starter Utils safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Kmp Starter Utils use?

Kmp Starter Utils is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Kmp Starter Utils use?

About 823 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Kmp Starter Utils?

Skills that share tags, products or a category with Kmp Starter Utils: Build Nitro Modules (margelo/react-native-skills, 175 stars), Compose Multiplatform Patterns (monta-app/ocpp-emulator, 179 stars), Kotlin Patterns (getknit/knit, 130 stars) and Task Workflow (ikarenkov/Modo, 343 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Kmp Starter Utils?

DevAtrii (a GitHub user) maintains it in DevAtrii/Kmp-Starter-Template, which has 167 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on September 1, 2026.

Source: DevAtrii/Kmp-Starter-Template on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.