minimax-music-playlist
Skill này làm gì
Skill này nghiên cứu gu nhạc của bạn và xây một danh sách phát gồm các bài hát mới phù hợp với gu đó. Skill dành cho người yêu nhạc muốn gợi ý cá nhân hóa và ảnh bìa cho danh sách phát.
Khi nào nên dùng
- ✓Khi bạn muốn một danh sách phát phù hợp với gu nhạc của mình.
- ✓Khi bạn muốn tạo bài hát mới cho danh sách phát dựa trên những gì bạn đã thích.
- ✓Khi bạn muốn có ảnh bìa album cho danh sách phát.
Liên kết skill
https://github.com/MiniMax-AI/skills/blob/main/skills/minimax-music-playlist/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi muốn một danh sách phát cá nhân hóa cho buổi chạy bộ tối của mình, dựa trên những bản nhạc tôi đang nghe.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent quét dữ liệu nghe mà nó đọc được từ các ứng dụng nhạc cục bộ được hỗ trợ, xây hồ sơ gu nhạc và lên kế hoạch danh sách. Sau đó agent tạo bài hát và ảnh bìa bằng công cụ mmx rồi phát chúng.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó lấy dữ liệu nghe của tôi ở đâu?
Nó đọc dữ liệu nghe từ các nguồn được hỗ trợ trên máy tính của bạn, chẳng hạn các ứng dụng nhạc cục bộ.
Nó có lưu kết quả của tôi không?
Skill có bước lưu và phản hồi, để bạn đánh giá các bài hát cho danh sách phát sau này.
Nó dùng ngôn ngữ nào?
Nó khớp ngôn ngữ của yêu cầu bạn cho mọi văn bản nó hiển thị cho bạn.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 14k
- Vị trí xếp hạng
- #11295
- Giấy phép
- MIT
- Cập nhật
- 18/4/2026
Bình luận
- …
Thêm skill từ kho mã này
design-style-skill
14kGiúp agent của bạn chọn một phong cách slide nhất quán, từ sắc nét và gọn đến mềm mại, bo tròn hoặc thoáng, với góc và khoảng cách khớp.
ppt-editing-skill
14kGiúp agent của bạn chỉnh sửa tệp hoặc mẫu PowerPoint hiện có một cách an toàn: đổi nội dung, sắp xếp hoặc xóa slide, và đóng gói lại bộ trình chiếu hợp lệ.
ppt-orchestra-skill
14kGiúp agent của bạn lên kế hoạch toàn bộ bộ trình chiếu PowerPoint trước khi dựng, xếp mỗi slide vào loại trang chuẩn và kiểm tra nội dung.
slide-making-skill
14kGiúp agent của bạn viết từng slide PowerPoint bằng JavaScript với PptxGenJS, gồm bố cục, chữ, hình ảnh, biểu đồ và phông chữ cho tệp .pptx gốc.
Skill tương tự
openai-whisper-api
394kCho phép agent của bạn chuyển bản ghi âm thành văn bản bằng dịch vụ chuyển đổi của OpenAI, với tùy chọn nhãn người nói và tệp đầu ra.
openai-whisper
394kGiúp agent của bạn chuyển âm thanh thành văn bản trên chính máy tính bằng lệnh Whisper, không cần khóa API và không cần tải lên đám mây.
sag
394kGiúp agent của bạn đọc văn bản thành tiếng nói bằng giọng ElevenLabs và phát kết quả trên máy tính, kèm mẹo về phát âm và biểu cảm.