/arr:arr-playbackfrom arr
Use when playback quality is the real complaint but the arr is the real cause: a 4K file that stutters or shows grey glitches in one player but plays fine in another, "why is this transcoding when direct play should work", constant CPU or GPU load during playback, subtitles that force a re-encode, audio that gets converted every time, files that will not direct-play on a streaming box, or deciding which codecs, HDR formats, and audio tracks a profile should prefer for the hardware you actually own. Also covers post-import remux pipelines and their integrity gates. Assumes arr-quality-profiles for how to express these preferences. Not for missing files or monitoring (arr-library-hygiene).
Ships in arr. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The arr decides what lands on disk. The media server then has to hand that file to a client. If the two disagree, the server transcodes, and transcoding is where the stutter, the fan noise, and the "4K is broken" reports come from.
This skill is the feedback loop that most profile guides omit: tune the grab to the hardware that will play it, not to an abstract quality ideal.
Every transcode has a reason and the media server will tell you what it was. Get the playback decision before theorising:
Then look at the file itself:
ffprobe -v error -show_entries stream=index,codec_type,codec_name,profile,pix_fmt \
-of compact "$FILE"
Two signatures worth separating early, because they look identical to a viewer:
Bluray and UHD sources carry PGS subtitles, which are images rather than text. Media servers generally cannot overlay an image subtitle track onto a video stream the way they can with text. So when subtitles are enabled, the server burns them into the picture, and burning in means re-encoding the entire video: 4K HEVC, HDR and all.
The tell is exact: the title stutters or shows momentary grey or garbled frames with subtitles on, plays perfectly with subtitles off, and plays perfectly in a client that renders PGS itself. Players that do their own subtitle rendering direct-play the same file that the media server chokes on, which is why "it works in the other app" is a diagnosis rather than a mystery.
It also degrades over time within a single playback, because the encoder falls further behind as it goes.
Three responses, in order of durability:
mov_text for
MP4) makes files direct-play with subtitles on. See the remux section
below.Do not respond to this by reverting your quality profiles to a template default. Common defaults prefer lossless audio and permit HDR formats that add more transcode triggers, so the reset makes playback worse while feeling like a clean slate.
Dolby Vision profiles that carry no HDR10 fallback force a tone-map on any display that cannot handle DV, and a tone-map is a full transcode. On a setup whose display does HDR10 or HDR10+ but not DV, a DV-only release is the worst possible grab even though it reads as the most premium.
Express this in custom format scores rather than hoping:
Revisit these scores when you change displays. They encode a hardware fact, not a preference, and they are the first thing that goes stale after a TV upgrade.
One more wrinkle: a container remux strips DV signalling. If a post-import pipeline rewrites files into another container, DV metadata may not survive it, which is another reason to prefer an HDR10 base rather than depending on DV making it to the screen.
A codec your client cannot hardware-decode forces a transcode regardless of everything else. AV1 is the current common case: many streaming boxes in service today have no AV1 decoder, so an AV1 release transcodes on every play and no remux can fix it. The fix is re-grabbing in a codec the client decodes, usually HEVC. If your profile has started accepting AV1, that is worth checking before blaming the server.
Server-side decode has holes too. Hardware decoders advertise broad codec
support and then fail on specific profiles. Ten-bit H.264 is a well-known gap
on several integrated and entry-level discrete GPUs: the codec is on the
support list, the bit depth is not, and the result is either a silent fallback
to CPU or an outright transcode failure. When transcoding fails only for a
subset of files that share a pix_fmt, suspect a profile gap rather than a
broken install.
Audio is the quiet transcoder. Object-based and lossless tracks (TrueHD, DTS-X, and friends) commonly get converted for clients that cannot take them or for anything not on a full passthrough path. If your client tops out at lossy multichannel, scoring lossless audio highly guarantees a conversion on every play. Score the format your chain actually passes through.
Rewriting imported files into a container that direct-plays on your clients is a large win: it fixes subtitles, normalises containers, and removes a class of compatibility failure permanently. It is also a pipeline that silently deletes your originals, so its integrity gate matters more than its speed.
Gate trap: container duration headers lie. The obvious integrity check is
"does the output duration match the input duration", read from the container
header (format=duration). Many MKV rips carry an inflated header: it claims
minutes more than where the video stream actually ends. A clean remux then
fails the gate, the file gets struck, and healthy titles pile up at the
failure cap while the pipeline reports problems it does not have.
Compare the true end of the video stream instead, and keep the header as a fallback:
# true end: last video packet's presentation timestamp
ffprobe -v error -select_streams v:0 -show_entries packet=pts_time \
-of csv=p=0 "$FILE" | tail -1
# header claim, for comparison
ffprobe -v error -show_entries format=duration -of csv=p=0 "$FILE"
A gate built on the last video packet still catches genuine truncation, which is the thing you actually wanted to catch.
Separate the two failure classes when files are stuck at a failure cap. They need opposite responses:
Reproduce a failing file with full stderr before deciding which class it is. Pipelines usually log only the tail of the error, which is rarely the line that identifies the cause.
Codecs the pipeline cannot handle should be skipped, not failed. Older codecs (XviD, VC-1) belong in a skip list so they remain visible as re-grab candidates rather than accumulating as failures.
Sequencing matters. Newly grabbed files are the ones most likely to still be in the problem format, so process newest first. That shrinks the window between "grabbed" and "playable without transcoding" to a single run.
When someone reports a playback problem, resist the urge to change the quality profile first. Get the playback decision, isolate the offending stream, and confirm the file's actual codecs. Only then does a profile change make sense, and when it does, it should encode a fact about your hardware that you can state out loud: this display does HDR10 and not DV, this box has no AV1 decoder, this chain passes lossy multichannel and not TrueHD.
Profiles written that way stay correct. Profiles copied from a guide describe someone else's living room.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
6 skills in this plugin
/arr-connectUse when pointing a coding agent at Radarr, Sonarr, Prowlarr, or a *arr companion for the first time or in a fresh session: "connect to Radarr", "talk to Sonarr's API", find the API key, hit /api/v3, check whether a movie or show is already in the library, confirm a title has a file on disk, work out why an API write reported success but changed nothing, or why `ls` on the server says the media folder does not exist. Covers the API-key lanes, the v3 endpoint map, the container-path trap, the read-after-write rule, and identifier-based existence checks. Foundation skill: every other arr-* skill assumes its connection pattern and doctrine. Not for quality profile design (arr-quality-profiles) or building the instance inventory (arr-context-map)./arr-context-mapUse when an agent needs to know how THIS media stack is put together before it can safely act: which quality profile id means what, which root folder is for which kind of content, how container paths map to host paths, which download client handles which protocol, and which app is managed by a template sync. Triggers include "map my setup", "what profiles do I have", "build an inventory", "why did the agent pick the wrong profile", "document my arr stack", or starting work on an unfamiliar instance. Also covers keeping the map honest as the stack drifts. Assumes arr-connect for the API calls. Not for designing the profiles themselves (arr-quality-profiles)./arr-downloadsUse when nothing is arriving, or arriving too slowly: searches that find no results, releases grabbed but never downloaded, torrents stuck at zero peers or a few KB/s, Usenet posts that fail to repair, downloads that complete but never import, a VPN-wrapped client that stops working after a restart, or requests from Seerr (or its Overseerr/Jellyseerr predecessors) or Ombi that show up as declined or failed. Covers the search-to-import chain, indexer and download client checks, VPN port forwarding, and where to look when the fault is upstream of the arr entirely. Assumes arr-connect for the API pattern. Not for what quality to accept (arr-quality-profiles) or stuck monitoring flags (arr-library-hygiene)./arr-library-hygieneUse when the library and the app disagree about what should exist: episodes stuck permanently "missing", a season pack re-grabbed every night, "episode file already imported" looping in the queue, a search that returns queued but finds nothing, seasons that re-monitor themselves after a metadata refresh, deleting a file so a better one can be grabbed, downsizing an oversized file, or clearing a stuck queue. Also covers what an automated queue cleaner does and does not need. Assumes arr-connect for the API pattern and its warning that deletes are permanent. Not for choosing what quality to grab (arr-quality-profiles) or indexer and download client faults (arr-downloads)./arr-quality-profilesUse when working on what Radarr or Sonarr is allowed to grab and when it stops: quality profiles, custom formats, cutoffs, upgrade behaviour, or Recyclarr and TRaSH guide templates. Triggers include "it keeps re-downloading the same movie", "endless upgrades", "why won't it grab this release", "it grabbed a worse version", "set up a 4K profile", "my custom format scores keep reverting", "cutoff must be an allowed quality or group", "release rejected below profile minimum", or designing a profile for anime, vintage TV, or a specific streaming service. Assumes the connection pattern and read-after-write rule from arr-connect. Not for monitoring flags or deleting and re-grabbing files (arr-library-hygiene), and not for transcode-driven format choices (arr-playback).npx claudepluginhub t3chnaztea/arr-stack-skills --plugin arr