verify
Skill4 starsChanged 5 months agoMITView on GitHub
How to verify media.sh changes end-to-end on a real Mac — isolated data dir, real native build, and a controllable fake now-playing app (no dependency on the user's music apps).
175 other projects use a version of this.
Adopted by
Most recently taken up by
- nerymurillohnd/claude-essentialstheir own version, first seen Oct 5, 2026
- moveju112/skill_verifytheir own version, first seen Oct 5, 2026
- jacebenson/jsntheir own version, first seen Oct 5, 2026
- 5dive-ai/skillstheir own version, first seen Oct 5, 2026
- LuisUrrutia/skillstheir own version, first seen Oct 4, 2026
- derive-to/derivetheir own version, first seen Oct 4, 2026
Used with
Projects with it also use build-fix, lazy and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
diego-tobalinaSkillbuild-fix
Fix build and compilation errors systematically. Run when build fails.
Also in 8 projects that use this
vasuag09Skilllazy
Build the minimum that actually works — question whether the task needs to exist (YAGNI), reach for stdlib before custom code, native platform features before dependencies, one line before fifty. A persistent generation-reduction bias for the Implement phase. Use when the user says "be lazy", "lazy mode", "minimal", "simplest solution", "do less", "yagni", or complains about over-engineering, bloat, boilerplate, or needless dependencies. Levels: lite, full (default), ultra. Off: "stop lazy" / "normal mode".
Also in 3 projects that use this
TheKREATORSSkillinstinct-export
Export instincts from project/global scope to a file
Also in 3 projects that use this
TheKREATORSSkillinstinct-import
Import instincts from file or URL into project/global scope
Also in 3 projects that use this
qtzx06Skilleval
Evaluate trained YOLO model accuracy with mAP metrics and per-class error analysis. Identifies failure cases for targeted improvement. Use after training.
Also in 7 projects that use this
vltingSkillscope
Interactive planning + orchestration. Approval-gated workflow covering saga→epic→task hierarchy via progressive scoping.
Also in 6 projects that use this
- +2 more from TheKREATORS
Other versions175 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 175
- Yeachan-Heo/oh-my-claudecode★ 40ksame name
- anthropics/financial-services★ 39ksame name
- anthropics/claude-quickstarts★ 18ksame name
- anthropics/claude-agent-sdk-python★ 8.2ksame name
- anthropics/defending-code-reference-harness★ 7.5ksame name
- plastic-labs/honcho★ 7.5ksame name
- zenbu-labs/terminal-browser★ 3.6ksame name
- marketcalls/openalgo★ 2.8ksame name
- theopenco/llmgateway★ 1.7ksame name
- codeaholicguy/ai-devkit★ 1.6ksame name
165 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 153 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Always export a scratch data dir first — without it, media.sh falls back to ~/.claude/plugins/data/media-* and mutates the user's real …
- Very specific: line 24
Don't drive Music.app via AppleScript (tell app "Music" to … hangs on the Automation-consent dialog in headless contexts, and you can't …
“Common” is measured: kept by at least 6 in 10 of the 153 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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 versionPublish 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:
cat may be aliased to bat in the user's shell — use /bin/cat -v to show
SGR codes.
Restore
Volume, default output device, and any launched apps must match the pre-test state; the statusline cache lives in the scratch dir and dies with it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

