SkillsGrove
SkillsGrove/Видеопроизводство/Xuepoo/agent-lx-music/music-discovery

music-discovery

Установка

$npx skills add https://github.com/Xuepoo/agent-lx-music --skill music-discovery
$git clone --depth 1 https://github.com/Xuepoo/agent-lx-music.git /tmp/agent-lx-music && mkdir -p ~/.claude/skills && cp -r /tmp/agent-lx-music/skills/music-discovery ~/.claude/skills/music-discovery
Пожалуйста, установи для меня этот Agent Skill: https://github.com/Xuepoo/agent-lx-music/tree/a3fc2ca71a8658f1173a13635ed19b9459a1dce4/skills/music-discovery — сначала прочитай его SKILL.md и скрипты и устанавливай в мою папку навыков только после того, как убедишься, что он безопасен.

Кратко

Исходное описание · MITFormulate semantic music search queries, expand genres/moods, and discover music using alx search CLI.
Приведённый ниже SKILL.md воспроизведён из Xuepoo/agent-lx-music (коммит a3fc2ca) под лицензией MIT. Текст не изменён; опущены только метаданные заголовка файла, изображения показаны как ссылки, а очень длинные файлы сокращены. Авторские права: 2026 Xuepoo Foter. Лицензия: LICENSE. Показан только файл с инструкциями; скрипты смотрите в исходном репозитории.

Music Discovery Skill

Overview

This skill teaches AI agents how to act as an intelligent music curator. Instead of performing plain literal searches, the agent translates high-level user requests, moods, scenarios, or abstract genres into optimized search queries, using alx search to discover and play matching music.


Agent Behavior & Search Expansion

When a user asks for music based on a mood, activity, or vague description, the agent MUST expand it into high-affinity keywords (Artists, Genres, Album keywords, or precise titles) rather than querying the exact phrase.

Query Expansion Table

User Request Key Mood / Genre Search Term Recommendation Command Example
"Play something to help me concentrate" Lofi / Ambient / Minimalist "lofi study", "ambient focus", "chillhop" alx search "lofi study" --source wy
"I need high energy gym music" Synthwave / Hardstyle / Phonk "phonk workout", "synthwave running", "cyberpunk" alx search "phonk workout"
"Show me classic Chinese rock" 90s Chinese Rock / Folk "崔健", "唐朝乐队", "魔岩三杰" alx search "崔健"
"Vibing on a rainy Sunday afternoon" Acoustic / Indie / Jazz "acoustic chill", "jazz piano", "indie folk" alx search "acoustic chill" --source kw

Search Automation Workflow

Workflow 1: Mood-Based Playlist Generation

  1. Receive user mood request (e.g. "feeling nostalgic").
  2. Generate 3 distinct related query terms (e.g., "90s classic hits", "retro ballad", "childhood memories").
  3. Perform searches for each, fetch the top 2 IDs from each search, and compile a playlist:
# Create temporary mood playlist
alx playlist create "Nostalgic Vibe"

# Add tracks from distinct searches
alx search "周杰伦 经典" --id-only --limit 2 | xargs -I {} alx playlist add "Nostalgic Vibe" {}
alx search "陈奕迅 怀旧" --id-only --limit 2 | xargs -I {} alx playlist add "Nostalgic Vibe" {}

# Play the playlist
alx playlist play "Nostalgic Vibe" --shuffle

Workflow 2: Platform-Optimized Discovery

Different music platforms excel in different genres. The agent should leverage these strengths:

  • NetEase Music (wy): Excellent for indie, lofi, electronic, and user-curated playlist matches.
  • Kuwo (kw) / Kugou (kg): Excellent for high-resolution lossless versions and mainstream Mandarin pop.
  • Migu (mg) / QQ (tx): Excellent for high-fidelity master cuts and exclusive license songs.
Полный текст лицензии (MIT)
MIT License

Copyright (c) 2026 Xuepoo Foter

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.