minimax-music-playlist
できること
このスキルは、あなたの音楽の好みを分析し、その好みに合う新しい曲のプレイリストを作ります。個人に合ったおすすめと、プレイリスト用のカバー画像がほしい音楽好きの人向けです。
使う場面
- ✓自分の音楽の好みに合うプレイリストがほしいとき。
- ✓今好きな曲をもとに、プレイリスト用の新しい曲を生成したいとき。
- ✓プレイリスト用のアルバムカバーを作りたいとき。
スキルのリンク
https://github.com/MiniMax-AI/skills/blob/main/skills/minimax-music-playlist/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“普段聴いている音楽をもとに、夜のランニング用の個人向けプレイリストを作ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、対応しているローカルの音楽アプリから読み取れる聴取データを確認します。そのうえで、好みのプロファイルを作り、プレイリストを計画します。その後、mmxツールで曲とカバー画像を生成し、再生します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
MiniMax Music Playlist — Personalized Playlist Generator
Scan the user's music taste, build a taste profile, generate a personalized playlist, and create an album cover. This skill is designed for both agent and direct user invocation — adapt interaction style to context.
Prerequisites
- mmx CLI — music & image generation. Install:
npm install -g mmx-cli. Auth:mmx auth login --api-key <key>. - Python 3 — for scanning scripts you write on the fly (stdlib only, no pip).
- Audio player —
mpv,ffplay, orafplay(macOS built-in).
Language
Detect the user's language from their message. All user-facing text must be in the same language as the user's prompt — do not mix languages. If the user writes in Chinese, all output (profile summary, theme suggestions, playlist plan, playback info) must be fully in Chinese. If in English, all in English.
All mmx generation prompts should be in English for best quality.
Each song's lyrics language follows its genre (K-pop → Korean, J-pop → Japanese, etc.),
NOT the user's UI language.
Workflow
1. Scan local music apps → 2. Build taste profile → 3. Plan playlist
→ 4. Generate songs (mmx music) → 5. Generate cover (mmx image) → 6. Play → 7. Save & feedback
Step 1: Gather Music Listening Data
Collect the user's listening data from available sources.
Supported sources:
| Source | Method | Data format |
|---|---|---|
| Apple Music | osascript to query Music.app (official AppleScript interface) |
Track name, artist, album, genre, play count |
| Spotify | User exports their own data via Spotify Privacy Settings | JSON files in ZIP (Streaming_History_Audio_*.json) |
| Manual input | User describes their taste directly | Free text |
Spotify data export flow: Spotify does not store useful data locally. To include Spotify listening history, first check if the user already has a Spotify data export:
- Search for existing exports:
find ~ -maxdepth 4 -name "my_spotify_data.zip" -o -name "Streaming_History_Audio_*.json" 2>/dev/null - If found, ask the user if they want to use it
- If ZIP, unzip and locate
Spotify Extended Streaming History/Streaming_History_Audio_*.json - If not found, open the Spotify privacy page:
open https://www.spotify.com/account/privacy/ - Tell the user to log in, scroll to "Download your data", and click "Request data"
- Skip Spotify for now and continue with other sources — tell the user they can re-run the playlist skill after the data export arrives (usually a few days)
Spotify data format:
The export contains Streaming_History_Audio_YYYY.json files (one per year), each
is a JSON array of listening events. Key fields to extract:
master_metadata_album_artist_name— artist namemaster_metadata_track_name— track namemaster_metadata_album_album_name— album namems_played— playback duration in milliseconds (use as weight: longer = stronger signal)ts— timestamp
Filter out entries where ms_played < 30000 (less than 30 seconds, likely skipped).
Do NOT use or store ip_addr or other sensitive fields.
What to extract from each source:
- Track names + artist names (primary signal)
- Playlist names and membership (e.g., a playlist named "Chinese Traditional" tells you genre preference)
- Play counts or streaming duration if available (weight frequently played tracks higher)
- Scene/mood tags if available
Approach:
- Check if Apple Music is available (try
osascriptquery) - Ask if the user has a Spotify data export ZIP to provide
- If no sources available, ask the user to describe their taste manually
Privacy rule: Never show raw track lists to the user. Only show aggregated stats.
Step 2: Build Taste Profile
From the scanned data, build a taste profile covering:
- Genre distribution — what styles the user listens to (e.g., J-pop 20%, R&B 15%, Classical 10%)
- Mood tendencies — emotional tone preferences (melancholic, energetic, calm, romantic, etc.)
- Vocal preference — male vs female voice ratio
- Tempo preference — slow / moderate / upbeat / fast distribution
- Language distribution — zh, en, ja, ko, etc.
- Top artists — most listened artists
How to infer genre/mood from artist names: Most raw data only has artist + track names without genre tags. To enrich this:
- Look up artists in the local mapping table at `<SKILL_DIR>/da
よくある質問
聴取データはどこから取得しますか?
パソコン上の、対応している音楽アプリなどのデータから読み取ります。
結果は保存されますか?
このスキルには保存と評価の手順があり、曲を評価して次のプレイリストに活かせます。
どの言語で表示されますか?
表示するすべての文章は、依頼した言語に合わせます。
詳細
作者による元の説明
Generate personalized music playlists by analyzing the user's music taste and generation feedback history. Triggers on any request involving playlist generation, music taste profiling, or personalized music recommendations. Supports multilingual triggers — match equivalent phrases in any language.
repo: MiniMax-AI/skills
人気
- GitHubのスター
- 14k
- ランキング
- #11295
- ライセンス
- MIT
- 更新日
- 2026/4/18
コメント
- …
このリポジトリの他のスキル
design-style-skill
14kエージェントが、スライドの見た目を一つの統一されたスタイルに決められるよう支援します。シャープで引き締まったものから、やわらかく丸みのあるもの、ゆったりしたものまで選べます。
ppt-editing-skill
14kエージェントが既存のPowerPointファイルやテンプレートを安全に編集できるよう支援します。文字の変更、スライドの並べ替えや削除を行い、有効な資料として組み直します。
ppt-orchestra-skill
14kエージェントが、PowerPointの資料全体を作る前に計画できるよう支援します。各スライドを標準的なページの種類に分け、種類のばらつきと文章の品質を確認します。
slide-making-skill
14kエージェントが、PptxGenJSを使ったJavaScriptで一枚のPowerPointスライドを作れるよう支援します。レイアウト、文字、画像、グラフ、フォントを扱い、ネイティブの.pptxファイルを作ります。