android-jetpack-compose

android-jetpack-compose is a skill for Claude Code, Codex from prasad-vennam/Awesome-Android-AI-Agent-Skills. It costs 23 tokens per session (767 once invoked), scanned A, original, MIT.

A guide for creating and improving Android user-interface components with Jetpack Compose, Android’s modern UI toolkit.

In plain words
What is it for?
Use it to build screens and components, move interfaces from XML to Compose, add Material 3 or dark themes, fix recomposition and list performance issues, and create animations.
Why use it?
It provides patterns for keeping components reusable, managing state correctly, applying themes, and addressing slow or poorly updating interfaces.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build screens and components, move interfaces from XML to Compose, add Material 3 or dark themes, fix recomposition and list performance issues, and create animations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prasad-vennam/awesome-android-ai-agent-skills/android-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 prasad-vennam/Awesome-Android-AI-Agent-Skills --skill android-jetpack-compose
Clone the repo
git clone --depth 1 https://github.com/prasad-vennam/Awesome-Android-AI-Agent-Skills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/prasad-vennam/awesome-android-ai-agent-skills/android-jetpack-compose/github.svg)](https://agentmods.dev/skills/prasad-vennam/awesome-android-ai-agent-skills/android-jetpack-compose)
Your own site
<a href="https://agentmods.dev/skills/prasad-vennam/awesome-android-ai-agent-skills/android-jetpack-compose"><img src="https://agentmods.dev/badge/skills/prasad-vennam/awesome-android-ai-agent-skills/android-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 android-jetpack-compose

Your own site · 80×15
<a href="https://agentmods.dev/skills/prasad-vennam/awesome-android-ai-agent-skills/android-jetpack-compose"><img src="https://agentmods.dev/badge/skills/prasad-vennam/awesome-android-ai-agent-skills/android-jetpack-compose.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 767 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.00023 $0.00767
Opus 5 $0.00012 $0.00383
Sonnet 5 $0.00005 $0.00153
Haiku 4.5 $0.00002 $0.00077

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

Security

Grade A, and why

android-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 11d 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/android-jetpack-compose/SKILL.md · 93 lines

How it starts

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

Android Jetpack Compose Excellence 🎨

Expert guidance for building modern, high-performance Android UI with Jetpack Compose.

⚡ When to Use

  • New Feature UI: Starting a new screen or custom component.
  • UI Refactoring: Moving from XML to Compose or legacy Compose to modern patterns.
  • Theming: Implementing Material 3, Dark Mode, or Custom Design Systems.
  • Performance Fixes: Debugging recomposition issues or laggy lists.
  • Animations: Adding smooth transitions and micro-interactions.

🏗️ Core Principles

1. State Management (Hoisting)

  • Rule: Composables should be stateless where possible. Hoist state to the caller.
  • Bad:
    @Composable
    fun SearchBar() {
        val text = remember { mutableStateOf("") } // Local state in reusable component
        TextField(value = text.value, onValueChange = { text.value = it })
    }
    
  • Good:
    @Composable
    fun SearchBar(
        query: String,
        onQueryChange: (String) -> Unit
    ) {
        TextField(value = query, onValueChange = onQueryChange)
    }
    

2. Slot API Pattern

  • For complex components, use "Slots" (content parameters) to increase flexibility.
    @Composable
    fun AppHeader(
        title: @Composable () -> Unit,
        actions: @Composable RowScope.() -> Unit = {}
    ) { ... }
    

3. Material 3 (M3)

  • Always prefer androidx.compose.material3 components.
  • Use ColorScheme, Typography, and Shapes from the theme.

🚀 Performance Checklist

  • Lambda Stability: Method references (::onAction) or bound lambdas (val -> action(val)) are safer for stability than capturing unstable variables.
  • derivedStateOf: Use when a state depends on another state that changes frequently (e.g., scroll position).
  • remember(key): Correctly keying remember blocks to avoid stale data.
  • Lists: Use LazyColumn / LazyRow and ALWAYS provide a key to items.

🎨 Animations

  • AnimatedVisibility: For simple appear/disappear.
  • animateColorAsState: For smooth color changes.
  • Transition: For complex, multi-state animations.
  • Lottie: Use lottie-compose for complex vector animations.

Read the full file on GitHub · 93 lines

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. 11d ago First seen · 93 lines · 23 tokens per session scan A e8c4a3c50114

Subscribe to this mod's changes

android-jetpack-compose is a skill published in the GitHub repository prasad-vennam/Awesome-Android-AI-Agent-Skills (9 stars, last pushed 5mo ago), licensed MIT. It adds 23 tokens to every session and 767 once invoked, about $0.0001 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

expo-design-system

Framework (OSS). Build and maintain a design system inside an Expo app - a reusable theme of design tokens (color, spacing, typography, radius, shadow, motion), reusable component structure with variant/size/state prop conventions, and rules for when to extract a repeated view into a shared component. Use when…

expo/skills · 201 tokens

flutter-build-responsive-layout

Use LayoutBuilder, MediaQuery, or Expanded/Flexible to create a layout that adapts to different screen sizes. Use when you need the UI to look good on both mobile and tablet/desktop form factors.

flutter/agent-plugins · 51 tokens

display-glasses-with-jetpack-compose-glimmer

Provides guidelines for developing projected Android XR apps for display glasses using the Jetpack Compose Glimmer UI toolkit. This skill covers foundational Glimmer design principles, workflows for implementing Jetpack Compose Glimmer, and interaction models for the glasses form factor. Use this skill to build an…

android/skills · 91 tokens

omh-apple-design

This is a Hermes-native apple-design workflow skill.

rlaope/oh-my-hermes · 73 tokens

axiom-audit-liquid-glass

Use when the user mentions Liquid Glass review, iOS 26 UI updates, toolbar improvements, or visual effect migration.

CharlesWiltgen/Axiom · 32 tokens

axiom-audit-ux-flow

Use when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app.

CharlesWiltgen/Axiom · 43 tokens