ymc-playback
Skill461 starsChanged 3 months agoMITView on GitHub
Prefer local files when available, then YouTube URLs via mpv IPC.
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 3
Prefer local files when available, then YouTube URLs via mpv IPC.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
YMC Playback
Prefer local files when available, then YouTube URLs via mpv IPC.
Local vs remote
resolveTrackPlayUrl()insource/utils/local-track.tsreturns{ url, source: 'local' | 'youtube' }.- Index:
~/.youtube-music-cli/downloads-index.jsonkeyed byvideoId. - Config:
preferLocalPlayback(defaulttrue). PlayerService.playusesclassifyPlayMedia()— absolute paths andfile:URLs pass through; bare ids become watch URLs.
Call sites
- Ink:
source/stores/player.store.tsx - Immersive:
resolveImmersiveTrackPlayUrlinsource/immersive/state/queue-state.ts - CLI:
source/cli.tsx - Web:
WebServerManager.playTrackMedia
mpv notes
- Idle spawn + IPC
loadfile(no URL on CLI args). - Shared stall/EOF policy:
source/services/player/mpv-event-policy.ts. - mpv 0.41+:
--slang=ennot--sub-lang=en.
In this repository45 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/react-best-practices/AGENTS.mdAGENTS.md
- .claude/skills/react-best-practices/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/ymc-agents.mdcCursor rule
- brainstormingSkill
- bun-buildSkill
- bun-developmentSkill
- bun-dev-serverSkill
- bun-initSkill
- bun-testSkill
- bun-win32Skill
- Cli-ExpertSkill
- cli-masterySkill
- create-implementation-planSkill
- planning-with-filesSkill
- powershell-windowsSkill
- react-best-practicesSkill
- react:componentsSkill
- react-patternsSkill
- react-state-managementSkill
- systematic-debuggingSkill
- writing-plansSkill
- ymc-downloadsSkill
- brainstormingSkill
- bun-buildSkill
- bun-developmentSkill
- bun-dev-serverSkill
- bun-initSkill
- bun-testSkill
- bun-win32Skill
- Cli-ExpertSkill
- cli-masterySkill
- create-implementation-planSkill
- planning-with-filesSkill
- powershell-windowsSkill
- react-best-practicesSkill
- react:componentsSkill
- react-patternsSkill
- react-state-managementSkill
- systematic-debuggingSkill
- writing-plansSkill
- ymc-downloadsSkill
- ymc-playbackSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

