Agent skill

Module Routing

by championswimmer in championswimmer/TwoFac

Guidelines for where to place different types of code in a Kotlin Multiplatform project.

No licenceAuto-check passedMobile

Install Module Routing

skills CLI
$ npx skills add championswimmer/TwoFac --skill module-routing -a claude-code

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

GitHub CLI
$ gh skill install championswimmer/TwoFac module-routing --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/module-routing .claude/skills/module-routing && 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
module-routing
GitHub stars
130
Token cost
~162 tokens
SKILL.md length
69 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
None found

At a glance

Guidelines for where to place different types of code in a Kotlin Multiplatform project.

  • Works in 6 steps: Put reusable OTP/business logic in… → Put cross-platform UI in… → Put platform-specific shared code (DI… → …
  • Tasks that involve Cross-platform mobile apps
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Module Routing is an agent skill from championswimmer/TwoFac. Guidelines for where to place different types of code in a Kotlin Multiplatform project.

Its SKILL.md is about 160 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. 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

  • “Use the module-routing skill to guideline for where to place different types of code in a Kotlin Multiplatform project”
  • “/module-routing”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Put reusable OTP/business logic in sharedLib.
  2. Put cross-platform UI in composeApp/src/commonMain.
  3. Put platform-specific shared code (DI modules, biometrics, wear sync, storage) in composeApp/src/Main.
  4. Put Android app entry point (Application, Activity, manifest, icons) in androidApp.
  5. Put terminal UX and command wiring in cliApp.
  6. Put Wear-only UI and Android watch integration in watchApp.

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

Module Routing loads about 162 tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 69 words of instructions outside code blocks.

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

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 69 words (~162 tokens).

“Use this when deciding where a change belongs.”

— opening of SKILL.md by championswimmer
name
module-routing

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/module-routing of championswimmer/TwoFac.

Open the folder on GitHubat commit 1360a71

Compare with similar skills

Module Routing 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.

Module Routing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Module Routing this skillchampionswimmer/TwoFac130—~162Automated safety check: PassNone
React Native Best Practicesvercel-labs/openreview1.7k17 repos~1.1kAutomated safety check: PassMIT
Compose Multiplatform Patternsmonta-app/ocpp-emulator1805 repos~2kAutomated safety check: PassApache-2.0
Creating Reanimated Animationsgluestack/gluestack-ui5.3k—~2.4kAutomated safety check: PassNone
Uni-app Components and APIsfeige996/unibest2.3k—~1.6kAutomated safety check: PassMIT
Add Flutter Docusaurus Localematthiasn/lotti1.2k—~1.2kAutomated safety check: PassGPL-3.0

Similar skills

  • React Native Best Practices

    vercel-labs/openreview

    Official

    A prioritized rule set for React Native and Expo apps covering list performance, animation, navigation, UI patterns, state, rendering, monorepos and configuration.

    1.7k GitHub starsUsed in 17 repos~1.1k tokens
    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.

    180 GitHub starsUsed in 5 repos~2k tokens
    MobileAuto-check passed
  • Creating Reanimated Animations

    gluestack/gluestack-ui

    Generate React Native Reanimated animation code for React Native apps.

    5.3k GitHub stars~2.4k tokensUpdated 1 mo ago
    MobileAuto-check passed
  • Gives per-component and per-API examples, reference specs and compatibility notes for building cross-platform uni-app apps, mirroring the official documentation.

    2.3k GitHub stars~1.6k tokensUpdated 24 days ago
    MobileAuto-check passed
  • Add, complete, or audit a locale across a Flutter application's ARB catalogs and a localized Docusaurus manual, including generated localization code, locale selectors, native platform declarations…

    1.2k GitHub stars~1.2k tokensUpdated today
    MobileAuto-check passed
  • Jetpack Compose Expert

    aldefy/compose-skill

    Guides Jetpack Compose and Compose Multiplatform work across Android, Desktop, iOS and web, plus Android TV, Material 3 motion, paging, navigation and design-to-code.

    596 GitHub stars~4.8k tokensUpdated 2 mo 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
  • Kmp Modules

    championswimmer/TwoFac

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

    130 GitHub stars~1.1k 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

Categories

Questions about Module Routing

What does Module Routing do?

Guidelines for where to place different types of code in a Kotlin Multiplatform project. Module Routing is an agent skill from championswimmer/TwoFac. Guidelines for where to place different types of code in a Kotlin Multiplatform project.

When should I use Module Routing?

Module Routing fits situations like: tasks that involve Cross-platform mobile apps.

How do I install Module Routing in Claude Code?

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

How do I install Module Routing in Codex?

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

Can I use Module Routing 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 module-routing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/module-routing, .gemini/skills/module-routing, .github/skills/module-routing and .opencode/skills/module-routing in your project.

What does Module Routing need to run?

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

Does Module Routing 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 Module Routing 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 Module Routing use?

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

How many tokens does Module Routing use?

About 162 tokens (SKILL.md is roughly 648 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 Module Routing?

Skills that share tags, products or a category with Module Routing: React Native Best Practices (vercel-labs/openreview, 1.7k stars), Compose Multiplatform Patterns (monta-app/ocpp-emulator, 180 stars), Creating Reanimated Animations (gluestack/gluestack-ui, 5.3k stars) and Uni-app Components and APIs (feige996/unibest, 2.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Module Routing?

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.