Agent skill

Kmp Modules

by championswimmer in championswimmer/TwoFac

Guidance on where to place different types of code in this Kotlin Multiplatform project.

No licenceAuto-check passedMobile

Install Kmp Modules

skills CLI
$ npx skills add championswimmer/TwoFac --skill kmp-modules -a claude-code

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

GitHub CLI
$ gh skill install championswimmer/TwoFac kmp-modules --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/championswimmer/TwoFac.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/kmp-modules .claude/skills/kmp-modules && 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-modules
GitHub stars
130
Token cost
~1.1k tokens
SKILL.md length
509 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
None found

At a glance

Guidance on where to place different types of code in this Kotlin Multiplatform project.

  • Works in 4 steps: sharedLib (Shared Logic) → composeApp (GUI Library) → androidApp (Android App Entry Point) → …
  • Tasks that involve Cross-platform mobile apps
  • SKILL.md covers Project Modules, Source-Set Mapping (within… and Practical Reminders
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Kmp Modules is an agent skill from championswimmer/TwoFac. Guidance on where to place different types of code in this Kotlin Multiplatform project.

Its SKILL.md is about 1.1k 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 Cross-platform mobile apps. It works with Android. The repository describes itself as: 2FA Authenticator app that works on mobile, web, desktop, watches and CLI!

When your agent uses it

  • Tasks that involve Cross-platform mobile apps

Example prompts

  • “/kmp-modules”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. sharedLib (Shared Logic)
  2. composeApp (GUI Library)
  3. androidApp (Android App Entry Point)
  4. cliApp (Command Line Interface)

What it can do on your machine

Read from SKILL.md and the folder at commit 1360a71. 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

    No URLs in SKILL.md.

    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 Modules loads about 1.1k tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 509 words of instructions outside code blocks.

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

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 509 words (~1,070 tokens).

“This repository follows standard Kotlin Multiplatform source-set conventions, organized into distinct modules, each serving a specific purpose.”

— opening of SKILL.md by championswimmer
name
kmp-modules

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/kmp-modules of championswimmer/TwoFac.

Open the folder on GitHubat commit 1360a71

Compare with similar skills

Kmp Modules 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 Modules compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Kmp Modules this skillchampionswimmer/TwoFac130—~1.1kAutomated safety check: PassNone
Compose Multiplatform Patternsmonta-app/ocpp-emulator1805 repos~2kAutomated safety check: PassApache-2.0
Argent Metro Debuggerbbplayer-app/BBPlayer1.2k—~3.4kAutomated safety check: PassMIT
ThemingCode-with-Beto/skills140—~2.5kAutomated safety check: PassNone
Weapp Tailwindcss Lynxweapp-tailwindcss/weapp-tailwindcss1.9k—~374Automated safety check: PassMIT
Maui App Icons Splashdavidortinau/maui-skills175—~995Automated safety check: PassMIT

Similar skills

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

    180 GitHub starsUsed in 5 repos~2k tokens
    MobileAuto-check passed
  • Argent Metro Debugger

    bbplayer-app/BBPlayer

    Debug a JS runtime via CDP using argent debugger tools. An agent skill from bbplayer-app/BBPlayer.

    1.2k GitHub stars~3.4k tokensUpdated yesterday
    MobileAuto-check passed
  • Theming

    Code-with-Beto/skills

    Scaffold a unified, cross-platform color theme system into an Expo Router app.

    140 GitHub stars~2.5k tokensUpdated 2 mo ago
    MobileAuto-check passed
  • Weapp Tailwindcss Lynx

    weapp-tailwindcss/weapp-tailwindcss

    为 ReactLynx + Rspeedy 配置 @weapp-tailwindcss/lynx 0.3.2 与 Tailwind CSS 4,覆盖 Rspeedy plugin、Lynx 原生 CSS、静态 className、theme 变量静态化、任意值、encoder 警告和 iOS/Android 运行端验证。Use for ReactLynx, Rspeedy, Lynx…

    1.9k GitHub stars~374 tokensUpdated today
    MobileAuto-check passed
  • Maui App Icons Splash

    davidortinau/maui-skills

    .NET MAUI app icon configuration, splash screen setup, SVG to PNG conversion at build time, composed/adaptive icons, and platform-specific icon and splash screen requirements for Android, iOS, Mac…

    175 GitHub stars~995 tokensUpdated 3 mo ago
    MobileAuto-check passed
  • Android と Kotlin Multiplatform プロジェクトのクリーンアーキテクチャパターン — モジュール構造、依存関係ルール、UseCase、Repository、データ層パターン。

    276k GitHub stars~1.9k tokensUpdated 4 days ago
    MobileAuto-check passed

More from championswimmer/TwoFac

All 8 skills in this repo
  • Dependency Updates

    championswimmer/TwoFac

    Audit repo dependencies by default and only apply library upgrades when explicitly requested.

    130 GitHub stars~1k tokensUpdated 4 mo ago
    Auto-check passed
  • Simulators Emulators

    championswimmer/TwoFac

    How to list, pick, and boot Android emulators and iOS simulators for local app runs.

    130 GitHub stars~1.3k tokensUpdated 4 mo ago
    Auto-check passed
  • Gradle Build

    championswimmer/TwoFac

    Use Gradle commands to build and run the app by platform. An agent skill from championswimmer/TwoFac.

    130 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • UI Components

    championswimmer/TwoFac

    Structure and routing guide for composeApp screens, components, and their relationships.

    130 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • UI Testing

    championswimmer/TwoFac

    How to run, write, and debug local UI tests for Android, iOS, and browser builds.

    130 GitHub stars~215 tokensUpdated 4 mo ago
    Auto-check passed
  • Plan Roadmap

    championswimmer/TwoFac

    How to create plans and follow roadmaps

    130 GitHub stars~278 tokensUpdated 4 mo ago
    Auto-check passed

Works with

Categories

Questions about Kmp Modules

What does Kmp Modules do?

Guidance on where to place different types of code in this Kotlin Multiplatform project. Kmp Modules is an agent skill from championswimmer/TwoFac. Guidance on where to place different types of code in this Kotlin Multiplatform project.

When should I use Kmp Modules?

Kmp Modules fits situations like: tasks that involve Cross-platform mobile apps.

How do I install Kmp Modules in Claude Code?

Run `npx skills add championswimmer/TwoFac --skill kmp-modules -a claude-code`. Or copy the skill folder (.agents/skills/kmp-modules in championswimmer/TwoFac) into .claude/skills/kmp-modules in your project. Claude Code loads it when a task matches its description.

How do I install Kmp Modules in Codex?

Run `npx skills add championswimmer/TwoFac --skill kmp-modules -a codex`. Or copy the skill folder (.agents/skills/kmp-modules in championswimmer/TwoFac) into .agents/skills/kmp-modules in your project. Codex loads it when a task matches its description.

Can I use Kmp Modules 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 championswimmer/TwoFac --skill kmp-modules -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-modules, .gemini/skills/kmp-modules, .github/skills/kmp-modules and .opencode/skills/kmp-modules in your project.

What does Kmp Modules need to run?

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

Does Kmp Modules access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Kmp Modules 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 Modules use?

No licence was found for Kmp Modules or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Kmp Modules use?

About 1.1k tokens (SKILL.md is roughly 4.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 Modules?

Skills that share tags, products or a category with Kmp Modules: Compose Multiplatform Patterns (monta-app/ocpp-emulator, 180 stars), Argent Metro Debugger (bbplayer-app/BBPlayer, 1.2k stars), Theming (Code-with-Beto/skills, 140 stars) and Weapp Tailwindcss Lynx (weapp-tailwindcss/weapp-tailwindcss, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Kmp Modules?

championswimmer (a GitHub user) maintains it in championswimmer/TwoFac, which has 130 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on June 1, 2026.

Source: championswimmer/TwoFac on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.