rtfirst

Music Analyzer — AI skill for Claude Code

AI community

AI Coding Agent Skill for comprehensive music analysis — genres, moods, instruments, BPM, key, lyrics & production description.

How to install Music Analyzer

This entry records only its repository, not the path inside it, so there is no exact command to give. Open rtfirst/music-analyzer and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Music Analyzer does

AI Coding Agent Skill for comprehensive music analysis — genres, moods, instruments, BPM, key, lyrics & production description.

Alternatives in AI

  • Rb Setup — First-time setup 1.3k ★
  • EasyCode — Easy Code (formerly DeepV Code) — A highly customizable AI coding assistant compatible with all major AI model 421 ★
  • DeepVCode — DeepV Code - A highly customizable AI coding assistant compatible with all major AI models 406 ★

README

Music Analyzer — AI Coding Agent Skill

A skill for AI coding agents (Claude Code, Codex, Gemini CLI, Copilot CLI) that performs comprehensive music analysis on audio files. It combines AI-powered vocal separation (HDEMUCS), speech-to-text lyrics transcription (Whisper), and signal processing (librosa) to extract detailed musical features — then lets the AI interpret the raw data into genre classifications, mood analysis, instrument detection, and a rich production description.

Compatible Agents

Agent Skill System Status
Claude Code Skills (SKILL.md) Fully supported
Codex (OpenAI) Skills (SKILL.md) Compatible
Gemini CLI (Google) Skills via activate_skill Compatible
Copilot CLI (GitHub) Plugins Compatible

The `SKILL.md` defines the workflow. Any AI agent that can read Markdown instructions, run Python scripts, and interpret JSON output can use this skill.

What It Does

Given any music file (MP3, WAV, FLAC, M4A, OGG), the skill produces:

**Lyrics Analysis** — Summary, moods, themes, language, explicit content detection **Music Analysis** — Genres, subgenres, moods, instruments, BPM & key, vocal description **Production Description** — Detailed prose describing drums, bass, harmony, melody, vocals, and mix characteristics

How It Works

Audio File
    │
    ▼
[1] Load audio (librosa)
    │
    ▼
[2] Vocal separation (HDEMUCS) ──► vocals + accompaniment
    │                                    │
    ▼                                    ▼
[3] Lyrics transcription          Accompaniment feature
    (Whisper)                     extraction
    │
    ▼
[4] Audio feature extraction (librosa)
    BPM, key, spectral features, MFCCs, chroma, energy
    │
    ▼
[5] JSON output ──► AI interprets ──► Formatted analysis

The Python pipeline extracts raw audio features and transcribes lyrics. The AI agent then uses its broad music knowledge combined with a genre referen