testing-compose-in-release-mode

testing-compose-in-release-mode is a skill for Claude Code, Codex from skydoves/compose-performance-skills. It costs 189 tokens per session (3,754 once invoked), scanned A, original, Apache-2.0.

A guide for measuring Jetpack Compose performance in a release build, with production-style settings such as code shrinking enabled and debug-only UI features disabled.

In plain words
What is it for?
Use it before reporting performance numbers, investigating regressions, setting up performance checks, or reading Compose compiler reports.
Why use it?
Debug builds can make startup, rendering, recomposition, and compiler measurements differ from what users experience in the released app.

Skill for Claude CodeCodex

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is // ../../stability/diagnosing-compose-stability/SKILL.md against the release reports..

Good fit Use it before reporting performance numbers, investigating regressions, setting up performance checks…

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/skydoves/compose-performance-skills
agentmods
npx agentmods add skills/skydoves/compose-performance-skills/testing-compose-in-release-mode

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 testing-compose-in-release-mode

README.md
[![agentmods](https://agentmods.dev/badge/skills/skydoves/compose-performance-skills/testing-compose-in-release-mode.svg)](https://agentmods.dev/skills/skydoves/compose-performance-skills/testing-compose-in-release-mode)
Your own site
<a href="https://agentmods.dev/skills/skydoves/compose-performance-skills/testing-compose-in-release-mode"><img src="https://agentmods.dev/badge/skills/skydoves/compose-performance-skills/testing-compose-in-release-mode.svg" alt="Measured on agentmods" height="20"></a>
Per session 189 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,754 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.00189 $0.03754
Opus 5 $0.00095 $0.01877
Sonnet 5 $0.00038 $0.00751
Haiku 4.5 $0.00019 $0.00375

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

Security

Grade A, and why

testing-compose-in-release-mode 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 7d 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.

measurement/testing-compose-in-release-mode/SKILL.md · 266 lines

How it starts

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

Testing Compose in Release Mode — Debug Builds Lie About Performance

Compose ships unbundled — its UI runtime is loaded from app code, runs interpreted in debug, and the Live Literals plugin turns every constant into a getter. Debug recomposition counts, debug startup numbers, and debug compiler reports are not what users experience. This skill teaches Claude how to set up a release-with-symbols build for honest measurement before any perf claim is made.

When to use this skill

  • The developer reports a perf number ("startup is 1.4s", "this composable recomposes 50 times per scroll") that came from a debug build, Layout Inspector against debug, or CompilationMode.None.
  • The developer is about to file a perf bug, open a regression report, or post benchmark numbers in a PR.
  • A CI perf gate is being designed (Macrobenchmark, baseline-profile diff, frame-timing budget).
  • The developer asks "why are my benchmark numbers so much worse than what I see on Play Store?".
  • Compose Compiler reports are about to be read — they MUST come from the release output directory or every conclusion is suspect.

When NOT to use this skill

  • Feature development before perf is in scope — debug iteration speed is fine while functionality is being built.
  • Behavior testing (correctness, integration, instrumentation tests for screens) — that is separate from perf testing and stays in debug.
  • Build configuration of R8 itself — see ../../build/configuring-r8-for-compose/SKILL.md.
  • Generating a Baseline Profile from a benchmark run — see ../generating-baseline-profiles/SKILL.md.
  • Reading individual lines of a Compose Compiler report — see ../../stability/diagnosing-compose-stability/SKILL.md.

Prerequisites

  • A working Android project with a Compose UI.
  • A release signing config. A debug-signed release-mode build is acceptable for measurement (use a signingConfig signingConfigs.debug on the release type), but unsigned release builds will not install.
  • Kotlin 2.0+ with the org.jetbrains.kotlin.plugin.compose Gradle plugin.
  • A real physical device to run on. Emulator and Cuttlefish numbers are not interchangeable with on-device numbers.
  • Familiarity with Macrobenchmark and Baseline Profiles helps but is not required.

Read the full file on GitHub · 266 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. 7d ago First seen · 266 lines · 189 tokens per session scan A 4c8a5f204388

Subscribe to this mod's changes

testing-compose-in-release-mode is a skill published in the GitHub repository skydoves/compose-performance-skills (496 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 189 tokens to every session and 3,754 once invoked, about $0.0009 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-30.

Related

Other skills, from other repositories

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…

Drjacky/claude-android-ninja · 123 tokens

rebrand

Rebrand a fresh clone of android-clean-template into a new app. Asks for the app name, application id, sample-feature and networking decisions, then executes docs/CLONECHECKLIST.md end to end. Use on a fresh un-rebranded clone (application id still com.mkchtv.cleantemplate) or when the user asks to set up, rename, or…

mykola-kichatov/android-clean-template · 85 tokens

sceneview

Build 3D and AR apps with the SceneView SDK in Jetpack Compose, SwiftUI (iOS/macOS/visionOS via SceneViewSwift), Web (Filament.js), Flutter and React Native. Use whenever the user asks for "3D in Compose", "AR with ARCore in Compose", a model viewer, or any cross-platform 3D/AR app where the dependency is…

sceneview/sceneview · 156 tokens

sceneview-ios

Build 3D and AR apps on Apple platforms (iOS, macOS, visionOS) with SceneViewSwift — the SwiftUI wrapper around RealityKit. Use whenever the user asks for "3D in SwiftUI", "AR with ARKit in SwiftUI", a model viewer for iOS, or any Apple-platform 3D/AR app where the dependency is the SceneViewSwift Swift Package from…

sceneview/sceneview · 148 tokens

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