Music discovery
Modular AI Agent Skills for agent-lx-music (alx) CLI, compatible with Hermes, OpenClaw, Codex, and npx skills
npx -y skills add Xuepoo/agent-lx-music-skills --skill music-discoveryAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Formulate semantic music search queries, expand genres/moods, and discover music using alx search CLI.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.7 KB, 670 tokens by cl100k_base, as published. Nobody here has run it
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
- Receive user mood request (e.g. "feeling nostalgic").
- Generate 3 distinct related query terms (e.g., "90s classic hits", "retro ballad", "childhood memories").
- 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.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.