Skip to content
TakoAPI
Back to skills

my-play-music-from-yt

by whodidthese

Web & Frontend Development
1.5kDownloads reported by clawskills.sh
2Stars
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Play music on YouTube via browser automation with playwright-cli.

Description

What This Skill Does

Controls a visible browser using playwright-cli to search and play YouTube music. Handles song requests, artist mixes, genre-based playlists, ad skipping, and playback controls. Manages persistent browser sessions so login state survives restarts.

Uses a persistent, visible browser session so YouTube's full library is accessible without a separate music app, API key, or subscription.

When to Use It

  • Playing a specific song by name and artist
  • Queuing an artist's songs as a continuous mix
  • Playing mood or genre-based background music while working
  • Skipping ads and controlling playback without touching the browser
  • Resuming a music session after the browser was previously closed

Example Workflow

INPUT

User asks: play Money Money Money by ABBA

AGENT
  1. 1

    Opens or resumes the named music_player browser session

  2. 2

    Navigates to YouTube and clears any existing search state

  3. 3

    Fills the search bar with 'ABBA Money Money Money' and submits

  4. 4

    Selects the best matching result from the search results

  5. 5

    Handles any ads, then confirms playback is active

OUTPUT

YouTube plays 'Money Money Money' by ABBA in the visible browser

Requirements

  • playwright-cli binary installed

Installation

clawhub install whodidthese/my-play-music-from-yt

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links