media

media is a skill for Claude Code, Codex from Abdullah4AI/apple-developer-toolkit. It costs 36 tokens per session (1,037 once invoked), scanned A, original, MIT.

A SwiftUI and Apple-platform guide to playing video, music, podcasts, live streams, and remote images.

In plain words
What is it for?
Use it when building video players, live streams, short-video feeds, music or podcast players, background audio, or remote image displays.
Why use it?
It helps you select the appropriate playback and audio-session approach for each type of media experience.

Skill for Claude CodeCodex

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

Good fit Use it when building video players, live streams, short-video feeds, music or podcast players, background audio, or remote image displays.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abdullah4ai/apple-developer-toolkit/media
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 Abdullah4AI/apple-developer-toolkit --skill media
Clone the repo
git clone --depth 1 https://github.com/Abdullah4AI/apple-developer-toolkit

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 media

README.md
[![agentmods](https://agentmods.dev/badge/skills/abdullah4ai/apple-developer-toolkit/media/github.svg)](https://agentmods.dev/skills/abdullah4ai/apple-developer-toolkit/media)
Your own site
<a href="https://agentmods.dev/skills/abdullah4ai/apple-developer-toolkit/media"><img src="https://agentmods.dev/badge/skills/abdullah4ai/apple-developer-toolkit/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.

agentmods 80×15 button for media

Your own site · 80×15
<a href="https://agentmods.dev/skills/abdullah4ai/apple-developer-toolkit/media"><img src="https://agentmods.dev/badge/skills/abdullah4ai/apple-developer-toolkit/media.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,037 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 57
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 65
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00036 $0.01037
Opus 5 $0.00018 $0.00518
Sonnet 5 $0.00007 $0.00207
Haiku 4.5 $0.00004 $0.00104

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

Security

Grade A, and why

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 5d 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.

swiftship/internal/skills/data/ui/media/SKILL.md · 85 lines

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.

Media

Networking Clarification

Media playback URLs are permitted. The forbidden-patterns networking ban targets REST API clients (URLSession data tasks, custom HTTP clients), not media playback. The following are allowed:

  • AVPlayer with remote URLs (MP4, HLS .m3u8 streams)
  • AsyncImage loading remote image URLs
  • KFImage (Kingfisher) loading and caching remote images
  • URLSession.shared.download(from:) only for downloading media files to local storage

Do not use URLSession for REST API calls, JSON fetching, or custom networking — that ban still applies.

Decision Tree

Pick the right pattern based on what you're building:

Building Reference Key API
Video player video-playback VideoPlayer, AVPlayer
HLS/live streaming video-playback AVPlayer + .m3u8 URL
Video feed (TikTok-style) video-playback + media-memory-management FeedPlayerCoordinator
Music/audio player audio-playback + audio-session AVAudioPlayer (local) or AVPlayer (streaming)
Podcast player audio-playback + audio-session AVPlayer + Now Playing + Remote Commands
Background audio audio-session .playback category + UIBackgroundModes
Image gallery/feed remote-images KFImage (Kingfisher)
Simple remote image remote-images AsyncImage
Sound effects audio-playback AVAudioPlayer with .ambient category
Sample content sample-media-urls Public URLs, local audio generation

Platform Capabilities

Feature iOS macOS tvOS watchOS visionOS
Video playback VideoPlayer AVPlayerView (NSViewRepresentable) VideoPlayer No VideoPlayer
Audio playback AVAudioPlayer / AVPlayer AVAudioPlayer / AVPlayer AVAudioPlayer / AVPlayer WKAudioFilePlayer AVAudioPlayer / AVPlayer
AVAudioSession Yes No (not needed) Yes Limited Yes
Background audio Yes (UIBackgroundModes) N/A No Limited Yes
Now Playing info Yes Yes Limited No Yes
Remote commands Yes Yes Limited No Yes
AsyncImage Yes Yes Yes Yes Yes
Kingfisher Yes Yes Yes No Yes

Read the full file on GitHub · 85 lines

Files

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.

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. 5d ago First seen · 85 lines · 36 tokens per session scan A 2408bec0640d

Subscribe to this mod's changes

media is a skill published in the GitHub repository Abdullah4AI/apple-developer-toolkit (10 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 1,037 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-09-03.

Related

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.

CharlesWiltgen/Axiom · 67 tokens

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…

Eronred/aso-skills · 143 tokens

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.

software-mansion/argent · 59 tokens

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.

Unclecheng-li/AI_Animation · 194 tokens

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…

evanca/flutter-ai-rules · 84 tokens

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…

ParthJadhav/ios-marketing-capture · 78 tokens