media3-adaptive-compose-ui

media3-adaptive-compose-ui is a skill for Claude Code, Codex from sunnat629/android-media-pack. It costs 34 tokens per session (523 once invoked), scanned A, original, Apache-2.0.

A set of guidelines for building Media3 video-player interfaces with Jetpack Compose that adapt to phones, tablets, foldable devices, large screens, and changing orientations.

In plain words
What is it for?
Use it when creating responsive Android media players, including two-pane layouts, playlist panels, queues, and keyboard or D-pad navigation.
Why use it?
It prevents layouts, video surfaces, controls, safe areas, and accessibility behavior from breaking when screen size or device posture changes.

Skill for Claude CodeCodex

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

Good fit Use it when creating responsive Android media players, including two-pane layouts, playlist panels, queues, and keyboard or D-pad navigation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sunnat629/android-media-pack/media3-adaptive-compose-ui
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 sunnat629/android-media-pack --skill media3-adaptive-compose-ui
Clone the repo
git clone --depth 1 https://github.com/sunnat629/android-media-pack

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 media3-adaptive-compose-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/sunnat629/android-media-pack/media3-adaptive-compose-ui/github.svg)](https://agentmods.dev/skills/sunnat629/android-media-pack/media3-adaptive-compose-ui)
Your own site
<a href="https://agentmods.dev/skills/sunnat629/android-media-pack/media3-adaptive-compose-ui"><img src="https://agentmods.dev/badge/skills/sunnat629/android-media-pack/media3-adaptive-compose-ui/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 media3-adaptive-compose-ui

Your own site · 80×15
<a href="https://agentmods.dev/skills/sunnat629/android-media-pack/media3-adaptive-compose-ui"><img src="https://agentmods.dev/badge/skills/sunnat629/android-media-pack/media3-adaptive-compose-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 523 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.00034 $0.00523
Opus 5 $0.00017 $0.00262
Sonnet 5 $0.00007 $0.00105
Haiku 4.5 $0.00003 $0.00052

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

Security

Grade A, and why

media3-adaptive-compose-ui 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 9d 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/media/ui/media3-adaptive-compose-ui/SKILL.md · 61 lines

What it actually says

Trigger

Use for responsive player UI across mobile, tablet, foldable, landscape, split-screen, and large-screen layouts.

Rules

  • Start with media3-compose-ui-material3 for player surface and controls.
  • Pin Media3 to 1.10.1 through the version catalog.
  • Keep video surface dimensions stable across state changes; controls must not resize content unexpectedly.
  • Read the size class from currentWindowAdaptiveInfo().windowSizeClass (material3-adaptive) and branch with isWidthAtLeastBreakpoint checks against the WindowSizeClass bound constants, not fixed phone breakpoints.
  • The WindowWidthSizeClass/WindowHeightSizeClass bucket enums are deprecated in androidx.window 1.4; DO NOT add new code that switches on them.
  • Reserve safe space for status bars, navigation bars, cutouts, hinges, and IME.
  • On tablets/foldables, consider two-pane media-detail layouts, playlist rails, or persistent queue panels.
  • Keep accessibility labels, touch targets, focus order, and keyboard/D-pad traversal valid across sizes.

Example

val windowSizeClass = currentWindowAdaptiveInfo().windowSizeClass
when {
    windowSizeClass.isWidthAtLeastBreakpoint(
        WindowSizeClass.WIDTH_DP_EXPANDED_LOWER_BOUND
    ) -> ExpandedPlayerScaffold()
    windowSizeClass.isWidthAtLeastBreakpoint(
        WindowSizeClass.WIDTH_DP_MEDIUM_LOWER_BOUND
    ) -> MediumPlayerScaffold()
    else -> CompactPlayerScaffold()
}

Do Not

  • Do not scale text with viewport width.
  • Do not let controls overlap system bars or video subtitles.
  • Do not use the phone layout unchanged on tablets or foldables.
  • media3-compose-ui-material3
  • media3-video-playback
  • migrate-xml-ui-to-compose
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. 9d ago First seen · 61 lines · 34 tokens per session scan A 91e445192714

Subscribe to this mod's changes

media3-adaptive-compose-ui is a skill published in the GitHub repository sunnat629/android-media-pack (13 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 34 tokens to every session and 523 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-30.

Related

Other skills, from other repositories

truesheet-usage

Consumer-side guide for integrating @lodev09/react-native-true-sheet into a React Native app. Use this skill whenever the user wants to add, configure, control, or debug a bottom sheet using TrueSheet — including ref-based sheets, named global sheets, web support with TrueSheetProvider/useTrueSheet, React Navigation…

lodev09/react-native-true-sheet · 169 tokens

uniwind

Uniwind — Tailwind CSS v4 styling for React Native. Use when adding, building, or debugging components in a React Native project that uses Uniwind classNames. Covers setup, Metro config, global.css, theming, className props, accent- color props, platform/data/state/responsive variants, CSS variables, custom utilities…

uni-stack/uniwind · 130 tokens

e2e-testing

AI-powered E2E testing for any app — Flutter, React Native, iOS, Android, Electron, Tauri, KMP, .NET MAUI. Connects via MCP to running apps so the agent can take screenshots, tap elements, enter text, scroll, inspect UI trees, and verify state with natural language. Use when the user wants to test an app's UI…

ai-dashboad/flutter-skill · 107 tokens

maui-blazor-hybrid

Build/debug MAUI Blazor Hybrid. USE FOR: BlazorWebView vs HybridWebView, Razor UI, embedded HTML/JS, AddMauiBlazorWebView, root components, JS/.NET messaging, trim-safe JSON, wwwroot assets, auth/data handoff, DevFlow CDP route/DOM debugging. DO NOT USE FOR: pure XAML UI or browser-only apps.

dotnet/maui-labs · 88 tokens

react-native-expert

Expert in React Native, cross-platform mobile development, native modules, and performance optimization. Use when the user mentions mobile, JavaScript, TypeScript, cross platform, iOS, or Android, or when the task involves React Native Architecture, Component Types, Hooks Essentials, or Navigation.

personamanagmentlayer/pcl · 62 tokens

migrate-nativewind-to-uniwind

Migrate a React Native project from NativeWind to Uniwind. Use when the user wants to replace NativeWind with Uniwind, upgrade from NativeWind, switch to Uniwind, or mentions NativeWind-to-Uniwind migration. Handles package removal, config migration, Tailwind 4 upgrade, cssInterop removal, theme conversion, and all…

uni-stack/uniwind · 82 tokens