Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/ashtanko/compose-android-templatenpx agentmods add skills/ashtanko/compose-android-template/add-android-moduleWrote 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.
[](https://agentmods.dev/skills/ashtanko/compose-android-template/add-android-module)<a href="https://agentmods.dev/skills/ashtanko/compose-android-template/add-android-module"><img src="https://agentmods.dev/badge/skills/ashtanko/compose-android-template/add-android-module/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.
<a href="https://agentmods.dev/skills/ashtanko/compose-android-template/add-android-module"><img src="https://agentmods.dev/badge/skills/ashtanko/compose-android-template/add-android-module.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00069 | $0.00583 |
| Opus 5.5 | $0.00028 | $0.00233 |
| Sonnet 5.5 | $0.00014 | $0.00117 |
| Haiku 4.5 | $0.00007 | $0.00058 |
Grade A, and why
add-android-module 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add Android Module
Create a module with explicit, repeatable inputs, then replace or remove generator placeholders and validate the new Gradle path.
Workflow
-
Read
../../reference/architecture.mdand inspectsettings.gradle.kts,gradle/libs.versions.toml,build-logic/convention, and the nearest working module of the same type. -
Choose:
type:androidfor Android APIs, resources, or Compose;kotlinfor platform-independent logic.name: lowercase letters, digits, and hyphens.parent: usuallyfeature,core, or an empty string for a root module.package: a valid dotted identifier under the project's current base package.
-
Inspect the working tree and confirm the target directory and Gradle path do not already exist. Preserve unrelated edits in
settings.gradle.kts. -
Run the generator non-interactively:
bash scripts/add-module.sh \ --type android \ --name profile \ --parent feature \ --package app.template.feature.profile -
Review every generated file. Replace the placeholder greeting class and test with the requested implementation, or remove them if the task only calls for an empty module.
-
Generated Android modules intentionally start without explicit library dependencies. Add only the direct dependencies required by the implementation, default to
implementation, and useapionly when a dependency type intentionally appears in the module's public contract. Use catalog aliases and existing convention plugins; do not hardcode versions. -
Confirm that the module appears exactly once in
settings.gradle.ktsand that its namespace and package path agree. -
Run
./gradlew spotlessApply, inspect the formatting diff, then run the module's unit-test task and./gradlew spotlessCheck.
Guardrails
- Do not run the generator interactively from an unattended agent session.
- Do not overwrite an existing module or discard concurrent changes to
settings.gradle.kts. - Do not assume every feature needs Compose, Hilt, Room, or navigation. Add only what its implementation requires.
- Do not add convenience
apidependencies to make libraries available transitively to consumers. - Do not retain sample code merely to make an empty module compile; use a minimal real contract or no source file.
- Report all created files and the exact validation tasks run.
What ships with it
1 file 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.
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.
- 1mo ago First seen · 45 lines · 69 tokens per session scan A 8c36ed7f8862
add-android-module is a skill published in the GitHub repository ashtanko/compose-android-template (13 stars, last pushed 4d ago), licensed MIT. It adds 69 tokens to every session and 583 once invoked, about $0.0003 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-31.
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.
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.
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).
claude-android-ninja
Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle. Use for new projects or modules, Compose screens and ViewModels, Room 3 and RemoteMediator, API 37 / targetSdk migration, Play Integrity client wiring…
migrating-to-modifier-node
Use this skill to author new custom Jetpack Compose modifiers and migrate legacy ones from Modifier.composed { } to Modifier.Node + ModifierNodeElement . Covers the persistent-node lifecycle (onAttach, onDetach, onReset, coroutineScope), the specialized node interfaces (DrawModifierNode, LayoutModifierNode…
setting-up-compose-hotswan
Use this skill to install and verify Compose HotSwan end to end so a developer goes from zero to working sub-second hot reload on a real device or emulator in one session. Covers the JetBrains IDE plugin install, the com.github.skydoves.compose.hotswan.compiler Gradle plugin wiring, the canonical hotSwanCompiler {…