跳到正文
Skillpedia
音频与语音14k · #11295

minimax-music-playlist

它能做什么

这项技能研究你的音乐口味,并制作一份符合口味的新歌单。适合希望获得个性化推荐和歌单封面的音乐爱好者。

适用场景

  • ✓当你想要一份符合你音乐口味的歌单的时候。
  • ✓当你希望根据你已经喜欢的音乐,为歌单生成新歌曲的时候。
  • ✓当你想为歌单制作一张专辑封面的时候。

技能链接

https://github.com/MiniMax-AI/skills/blob/main/skills/minimax-music-playlist/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/MiniMax-AI/skills/blob/main/skills/minimax-music-playlist/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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, or afplay (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:

  1. Search for existing exports: find ~ -maxdepth 4 -name "my_spotify_data.zip" -o -name "Streaming_History_Audio_*.json" 2>/dev/null
  2. If found, ask the user if they want to use it
  3. If ZIP, unzip and locate Spotify Extended Streaming History/Streaming_History_Audio_*.json
  4. If not found, open the Spotify privacy page: open https://www.spotify.com/account/privacy/
  5. Tell the user to log in, scroll to "Download your data", and click "Request data"
  6. 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 name
  • master_metadata_track_name — track name
  • master_metadata_album_album_name — album name
  • ms_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:

  1. Check if Apple Music is available (try osascript query)
  2. Ask if the user has a Spotify data export ZIP to provide
  3. 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:

  1. 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能