listening-companion
Act as a real-time multimodal music companion by listening to audio tracks and providing structural, stylistic, and lyrical feedback.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Act as a real-time multimodal music companion by listening to audio tracks and providing structural, stylistic, and lyrical feedback.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Control agent-lx-music (alx) CLI to search, play, download music, fetch lyrics/covers, and manage playlists.
Inspect downloaded track waves or query APIs to analyze audio parameters like BPM, Key, Energy, and Valence.
Formulate semantic music search queries, expand genres/moods, and discover music using alx search CLI.
| name | listening-companion |
| description | Act as a real-time multimodal music companion by listening to audio tracks and providing structural, stylistic, and lyrical feedback. |
| version | 1.0.0 |
| author | agent-lx-music project |
| license | MIT |
| metadata | {"hermes":{"tags":["music","companion","multimodal","audio","conversation"],"related_skills":["agent-lx-music","audio-analysis"]}} |
This skill enables AI agents with multimodal audio processing capabilities (such as Gemini 1.5 Pro) to function as a real-time, highly interactive Music Listening Companion (听歌伴侣). The agent literally "hears" the audio tracks played by alx and combines it with lyrics and metadata to engage in rich, analytical, and emotional conversations with the user about music.
Large multimodal models can ingest high-quality audio files directly. When equipped with this skill, the agent performs the following advanced analysis:
alx lyric) to analyze double entendres, poetic metaphors, and cultural references.When a user initiates the Listening Companion mode:
┌──────────────────────┐
│ 1. User plays music │
└──────────┬───────────┘
▼
┌──────────────────────┐
│ 2. Agent downloads │
│ audio clip & LRC │
└──────────┬───────────┘
▼
┌──────────────────────┐
│ 3. Feed audio + LRC │
│ to Multimodal LLM │
└──────────┬───────────┘
▼
┌──────────────────────┐
│ 4. Rich Conversation │
│ on style / music │
└──────────────────────┘
The agent can fetch the currently active song, download a 30-60 second preview or the full audio, fetch the cached lyrics, and submit them to the multimodal interface:
# Step 1: Resolve currently active song metadata
SONG_INFO=$(alx now --json)
SONG_ID=$(echo "$SONG_INFO" | jq -r '.song.song_id')
# Step 2: Download the audio file and its lyrics
alx download "$SONG_ID"
alx lyric "$SONG_ID" --save