media3-bandwidth-abr

media3-bandwidth-abr is a skill for Claude Code, Codex from sunnat629/android-media-pack. It costs 29 tokens per session (363 once invoked), scanned A, original, Apache-2.0.

A coding guide for Android Media3, the library used for playing streaming media, focused on estimating bandwidth and choosing video quality. ABR means adaptive bitrate: changing quality as network conditions change.

In plain words
What is it for?
Setting bitrate limits, sizing playback buffers, applying network and device constraints, and coordinating active playback with preloading.
Why use it?
It helps address startup stalls, poor playback quality, excessive buffering, and preload tasks using too much network capacity.

Skill for Claude CodeCodex

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

Good fit Setting bitrate limits, sizing playback buffers, applying network and device constraints, and coordinating active playback with preloading.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sunnat629/android-media-pack/media3-bandwidth-abr"><img src="https://agentmods.dev/badge/skills/sunnat629/android-media-pack/media3-bandwidth-abr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 363 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.00029 $0.00363
Opus 5 $0.00015 $0.00181
Sonnet 5 $0.00006 $0.00073
Haiku 4.5 $0.00003 $0.00036

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

Security

Grade A, and why

media3-bandwidth-abr 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/media/delivery/media3-bandwidth-abr/SKILL.md · 49 lines

What it actually says

Trigger

Use for bitrate quality, startup stalls, low-quality playback, network-aware limits, or preload starving active playback.

Rules

  • Start with streaming-media-architecture for ownership, KMP split, preload window, and telemetry.
  • Pin Media3 to 1.10.1 through the version catalog.
  • Keep Media3 APIs in Android source sets; expose KMP-safe state/events upward.
  • Share bandwidth knowledge between player/preload paths when possible.
  • Use sensible mobile bitrate ceilings; never cap below the lowest playable variant.
  • Shrink buffers/preload under data saver, battery saver, thermal pressure, or cellular constraints.
  • Do not set huge mobile buffers to mask bad manifests.

Example

TrackSelectionParameters.Builder()
    .setMaxVideoBitrate(6_000_000)
    .build()

The Context overload of TrackSelectionParameters.Builder is deprecated; you MUST use the no-argument builder.

  • media3-hls-dash-adaptive-streaming
  • media3-datasources-networking
  • media3-analytics-telemetry
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 · 49 lines · 29 tokens per session scan A 23cc7b72a7d1

Subscribe to this mod's changes

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