本文へスキップ
Skillpedia
その他41k · #6557

spotify

できること

このスキルにより、AIはSpotifyで音楽の再生、一時停止、スキップを行い、曲やプレイリストを探せます。音楽を頼んで操作したい人向けです。

使う場面

  • ✓コンピュータのSpotifyアプリで、曲を再生、一時停止、スキップしたいとき。
  • ✓今どの曲が流れているかを知りたいとき。
  • ✓Spotifyで音楽を検索したり、プレイリストの曲を読んだりしたいとき。

スキルのリンク

https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/spotify/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/spotify/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“音楽を一時停止して、さっきまで流れていた曲を教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

Macでは、エージェントがSpotifyのデスクトップアプリを直接操作します。検索やプレイリストには、Spotifyの接続を使い、各操作のあとにプレイヤーの状態を確認します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Spotify

When to use

Playing, pausing, skipping, identifying the current track, searching for music, and reading playlists.

Setup

Two paths:

  1. Local control (macOS, no setup). The Spotify desktop app must be running, or say so: osascript -e 'tell application "Spotify" to playpause'
  2. Web API (search, playlists, other platforms). Requires an authorized Spotify connection with suitable scopes; report missing access without asking the user to paste a token into chat: GET api.spotify.com/v1/search, /v1/me/playlists, /v1/playlists/{id}.

Workflow

  1. Prefer local control for transport (play/pause/next/previous/current track). Use the requested play or pause verb; playpause is a toggle and cannot safely be retried after an uncertain result. Verify player state afterward.
  2. Use available Web API endpoints for search and playlist contents. Check current app-access restrictions; do not promise the restricted Recommendations API. Handle 403/429 responses without bypassing access or rate limits.
  3. Report artist, track, album, and playlist names verbatim.

Non-goals

  • Do not change playlists (add/remove/reorder) unless asked.
  • Do not download or rip audio.
  • Do not handle the user's Spotify password.

Reference: Spotify API changes.

よくある質問

プレイリストを変えますか?

いいえ。スキルは、依頼がない限り、プレイリストの曲を追加、削除、並べ替えしないと定めています。

Spotifyのパスワードを共有する必要がありますか?

いいえ。スキルは、パスワードは扱わず、トークンをチャットに貼り付けるよう求めないと定めています。

Spotifyアプリを開いていなくても動きますか?

Macでのローカルの操作には、Spotifyのデスクトップアプリが起動している必要があります。起動していなければ、エージェントがそう伝えます。

詳細

作者による元の説明

Control Spotify playback and search the library and playlists. Use when: spotify, music, playlist, play, pause, or what's playing.

repo: codewhale-hq/Codewhale

人気

GitHubのスター
41k
ランキング
#6557
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル