tvos-media-playback-workflow

tvos-media-playback-workflow is a skill for Claude Code, Codex from gaelic-ghost/socket. It costs 52 tokens per session (1,373 once invoked), scanned A, original, Apache-2.0.

A workflow for building tvOS media playback with Apple's AVKit, including system-player use, remote commands, and Now Playing information.

In plain words
What is it for?
Use it to implement or review Apple TV playback, custom player controls, HLS interstitials, Picture in Picture, remote transport commands, and post-playback focus.
Why use it?
It helps determine when Apple's standard player is enough and keeps playback state, remote controls, focus, and displayed media details coordinated.

Skill for Claude CodeCodex

Part of the apple-dev-skills plugin — 65 skills, 2 MCP servers shipped together

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.

agentmods
npx agentmods add skills/gaelic-ghost/socket/tvos-media-playback-workflow
Any agent
npx skills add gaelic-ghost/socket --skill tvos-media-playback-workflow
Clone the repo
git clone --depth 1 https://github.com/gaelic-ghost/socket

Made for: Claude Code, Codex.

Or install apple-dev-skills, the plugin that ships this one along with the rest of its 65 skills, 2 MCP servers.

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 tvos-media-playback-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/gaelic-ghost/socket/tvos-media-playback-workflow.svg)](https://agentmods.dev/skills/gaelic-ghost/socket/tvos-media-playback-workflow)
Your own site
<a href="https://agentmods.dev/skills/gaelic-ghost/socket/tvos-media-playback-workflow"><img src="https://agentmods.dev/badge/skills/gaelic-ghost/socket/tvos-media-playback-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,373 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00052 $0.01373
Opus 5 $0.00026 $0.00687
Sonnet 5 $0.00010 $0.00275
Haiku 4.5 $0.00005 $0.00137

Measured yesterday against content hash 2073c0c6e9ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

tvos-media-playback-workflow 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 yesterday.

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.

plugins/apple-dev-skills/skills/tvos-media-playback-workflow/SKILL.md · 142 lines

How it starts

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

tvOS Media Playback Workflow

Purpose

Guide the tvOS media-control contract. This skill starts with AVKit's system player, makes custom-player escalation evidence-based, and keeps remote command routing, player state, and Now Playing information under one explicit owner. It does not replace general AVFoundation pipelines, Core Media timing, audio session policy, or Xcode execution workflows.

When To Use

  • Use this skill for AVPlayerViewController, system-player adoption, AVKit playback UI, custom info tabs, overlays, content proposals, HLS interstitials, Picture in Picture, and playback-focused tvOS design.
  • Use this skill for MPRemoteCommandCenter, remote transport commands, MPNowPlayingInfoCenter, custom player controls, command enablement, and Apple TV media-state ownership.
  • Use this skill when a product believes it needs a custom player; first decide whether AVKit's system player satisfies the actual requirement.
  • Use this skill for remote/controller command validation, post-playback focus restoration, and device-only playback capability gates.
  • Recommend tvos-app-experience-workflow for browsing UI, focus layout, remote-first app navigation, Large Text, TVMLKit migration, or general tvOS platform constraints.
  • Recommend avfoundation-media-pipeline-workflow for general asset loading, capture, readers, writers, export, transcode, and playback-pipeline repair.

Single-Path Workflow

  1. Classify the playback request:
    • system player adoption
    • AVKit extension or supporting content
    • custom-player justification
    • remote command or Now Playing state
    • HLS/interstitial/continuity feature
    • runtime validation or repair
  2. Apply the Apple docs gate:
    • read current AVKit, AVFoundation, MediaPlayer, and release-note evidence
    • state the documented behavior relied on before recommending a control path
    • version-qualify beta APIs and device-specific behavior
  3. Prefer the system player:
    • choose AVPlayerViewController when its controls and supported extension points satisfy the requirement
    • name the concrete unavailable product behavior before choosing custom UI
    • keep the custom path responsible for every relevant remote command and media-state transition
  4. Establish one media-control owner:
    • player lifecycle and current item
    • command enablement and MPRemoteCommandCenter handlers
    • MPNowPlayingInfoCenter state
    • interruption/end-of-item behavior and focus restoration
  5. Return one recommendation with:
    • player choice and documented rationale
    • command/state ownership
    • feature and device gates
    • remote validation matrix and handoff

Read the full file on GitHub · 142 lines

Files

What ships with it

3 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. yesterday First seen · 142 lines · 52 tokens per session scan A 2073c0c6e9ec

Subscribe to this mod's changes

tvos-media-playback-workflow is a skill published in the GitHub repository gaelic-ghost/socket (7 stars, last pushed 9d ago), licensed Apache-2.0. It adds 52 tokens to every session and 1,373 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-09-03.

Related

Other skills, from other repositories

youtube-producer

Plans, packages, and scripts long-form video for retention and channel growth — idea selection, titles and thumbnails, script structure, and diagnosing why a video or channel underperforms. Use this for video ideas, packaging, scripting, a retention teardown, or channel strategy — including when someone describes a…

cbrock84/headcount · 86 tokens

video-content

Plans and scripts short-form and long-form video, and designs the packaging — titles, thumbnails, and openings — that determines whether it gets watched. Use this to script a video, plan a series, fix retention or click-through problems, design thumbnail and title concepts, or turn written content into video. For a…

cbrock84/headcount · 89 tokens

visual-content

Designs and directs the visual assets that carry content — carousels, infographics, quote graphics, diagrams, and social imagery — including the generation prompts where they are AI-produced. Use this to turn a written piece into a visual format, design a carousel or infographic, create social graphics, or fix visuals…

cbrock84/headcount · 72 tokens

character-management

This skill should be used when the user asks to "create a character", "update a character", "add a character", "build a family tree", "character relationships", "character timeline", "character arc", "character profile", or needs to manage characters in a story project.

danjdewhurst/story-skills · 60 tokens

worldbuilding

This skill should be used when the user asks to "create a location", "add a location", "magic system", "political system", "build the world", "add culture", "world history", "technology system", "religion", "economy", or wants to develop any aspect of a story's world and setting.

danjdewhurst/story-skills · 71 tokens

demo-shorts

Cut a vertical 9:16 Short (YouTube Shorts, Instagram Reels, TikTok) from a demo video project in one of four named styles — listicle (rapid numbered beats), cohost (split screen with presenter), flashcard (typographic interstitials), or glide (immersive pan). Use when the user asks for a "short", "shorts", "vertical…

mrieck/demoday-claude-plugin · 106 tokens