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.
npx skills add sunnat629/android-media-pack --skill media3-workmanager-offline-opsgit clone --depth 1 https://github.com/sunnat629/android-media-packWrote 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.
[](https://agentmods.dev/skills/sunnat629/android-media-pack/media3-workmanager-offline-ops)<a href="https://agentmods.dev/skills/sunnat629/android-media-pack/media3-workmanager-offline-ops"><img src="https://agentmods.dev/badge/skills/sunnat629/android-media-pack/media3-workmanager-offline-ops/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.
<a href="https://agentmods.dev/skills/sunnat629/android-media-pack/media3-workmanager-offline-ops"><img src="https://agentmods.dev/badge/skills/sunnat629/android-media-pack/media3-workmanager-offline-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00039 | $0.00868 |
| Opus 5 | $0.00019 | $0.00434 |
| Sonnet 5 | $0.00008 | $0.00174 |
| Haiku 4.5 | $0.00004 | $0.00087 |
Grade A, and why
media3-workmanager-offline-ops 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.
How it starts
The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Trigger
Use for offline media downloads, download constraints and scheduling, retryable background media operations, or media3-exoplayer-workmanager.
Rules
- Start with
media3-background-playback-serviceandmedia3-datasources-networkingfor service and network policy. - Pin Media3 to
1.10.1through the version catalog. - Offline downloads MUST use the official Media3 stack: a
DownloadServicesubclass driven by a singletonDownloadManager, with downloads submitted asDownloadRequestviaDownloadService.sendAddDownload. UseDownloadHelperto prepare adaptive (HLS/DASH) downloads and select tracks. DownloadIndex(fromDownloadManager) is the single source of truth for download state. Track it separately from player state.- Express constraints (network type, charging, storage) with Media3
Requirementsapplied throughDownloadService.sendSetRequirements, NOT WorkManagerConstraints. media3-exoplayer-workmanageronly providesWorkManagerScheduler, aSchedulerthat restarts theDownloadServicewhen pendingRequirementsare met again. Return it fromgetScheduler(); that is the entire WorkManager role in downloads.- Use WorkManager directly only for genuinely custom non-download deferrable work, for example cache cleanup or license refresh sweeps.
DownloadServiceMUST be declared withforegroundServiceType="dataSync", which on targetSdk 35+ has a 6-hour runtime cap per app session. Keep downloads resumable; theSchedulerrestarts the service later.- Keep download and cache policy centralized and observable.
- Make cancellation and removal explicit through
DownloadService.sendRemoveDownload; stale downloads are product bugs.
Example
media3-exoplayer-workmanager = { module = "androidx.media3:media3-exoplayer-workmanager", version.ref = "media3" }
class MediaDownloadService : DownloadService(NOTIFICATION_ID) {
override fun getDownloadManager(): DownloadManager = AppDeps.downloadManager
override fun getScheduler(): Scheduler = WorkManagerScheduler(this, "media3_downloads")
override fun getForegroundNotification(
downloads: MutableList<Download>,
notMetRequirements: Int,
): Notification = AppDeps.downloadNotificationHelper.buildProgressNotification(
this, R.drawable.ic_download, null, null, downloads, notMetRequirements)
}
DownloadService.sendAddDownload(
context, MediaDownloadService::class.java,
DownloadRequest.Builder(contentId, contentUri).build(), false)
DownloadService.sendSetRequirements(
context, MediaDownloadService::class.java,
Requirements(Requirements.NETWORK_UNMETERED), false)
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.
- 10d ago First seen · 85 lines · 39 tokens per session scan A c5f325b7f373
media3-workmanager-offline-ops is a skill published in the GitHub repository sunnat629/android-media-pack (13 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 39 tokens to every session and 868 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.
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…
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.
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…
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.
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…
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.