跳到正文
TakoAPI
返回技能列表

my-play-music-from-yt

由 whodidthese 提供

Web & Frontend Development
1.5k下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

User asks: play Money Money Money by ABBA

智能体
  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

输出

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

前置要求

  • playwright-cli binary installed

安装

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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接