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がスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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:
- Local control (macOS, no setup). The Spotify desktop app must be
running, or say so:
osascript -e 'tell application "Spotify" to playpause' - 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
- Prefer local control for transport (play/pause/next/previous/current track).
Use the requested
playorpauseverb;playpauseis a toggle and cannot safely be retried after an uncertain result. Verify player state afterward. - 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.
- 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
コメント
- …
このリポジトリの他のスキル
best-of-n
41k難しい問題に対して、独立した複数の答えを出し、同じ評価基準で採点し、チェックに合格したものだけを適用するのを、エージェントが助けます。
dataviz
41kデータに適したチャートやダッシュボードを選ぶのを、エージェントが助けます。ラベル、出典の注記、軸と欠損値の確認を含みます。
debug
41k問題を再現し、範囲を絞り込み、承認を得たときだけ修正することで、バグの本当の原因を見つけるのを、エージェントが助けます。推測はしません。
delegate
41k大きな作業を、同時に動く焦点の絞られた補助に分けつつ、計画、統合、最終確認を自分の手元に残す方法を教えます。