Logo : Minimax Music Playlist

Minimax Music Playlist

OrganisationPopulaire
MiniMax-AI
minimax-music-playlist

Générez des playlists personnalisées en analysant les goûts musicaux de l’utilisateur et l’historique de ses retours sur les générations. Se déclenche pour toute demande de création de playlist, de profil musical ou de recommandations musicales personnalisées. Prend en charge les déclencheurs multilingues : reconnaissez les expressions équivalentes dans toutes les langues.

Add to TypingMind

Présentation

ÉditeurMiniMax-AI
Dépôtskills
Nom de la compétenceminimax-music-playlist
Étoiles
13.6K
Forks
1.2K
Fichiers inclus
1
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 1

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par MiniMax-AI sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Minimax Music Playlist dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/MiniMax-AI/skills/tree/main/skills/minimax-music-playlist
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MiniMax-AI/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/minimax-music-playlist .claude/skills/minimax-music-playlist
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Minimax Music Playlist dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Minimax Music Playlist dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Minimax Music Playlist n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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:

SourceMethodData format
Apple Musicosascript to query Music.app (official AppleScript interface)Track name, artist, album, genre, play count
SpotifyUser exports their own data via Spotify Privacy SettingsJSON files in ZIP (Streaming_History_Audio_*.json)
Manual inputUser describes their taste directlyFree 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>/data/artist_genre_map.json — this table covers 20,000 popular artists with pre-mapped genres, vocal type, and language
  2. For artists not in the mapping table, query the MusicBrainz API: https://musicbrainz.org/ws/2/artist/?query=artist:<name>&fmt=json — extract genre tags from the response; respect rate limit (1 req/sec) — cache results to <SKILL_DIR>/data/artist_cache.json to avoid re-querying
  3. If MusicBrainz returns no results, skip the artist

Profile caching:

  • Save profile to <SKILL_DIR>/data/taste_profile.json
  • If a profile less than 7 days old exists, reuse it (offer rescan option)
  • If older or missing, rebuild

Show user a summary:

Your Music Profile:
  Sources: Apple Music 230 | Spotify 140
  Genres: J-pop 20% | R&B 15% | Classical 10% | Indie Pop 9%
  Moods: Melancholic 25% | Calm 20% | Romantic 18%
  Vocals: Female 65% | Male 35%
  Top artists: Faye Wong, Ryuichi Sakamoto, Taylor Swift, Jay Chou, Taeko Onuki

If invoked by an agent with clear parameters, skip the confirmation and proceed. If invoked by a user directly, ask if the profile looks right before continuing.


Step 3: Plan Playlist

Ask the user for a theme/scene before generating. This is the one interactive step in the workflow. All other steps run autonomously.

If the theme was already provided in the invocation (e.g., the agent or user said "generate a late night chill playlist"), use it directly and skip the question. Otherwise, ask:

What theme would you like for your playlist? Here are some suggestions:

- "Late night chill" — relaxing slow songs
- "Commute" — upbeat and energizing
- "Rainy day" — melancholic & cozy
- "Surprise me" — random based on your taste

Or tell me your own vibe!

Once the user picks a theme, proceed automatically through generation, cover, playback, and saving — no further confirmations needed.

Determine playlist parameters:

  • Theme/mood — from user input, or default to top mood from profile
  • Song count — from user input, or default to 5
  • Genre mix — weighted by profile, with variety

Per-song lyrics language follows genre:

GenreLyrics language
K-pop, Korean R&B/balladKorean
J-pop, city pop, J-rockJapanese
C-pop, Chinese-style, MandopopChinese
Western pop/indie/rock/jazz/R&BEnglish
Latin pop, bossa novaSpanish/Portuguese
Instrumental, lo-fi, ambientNo lyrics (--instrumental)

Embed language naturally into the mmx prompt via vocal description:

  • Good: "A melancholy Chinese R&B ballad with a gentle introspective male voice, electric piano, bass, slow tempo"
  • Bad: "R&B ballad, melancholy... sung in Chinese"

Show the playlist plan before generating. Display each song with two lines: the first line shows genre, mood, and vocal/language tag; the second line shows a short description of the song. All user-facing text (plan, descriptions, moods, labels) must be in the same language as the user's prompt. Only the actual --prompt passed to mmx should be in English — this is internal and should NOT be shown to the user. Example:

Playlist Plan: Late Night Chill (5 songs)

1. Neo-soul R&B — introspective  English/male vocal
   A mellow neo-soul R&B ballad with warm baritone, electric piano, smooth bass

2. Lo-fi hip-hop — dreamy  Instrumental
   Dreamy lo-fi with sampled piano, vinyl crackle, soft electronic drums

3. Smooth jazz — romantic  English/female vocal
   Silky female voice, saxophone, piano, romantic starlit night

4. Indie folk — melancholic  English/male vocal
   Tender male voice, acoustic guitar, harmonica, quiet solitude

5. Ambient electronic — calm  Instrumental
   Soft synth pads, gentle arpeggios, dreamy atmosphere

After showing the plan, proceed directly to generation — no confirmation needed. The user has already chosen the theme; the plan is shown for transparency, not approval.


Step 4: Generate Songs

Use mmx music generate to create all songs. Generate concurrently (up to 5 in parallel).

bash
# Example: 5 songs in parallel
mmx music generate --prompt "<english_prompt_1>" --lyrics-optimizer \
  --out ~/Music/minimax-gen/playlists/<name>/01_desc.mp3 --quiet --non-interactive &
mmx music generate --prompt "<english_prompt_2>" --instrumental \
  --out ~/Music/minimax-gen/playlists/<name>/02_desc.mp3 --quiet --non-interactive &
# ... more songs ...
wait

Key flags:

  • --lyrics-optimizer — auto-generate lyrics from prompt (for vocal tracks)
  • --instrumental — no vocals
  • --vocals "<description>" — vocal style (e.g., "warm Chinese male baritone")
  • --genre, --mood, --tempo, --instruments — fine-grained control
  • --quiet --non-interactive — suppress interactive output for batch mode
  • --out <path> — save to file

File naming: <NN>_<short_desc>.mp3 (e.g., 01_rnb_midnight.mp3)

Output directory: ~/Music/minimax-gen/playlists/<playlist_name>/

If a song fails, retry once before skipping. Log the error and continue with the rest.


Step 5: Generate Album Cover

Generate the album cover concurrently with the songs (Step 4), not after. Launch the mmx image generate call in parallel with the song generation calls.

Craft a prompt that reflects the playlist's theme, mood, and genre mix. The image should feel like an album cover — artistic, evocative, not literal.

bash
mmx image generate \
  --prompt "<cover description based on playlist theme and mood>" \
  --aspect-ratio 1:1 \
  --out-dir ~/Music/minimax-gen/playlists/<playlist_name>/ \
  --out-prefix cover \
  --quiet

Prompt guidance:

  • Abstract/artistic style works best for album covers
  • Reference the dominant mood and genre (e.g., "dreamy late-night cityscape, neon reflections, lo-fi aesthetic")
  • Do NOT include text or song titles in the image prompt
  • Aspect ratio should be 1:1 (square, standard album cover)

Step 6: Playback

Detect an available player and play the playlist in order:

PlayerCommandControls
mpvmpv --no-video <file>q skip, Space pause, arrows seek
ffplayffplay -nodisp -autoexit <file>q skip
afplayafplay <file>Ctrl+C skip

Play all .mp3 files in the playlist directory in filename order. Only play the songs generated in this session — if the directory has old files from a previous run, clean them out first or filter by the known filenames. If no player is found, just show the file paths.


Step 7: Save & Feedback

Save playlist metadata to <playlist_dir>/playlist.json:

json
{
  "name": "Late Night Chill",
  "theme": "late night chill",
  "created_at": "2026-04-11T22:00:00",
  "song_count": 5,
  "cover": "cover_001.png",
  "songs": [
    {"index": 1, "filename": "01_rnb_midnight.mp3", "prompt": "...", "rating": null}
  ]
}

If the user is present, ask for feedback (per-song or overall). Update the taste profile's feedback section with liked/disliked genres and prompts to improve future playlists.


Replaying Playlists

If asked to play a previous playlist: ls ~/Music/minimax-gen/playlists/, show available ones, and play the selected one.


Notes

  • Agent vs user invocation: The theme/scene question (Step 3) is the single interactive touchpoint. If the theme is already provided in the invocation, skip the question. Everything else runs autonomously.
  • No hardcoded scripts: Write scanning/analysis scripts on the fly as needed. Use Python stdlib only. Cache results to avoid redundant work.
  • Skill directory: <SKILL_DIR> = the directory containing this SKILL.md file. Data/cache files go in <SKILL_DIR>/data/.
  • All mmx prompts in English for best generation quality.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Minimax Music Playlist ?

Générez des playlists personnalisées en analysant les goûts musicaux de l’utilisateur et l’historique de ses retours sur les générations. Se déclenche pour toute demande de création de playlist, de profil musical ou de recommandations musicales personnalisées. Prend en charge les déclencheurs multilingues : reconnaissez les expressions équivalentes dans toutes les langues.

Pourquoi utiliser Minimax Music Playlist sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Minimax Music Playlist se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Minimax Music Playlist dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/MiniMax-AI/skills/tree/main/skills/minimax-music-playlist. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Minimax Music Playlist ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Minimax Music Playlist ?

Autant que vous le souhaitez. Vous pouvez utiliser Minimax Music Playlist avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Minimax Music Playlist est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par MiniMax-AI sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇