stream-diagnosis

stream-diagnosis is a skill for Claude Code from jack1590/RokuMCP. It costs 58 tokens per session (599 once invoked), scanned A, original, MIT.

A tool for investigating failed HLS or DASH video streams on Roku. HLS and DASH are formats that deliver video over the internet, while DRM controls access to protected content.

In plain words
What is it for?
Use it when a Roku video fails to start, reports an error, or cannot obtain a DRM licence.
Why use it?
It brings together Roku's video error details, the stream manifest, network captures, and DRM settings to help locate the failure.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the roku-mcp plugin — 9 skills, 1 MCP server shipped together

Good fit Use it when a Roku video fails to start, reports an error, or cannot obtain a DRM licence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jack1590/rokumcp/stream-diagnosis
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 jack1590/RokuMCP --skill stream-diagnosis
Clone the repo
git clone --depth 1 https://github.com/jack1590/RokuMCP

Made for: Claude Code.

Or install roku-mcp, the plugin that ships this one along with the rest of its 9 skills, 1 MCP server.

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 stream-diagnosis

README.md
[![agentmods](https://agentmods.dev/badge/skills/jack1590/rokumcp/stream-diagnosis/github.svg)](https://agentmods.dev/skills/jack1590/rokumcp/stream-diagnosis)
Your own site
<a href="https://agentmods.dev/skills/jack1590/rokumcp/stream-diagnosis"><img src="https://agentmods.dev/badge/skills/jack1590/rokumcp/stream-diagnosis/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 stream-diagnosis

Your own site · 80×15
<a href="https://agentmods.dev/skills/jack1590/rokumcp/stream-diagnosis"><img src="https://agentmods.dev/badge/skills/jack1590/rokumcp/stream-diagnosis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 599 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.
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.00058 $0.00599
Opus 5.5 $0.00023 $0.00240
Sonnet 5.5 $0.00012 $0.00120
Haiku 4.5 $0.00006 $0.00060

Measured 2d ago against content hash 3ca37678fe5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

stream-diagnosis 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 2d 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.

plugin/skills/stream-diagnosis/SKILL.md · 39 lines

What it actually says

Diagnose a failing stream

Steps

  1. Collect what exists; any combination works:
    • errorInfo: the Video node error (errorCode -1 to -6, errorInfo with category, errcode, dbgmsg, drmerrcode), as JSON or pasted log text.
    • url or content: the manifest. Use content when the URL is token-gated.
    • charlesSessionPath: a Charles .chlsj or a .har file. Binary .chls does not work; ask the user to export .chlsj or .har.
    • drm: keySystem, licenseServerUrl, licenseHeaders.
  2. Call roku_diagnose_stream with them.
  3. Report the ranked findings (cause, evidence, confidence, fix, docUrl). Correlated findings, such as errorCode -6 plus a 403 on the license POST, rank highest. Spec hints are heuristic; say so.
  4. No errorInfo and a LAN device available: set captureLive: true with a fetchable url. This replaces the dev channel with the StreamProbe harness, plays the stream and captures the device error. Ask before doing it.

In code mode (roku_run)

return await roku.stream.diagnose({ errorInfo: '{"errorCode":-6,"errorInfo":{"category":"drm","drmerrcode":13}}', charlesSessionPath: 'captures/session.har' });

From a shell (rokuctl)

rokuctl stream.diagnose --url https://example.com/master.m3u8 --error-info '{"errorCode":-3}'

When it goes wrong

Symptom Cause Fix
"Provide at least one evidence source" Nothing to correlate Pass at least one of the inputs above
Note "Charles session could not be read/parsed" Binary .chls, or a wrong path Export .chlsj or .har; check the path
"captureLive is not supported on Roku Cloud Emulator devices" Live capture needs a LAN device Pass host, or play the stream in the user's channel on the Cloud Device and pass the reported error as errorInfo
Note "captureLive was requested but no url was provided" Live capture needs a fetchable stream Pass url
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. 2d ago Changed · +21 lines · -6 tokens per session 3ca37678fe5b
  2. 4d ago Changed 4305c59b6618
  3. 1mo ago First seen · 18 lines · 64 tokens per session scan A 229e16d4ee9b

Subscribe to this mod's changes

stream-diagnosis is a skill published in the GitHub repository jack1590/RokuMCP (6 stars, last pushed 3d ago), licensed MIT. It adds 58 tokens to every session and 599 once invoked, about $0.0002 per session on Opus 5.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-10-10.

Related

stream-diagnosis compared with skills from other repositories

stream-diagnosis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stream-diagnosisjack1590/RokuMCPSkill63d agoMITA58Claude Code
gke-ai-troubleshooting-tpu-dynamic-slices-monitoringgoogle/skillsSkill25ktodayApache-2.0A107Claude Code, Codex
gke-ai-troubleshooting-tpu-vbar-oomgoogle/skillsSkill25ktodayApache-2.0A125Claude Code, Codex
doca-flowNVIDIA/skillsSkill4.2k2d agoApache-2.0A224Claude Code
competition-firmware-layoutzhaoxuya520/reverse-skillSkill45k16d agoMITA110Codex
diagnose-driver-installNVIDIA/deepopsSkill1.5k3d agoBSD-3-ClauseA47Claude Code, Codex
catc-troubleshootautomateyournetwork/netclawSkill739todayApache-2.0A114Claude Code