jetpack-compose

jetpack-compose is a skill for Claude Code, Codex from GDvega/super-android-kotlin-firebase-skill. It costs 46 tokens per session (674 once invoked), scanned A, original, MIT.

A guide for building Android screens with Jetpack Compose, Android's Kotlin-based UI toolkit. It covers state-driven screens, navigation, Material 3 styling, previews, adaptive layouts, and basic accessibility.

In plain words
What is it for?
Use it to create or refactor Compose screens, connect ViewModels and StateFlow, add navigation and previews, and improve accessibility and adaptive layouts.
Why use it?
It keeps interface code separate from data and network work while making screen states easier to preview and test. It also helps avoid shared-state and scrolling-list problems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: $skill-name invocation.

Good fit Use it to create or refactor Compose screens, connect ViewModels and StateFlow, add navigation and previews, and improve accessibility and adaptive layouts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gdvega/super-android-kotlin-firebase-skill/jetpack-compose
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add GDvega/super-android-kotlin-firebase-skill --skill jetpack-compose
Clone the repo
git clone --depth 1 https://github.com/GDvega/super-android-kotlin-firebase-skill

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/gdvega/super-android-kotlin-firebase-skill/jetpack-compose/github.svg)](https://agentmods.dev/skills/gdvega/super-android-kotlin-firebase-skill/jetpack-compose)
Your own site
<a href="https://agentmods.dev/skills/gdvega/super-android-kotlin-firebase-skill/jetpack-compose"><img src="https://agentmods.dev/badge/skills/gdvega/super-android-kotlin-firebase-skill/jetpack-compose/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 jetpack-compose

Your own site · 80×15
<a href="https://agentmods.dev/skills/gdvega/super-android-kotlin-firebase-skill/jetpack-compose"><img src="https://agentmods.dev/badge/skills/gdvega/super-android-kotlin-firebase-skill/jetpack-compose.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 674 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 original 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.00046 $0.00674
Opus 5 $0.00023 $0.00337
Sonnet 5 $0.00009 $0.00135
Haiku 4.5 $0.00005 $0.00067

Measured 8d ago against content hash 2aacc951aa99, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

jetpack-compose 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 8d 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.

skills/jetpack-compose/SKILL.md · 102 lines

How it starts

The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

Build Compose UI that is maintainable, state-driven, accessible and aligned with Material 3.

When to use

  • Creating or refactoring a Compose screen.
  • Connecting ViewModel and StateFlow to UI.
  • Adding Navigation, previews, adaptive layouts or accessibility semantics.

Inputs to inspect

  • Composable files, UI state and ViewModel.
  • Theme/design system and Material 3 usage.
  • Navigation graph and route parameters.
  • Preview and UI test setup.

Required workflow

  1. Define UI state and user events.
  2. Create a Route composable for ViewModel and navigation wiring.
  3. Create a stateless Screen composable that renders state.
  4. Add previews for loading, empty, content and error states.
  5. Add semantics and tests for the critical flow.

Rules

  • Use Route + Screen for stateful screens.
  • Hoist state and keep reusable components stateless.
  • Do not perform network, database or Firebase calls in Composables.
  • Use Material 3 theme tokens.
  • Add stable keys for lazy lists.

Local skills to invoke

  • kotlin-core
  • accessibility
  • compose-performance
  • edge-to-edge-adaptive-ui
  • ui-state-design

External companion skills to use when installed

Do not assume these companion skills are installed. Prefer the local skills above first, then consult Companion Skills for install and verification commands.

  • aldefy/compose-skill — use for deeper Jetpack Compose, Material 3, design-to-code, theming or Compose architecture guidance.

Files commonly touched

  • feature/*/*Screen.kt
  • feature/*/*Route.kt
  • feature/*/*ViewModel.kt
  • navigation files
  • ui/theme files
  • androidTest Compose tests

Commands to validate

./gradlew assembleDebug
./gradlew test
./gradlew connectedDebugAndroidTest

Common mistakes to avoid

  • Passing ViewModel into reusable leaf components.
  • Using remember for business state that belongs in ViewModel.
  • Missing previews for error/empty states.
  • Ignoring semantics, content descriptions and font scale.

Read the full file on GitHub · 102 lines

Files

What ships with it

4 files 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.

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. 8d ago First seen · 102 lines · 46 tokens per session scan A 2aacc951aa99

Subscribe to this mod's changes

jetpack-compose is a skill published in the GitHub repository GDvega/super-android-kotlin-firebase-skill (2 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 674 once invoked, about $0.0002 per session on Opus 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.

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

ios-slim-bindings

Create iOS slim bindings for MAUI. USE FOR: slim iOS binding, Native Library Interop, Swift/Objective-C wrappers, XcodeGen project.yml, Podfile, CocoaPods static linking, BUILDLIBRARYFORDISTRIBUTION, XcodeProject MSBuild, @objc/[Export] selector crashes, async completion handlers. DO NOT USE FOR: Android bindings…

dotnet/maui-labs · 97 tokens

kmp-lsp

Kotlin/Java/Swift LSP server for code navigation in Android and iOS codebases. Use when navigating Kotlin, Java, or Swift source files: finding class definitions, listing symbols, jumping to implementations, finding all usages, checking type signatures, or switching workspace between projects. Triggers for: "find this…

Hessesian/kmp-lsp · 114 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