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 noloman/Android-AI-skills --skill android-mediagit clone --depth 1 https://github.com/noloman/Android-AI-skillsWrote 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/noloman/android-ai-skills/android-media)<a href="https://agentmods.dev/skills/noloman/android-ai-skills/android-media"><img src="https://agentmods.dev/badge/skills/noloman/android-ai-skills/android-media/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/noloman/android-ai-skills/android-media"><img src="https://agentmods.dev/badge/skills/noloman/android-ai-skills/android-media.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.00000 | $0.00344 |
| Opus 5 | $0.00000 | $0.00172 |
| Sonnet 5 | $0.00000 | $0.00069 |
| Haiku 4.5 | $0.00000 | $0.00034 |
Grade A, and why
android-media 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.
What it actually says
name: android-media description: Android media — Media3/ExoPlayer, CameraX, image loading, audio focus, PiP. user-invocable: true
Android Media
Cross-cutting skill — always activates alongside the project-type-specific skill.
Hard Rules
- Use Media3 (androidx.media3) — ExoPlayer is now part of Media3.
- Use CameraX for camera features — not deprecated Camera or Camera2 directly.
- Use Coil (Compose-first) or Glide for image loading — not manual bitmap management.
- Request and manage audio focus before playback — respect other apps.
- Release media resources (player, camera) when the lifecycle component stops.
- Handle audio becoming noisy (headphone disconnect) — pause playback.
- Use MediaSession for background playback — required for media notification controls.
- Never decode large bitmaps on the main thread — use image loading libraries.
- Request camera/microphone permissions before accessing hardware.
- Support Picture-in-Picture only for video playback activities.
Core Patterns
- Bind Media3 player to lifecycle with LifecycleOwner-aware setup.
- Use CameraX with lifecycle binding — CameraProvider.bindToLifecycle().
- Configure Coil with disk cache, memory cache, and crossfade for smooth UX.
- Implement MediaSessionService for background audio playback.
- Use ExoPlayer caching (SimpleCache) for streaming content.
- Handle all player states: idle, buffering, ready, ended, error.
References
- references/media3_playback.md
- references/camerax.md
- references/image_loading.md
- references/audio_focus.md
- references/picture_in_picture.md
- references/camera_extensions.md
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 9d ago First seen · 39 lines · 0 tokens per session scan A e1ce253297ef
android-media is a skill published in the GitHub repository noloman/Android-AI-skills (6 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 344 tokens. 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-31.
Other skills, from other repositories
axiom-media
Use when working with camera, photos, audio, haptics, ShazamKit, the user's Apple Music library, or Now Playing. Covers AVCaptureSession, PHPicker, PhotosPicker, AVFoundation, Core Haptics, audio recognition, MediaPlayer, CarPlay, MusicKit playback and library enumeration.
argent-screen-recording
Record a video of an iOS simulator or Android emulator/device screen using argent MCP tools. Use when the user asks to record the screen, capture a video of a flow, interaction, or animation, produce a screen recording, or document app behavior as a video clip.
app-preview-video
When the user wants to plan, script, produce, or optimize App Store Preview videos or Google Play promo videos — the autoplay videos that show in App Store/Play Store search and product pages. Use when the user mentions "App Preview", "preview video", "app store video", "promo video", "Play Store video", "video poster…
phone-ui-demos
A tool for making cinematic web demonstrations that present information inside a realistic smartphone interface, such as notifications, chats, settings, or an app screen.
generate-images-with-firebase-ai
Use when generating or editing images from Flutter/Dart with Firebase AI Logic and a Gemini image model (Nano Banana), making the first call work, choosing Gemini Developer API vs Vertex AI, hitting quota, billing or App Check failures, getting empty or image-only responses, sending a user photo as input, controlling…
ios-marketing-capture
Use when the user wants to automate capture of marketing screenshots for a SwiftUI iOS app across multiple locales, devices, or appearances. Covers full-screen shots, isolated element renders (carousel cards, widgets), and reproducible output naming. Triggers on marketing screenshots, locale screenshots, widget…