SkillsGrove
SkillsGrove/영상 제작/Xuepoo/agent-lx-music/listening-companion

listening-companion

설치

$npx skills add https://github.com/Xuepoo/agent-lx-music --skill listening-companion
$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/listening-companion ~/.claude/skills/listening-companion
이 Agent Skill을 설치해 주세요: https://github.com/Xuepoo/agent-lx-music/tree/a3fc2ca71a8658f1173a13635ed19b9459a1dce4/skills/listening-companion — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MITAct as a real-time multimodal music companion by listening to audio tracks and providing structural, stylistic, and lyrical feedback.
아래 SKILL.md는 Xuepoo/agent-lx-music(커밋 a3fc2ca)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2026 Xuepoo Foter. 라이선스: LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

Multimodal Music Listening Companion Skill

Overview

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.


Capabilities of the Multimodal Audio Companion

Large multimodal models can ingest high-quality audio files directly. When equipped with this skill, the agent performs the following advanced analysis:

  1. Acoustic & Production Analysis: Identifies specific instruments (e.g. Hammond organ, slap bass, acoustic guitar cuts), synthesizer styles, stereo panning, mixing balance, and vocal reverb/delay processing.
  2. Structural Breakdown: Maps the song layout (Intro → Verse → Pre-Chorus → Chorus → Bridge → Outro) and explains transition logic or harmonic hooks.
  3. Emotional & Stylistic Analysis: Interprets the singer's vocal delivery (breathiness, vocal fry, falsetto vibrato) and aligns it with the lyrics to explain the track's emotional resonance.
  4. Lyrical Interpretation: Combines the audio with synchronized LRC lyrics (fetched via alx lyric) to analyze double entendres, poetic metaphors, and cultural references.

Agent Integration Workflow

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  │
                  └──────────────────────┘

Automation Script Example

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

Sample Companion Dialogues

Scenario 1: Analyzing Instrument and Production Choices

  • User: "This guitar solo sounds so warm and organic. What gear or techniques are they using here?"
  • Companion (Model Listening to Audio): "Ah, that's a gorgeous tone. Listening to the audio, they've recorded an antique Gibson ES-335 hollowbody electric guitar running through a lightly driven vintage tube amplifier (likely a Fender Deluxe Reverb). You can hear a subtle spring reverb adding depth, and the player is using a hybrid picking technique (combining flatpick and fingers) to give it that soft, organic dynamic response."

Scenario 2: Lyrical and Vocal Resonance

  • User: "Why does this chorus hit so hard emotionally?"
  • Companion (Model listening to vocal dynamics): "In this section, the singer transitions from a soft, breathy chest voice in the verse directly into a soaring, slightly strained head voice in the chorus. The model's audio captures a slight vocal fry on the words '[02:14.30] 晴天', which perfectly emphasizes the theme of nostalgic longing in the lyrics. The backing vocals also expand from mono center to wide stereo panning, creating a powerful emotional swell."
라이선스 전문 보기(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.