media3-tv-leanback-ui

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

Guidance for building Android TV video playback screens, especially how remote-control direction buttons move focus and how controls remain visible on a television. It covers both modern Compose for TV apps and older Leanback apps.

In plain words
What is it for?
Designing or maintaining Android TV players, handling D-pad focus and transport keys, making controls safe from overscan, and choosing between Compose for TV and legacy Leanback.
Why use it?
It helps avoid unusable TV interfaces, such as controls that cannot be reached with a remote or are hidden near the screen edge.

Skill for Claude CodeCodex

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

Good fit Designing or maintaining Android TV players, handling D-pad focus and transport keys, making controls safe from overscan, and choosing between Compose for TV and legacy Leanback.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sunnat629/android-media-pack/media3-tv-leanback-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-tv-leanback-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-tv-leanback-ui

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sunnat629/android-media-pack/media3-tv-leanback-ui"><img src="https://agentmods.dev/badge/skills/sunnat629/android-media-pack/media3-tv-leanback-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 675 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.00059 $0.00675
Opus 5 $0.00030 $0.00338
Sonnet 5 $0.00012 $0.00135
Haiku 4.5 $0.00006 $0.00068

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

Security

Grade A, and why

media3-tv-leanback-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 10d 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-tv-leanback-ui/SKILL.md · 65 lines

How it starts

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

Trigger

Use for Android TV playback screens, remote/D-pad interaction, Compose for TV player UI, or maintenance of an existing Leanback app that uses media3-ui-leanback.

Rules

  • Start with streaming-media-architecture for ownership and telemetry, then specialize for TV.
  • Pin Media3 to 1.10.1 through the version catalog.
  • androidx.leanback is formally deprecated. Its release page states the artifact and its classes are deprecated and points to Compose for TV. media3-ui-leanback wraps that deprecated stack.
  • New TV apps MUST use Compose for TV (androidx.tv:tv-material) with the standard Media3 Compose surface (PlayerSurface/ContentFrame from media3-ui-compose).
  • Use Leanback plus media3-ui-leanback (LeanbackPlayerAdapter) only when maintaining an existing Leanback app. DO NOT add it to new code.
  • When an existing Leanback app is being modernized, follow the official migration guide: https://developer.android.com/training/tv/playback/leanback/migrate-to-compose
  • On both stacks, design for D-pad focus, visible selected state, back/menu behavior, and transport keys.
  • Keep video controls readable at TV distance and safe from overscan/system UI.
  • Use TV-friendly browse/playback flows; avoid phone gestures as required controls.
  • Test focus order before claiming the TV UI is done.

Example

New TV app (Compose for TV):

tv-material = { module = "androidx.tv:tv-material", version.ref = "tvMaterial" }
media3-ui-compose = { module = "androidx.media3:media3-ui-compose", version.ref = "media3" }

Existing Leanback app, maintenance only:

media3-ui-leanback = { module = "androidx.media3:media3-ui-leanback", version.ref = "media3" }

Do Not

  • DO NOT start a new TV app on Leanback or media3-ui-leanback.
  • DO NOT ship a TV UI that requires touch.
  • DO NOT hide focus state.
  • DO NOT reuse cramped phone controls without TV spacing and focus checks.
  • media3-compose-ui-material3
  • media3-view-ui-player
  • media3-video-playback
  • media3-background-playback-service

Read the full file on GitHub · 65 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. 10d ago First seen · 65 lines · 59 tokens per session scan A 5a39386ee09a

Subscribe to this mod's changes

media3-tv-leanback-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 59 tokens to every session and 675 once invoked, about $0.0003 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

analyzing-android-malware-with-apktool

Perform static analysis of Android APK malware using apktool for resource decompilation, jadx for Java source recovery, and androguard for manifest inspection, dangerous permission-combination detection, and identification of obfuscated code, dynamic code loading, and reflection-based API calls. Use to statically…

mukul975/Anthropic-Cybersecurity-Skills · 84 tokens

solopi-ai

A command-line framework for testing Android apps and devices with SoloPi, including on-device or cloud AI decision models. It manages devices, test cases, recorded interactions, replays, performance history, and evidence.

alipay/SoloPi · 127 tokens

argent-tv-interact

Control and inspect TV apps via argent — Apple TV (tvOS), Android TV (leanback), and Amazon Fire TV (Vega). Boot the target, read focus, navigate with the D-pad remote, type, screenshot, and on Vega debug the JS runtime (evaluate, console logs, network inspector). Use when a task targets a TV (runtimeKind "tv", or…

software-mansion/argent · 107 tokens

app-store-preflight-compliance

Pre-submission compliance scanner workflow for Apple App Store apps. Use when reviewing iOS, macOS, tvOS, watchOS, or visionOS projects (Swift, Objective-C, React Native, Expo) for App Store rejection risks, submission readiness, privacy compliance, or guideline violations.

RevylAI/greenlight · 65 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

maui-auth-secure-storage

Implement MAUI auth and secure storage. USE FOR: WebAuthenticator/MSAL, OAuth/OIDC redirects, Entra ID, callback URIs, Android intent filters, CFBundleURLTypes, token cache cleanup, SecureStorage, logout, Blazor Hybrid auth handoff. DO NOT USE FOR: architecture, API retries/offline data, UI debugging.

dotnet/maui-labs · 78 tokens