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 Bangs00/claude-media-control --skill verifygit clone --depth 1 https://github.com/Bangs00/claude-media-controlWrote 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/bangs00/claude-media-control/verify)<a href="https://agentmods.dev/skills/bangs00/claude-media-control/verify"><img src="https://agentmods.dev/badge/skills/bangs00/claude-media-control/verify/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/bangs00/claude-media-control/verify"><img src="https://agentmods.dev/badge/skills/bangs00/claude-media-control/verify.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.00041 | $0.01044 |
| Opus 5.5 | $0.00016 | $0.00418 |
| Sonnet 5.5 | $0.00008 | $0.00209 |
| Haiku 4.5 | $0.00004 | $0.00104 |
Grade B, and why
verify scanned grade B with 1 finding 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 3mo 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
self-heal) writes to `$HOME/.claude/settings.json` — export a scratch How it starts
The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Verifying claude-media-control
Surface = the scripts/media.sh CLI + the statusline segment it prints.
npx bats tests/media.bats covers logic with stubs; real verification runs
the actual pipeline (perl loader → adapter.dylib → mediaremoted).
Isolate from the user's live install
Always export a scratch data dir first — without it, media.sh falls back to
~/.claude/plugins/data/media-* and mutates the user's real config/cache:
export CLAUDE_PLUGIN_DATA=/tmp/media-verify-data
scripts/build-native.sh --rebuild # real dylib for this checkout's version
Publish a controllable now-playing track
Don't drive Music.app via AppleScript (tell app "Music" to … hangs on the
Automation-consent dialog in headless contexts, and you can't control track
titles). Instead compile a tiny publisher: MPNowPlayingInfoCenter +
MPRemoteCommandCenter handlers + a silent AVAudioEngine source node
(clang -fobjc-arc -framework Foundation -framework MediaPlayer -framework AVFoundation npub.m -o npub). Publish any title/artist/duration you need
(long titles for marquee, CJK for width handling).
Two gotchas:
appName/bundleIdentifieronly appear when the publisher runs from a real.appbundle launched viaopen(LaunchServices registration); a bare executable publishes metadata but no app identity.- Kill it with
pkill -f <name>;media.sh nowmust returnnullafter.
What to drive
media.sh now— JSON incl.outputDevice,appNamemedia.sh statuslineafterconfig display.statusline on— run twice withsleep 2between to see the marquee advance;NO_COLOR=1andstatusline.multiline onare cheap probes- Statusline wiring (
statusline install/uninstall/status, the auto-wire inconfig display.statusline on, and the wrapper's uninstall self-heal) writes to$HOME/.claude/settings.json— export a scratchHOMEtoo before driving it, or you will rewire the user's real settings. Simulate "plugin uninstalled" for the self-heal by emptying$HOME/.claude/plugins/installed_plugins.json({"plugins":{}}) and making the recorded dev root non-executable/absent; the wrapper must restoresettings.jsonand delete itself + the backup. media.sh output/output "<substring>"/output <n>— switch to the CURRENT device for a safe no-op, or switch away and back;output "LG"style ambiguous names must exit 4 with candidatesmedia.sh history/history --json— entries appear only on track change (dedup across statusline ticks); drive an artist-lag amend by changing the published title first, then the artist one read later — the transitional entry must be replaced, not kept- cmd+click round-trip —
build-click-handler.shin the scratch data dir, thenopen "claude-media-control://seek/50"etc. and assert on the fake publisher's command log. (The legacyclaude-media://scheme is also claimed and accepted, but the user's REAL install claims it too —openrouting for it is ambiguous on this machine, so exercise legacy URLs by calling the scratchclick-handler.shdirectly instead of viaopen.) Two gotchas: LaunchServices launches the applet WITHOUTCLAUDE_PLUGIN_DATA, so rewrite the scratchclick-handler.shto export it (and to exec THIS checkout'smedia.sh— the resolution block prefers the marketplace cache, which may hold an older version withoutopen-url). Alwaysbuild-click-handler.sh --removeafterwards to unregister the scheme, and delete any npub entries that the user's REAL statusline (ticking every second against the real data dir) logged while the fake publisher held now-playing media.sh doctor— check theOutput devline andverdict:
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.
- 3mo ago First seen · 83 lines · 41 tokens per session scan B 0e9a7e0358b7
verify is a skill published in the GitHub repository Bangs00/claude-media-control (4 stars, last pushed 4mo ago), licensed MIT. It adds 41 tokens to every session and 1,044 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
verify compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| verifyBangs00/claude-media-control | Skill | 4 | 4mo ago | MIT | B | 41 | Claude Code |
| access2naive/claude-telegram-topics | Skill | 1 | yesterday | Apache-2.0 | A | 42 | Claude Code |
| economist-styleTAJD/economist-style-guide-plugin | Skill | 130 | 4mo ago | MIT | B | 54 | Claude Code |
| quiz-meemanzurv/quiz-me-skill | Skill | 5 | 2mo ago | MIT | A | 82 | Claude Code |
| spotifyrbouschery/marketplace | Skill | 0 | 10mo ago | none | A | 21 | Claude Code |
| apple-mailrbouschery/marketplace | Skill | 0 | 10mo ago | none | A | 23 | Claude Code |
| create-businesswondelai/skills | Skill | 2.8k | today | MIT | A | 211 | Claude Code |