spotify

star 1

Spotify Web Player で Daily Mix を再生する

tubone24 By tubone24 schedule Updated 3/15/2026

name: spotify description: Spotify Web Player で Daily Mix を再生する user_invocable: true

Spotify スキル

概要

Chrome の既存セッションを利用して Spotify Web Player の Daily Mix プレイリストを再生します。 Spotify にログイン済みの Chrome セッションが必要です(OAuth 設定不要)。

使い方

Daily Mix 一覧取得

ホームページから Daily Mix プレイリストの一覧を取得:

cd .claude/skills/spotify/scripts && npx tsx src/index.ts list -p "プロファイル名"

Daily Mix 再生

指定した Daily Mix を再生:

cd .claude/skills/spotify/scripts && npx tsx src/index.ts play -p "プロファイル名" --index 1

オプション

  • -p, --profile <name>: Chrome プロファイル名
  • --index <n>: 再生する Daily Mix の番号(1始まり)
  • --no-launch: 既存 Chrome に接続
  • --port <number>: デバッグポート(デフォルト: 9222)

注意事項

  • Spotify にログイン済みの Chrome プロファイルが必要
  • Spotify Premium アカウントを推奨(フリーアカウントでは広告が挿入される)
  • DOM セレクタは Spotify の更新で変わる可能性があります
  • headless モードでは DRM 制約により音声再生不可
Install via CLI
npx skills add https://github.com/tubone24/my-office-work-skills --skill spotify
Repository Details
star Stars 1
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator