yue2-music
БесплатноЗапускает вложенные скриптыНе проверенUse when generating songs with YuE2, covering a recording via SheetSage2 audio-to-ABC, editing a score or lyrics with melody preservation, or building a…
от sammcj★ 175 звёзд на GitHubОб этом скилле
YuE2 Music
Turn a musical request into a reproducible song and an audible comparison. Retain the original song and its plan before changing anything.
Choose the workflow
- Generate with editable melody and harmony: YuE2
cot="full"-> ABC -> song - Generate with a melody plan and free accompaniment: YuE2
cot="melody"-> chord-free ABC -> song - Generate without symbolic planning: YuE2
cot="off"-> song (no editable ABC) - Cover a recording: SheetSage2 -> inspect and correct ABC -> strip chords -> YuE2
melody - Cover an ABC melody: inspect or convert native ABC -> strip chords -> YuE2
melody - Change harmony, instruments, tempo, structure or lyrics: copy the full plan -> edit ABC or text -> regenerate
- Agentic editing: export plan and baseline -> bounded editing agent -> check invariants -> render -> compare
- Analyse continuous musical features: MERT2, see models-and-setup.md
Set up
Read models-and-setup.md for model IDs, install pins and licences.
- Work from a project directory, never inside this skill folder.
<skill>in commands below is this skill's directory. - Create
.venv-yue2in the project and install the YuE2 runtime from the official GitHub repository source. - Create
.venv-sheetsage2separately (dependency pins differ) and download the SheetSage2 snapshot tomodels/SheetSage2. - Record every model revision you download.
- Run on the supported baseline: one request at a time, BF16-capable NVIDIA GPU with 24 GB VRAM, default YuE2 settings. On Apple Silicon follow the MPS section of models-and-setup.md; scripts auto-detect the device.
- Scripts default to Hub model IDs; see each script's
--helpfor local snapshot and revision flags. Use a fresh output directory per run.
Generate and retain the plan
Copy assets/prompt.json to requests/<id>.json and edit it. Put genre, instruments, vocal character, language and tempo in style; put section tags and the actual words in lyrics. Keep implementation notes out of lyrics.
.venv-yue2/bin/python <skill>/scripts/run_yue2.py generate --request requests/song.json --output outputs/pop
.venv-yue2/bin/python <skill>/scripts/run_yue2.py all-modes --request requests/song.json --output outputs/modes
.venv-yue2/bin/python <skill>/scripts/run_yue2.py plan --request requests/song.json --output outputs/plan
Inspect result.json, truncation, score.abc, request.json and audio. The helper saves native artefacts including exact tokens and latent.npy; keep them. Preserve every requested mode and every failure. A playable file does not establish musical quality.
Read generation-and-covers.md for the Python interface, exact plan continuation, CFG, sampling and cached decoding. For a niche or extreme genre, or when a result sounds like the mainstream version of what was asked, apply its "Steer away from generic renditions" section before changing the prompt again.
Cover a recording
- Transcribe in the SheetSage2 environment. Select the vocal melody or the full lead melody including instrumental passages.
- Inspect warnings. Correct missed notes, meter or key before attributing errors to YuE2. Preserve source audio and raw transcription.
- Export chord-free ABC. When dropping a part, select the retained voice explicitly; stripping chords alone should preserve both melodic voices and their rests.
- Render with
cot="melody", target style and suitable lyrics. To retain the original harmony as well, transcribe in full and usecot="full".
.venv-sheetsage2/bin/python <skill>/scripts/transcribe.py reference.wav --task melody-full --output outputs/transcription
python3 <skill>/scripts/abc_tools.py strip-chords outputs/transcription/score.abc outputs/cover.abc
# The request supplies target style and lyrics.
.venv-yue2/bin/python <skill>/scripts/run_yue2.py generate --request requests/cover.json --cot melody \
--abc-file outputs/cover.abc --output outputs/cover-song
Edit or delegate an edit
Read editing-workflows.md and abc-editing.md before changing a score. Create a task per step below, each with its completion criterion, then work them to completion.
- Render a baseline from the full plan. Freeze its directory.
- Define invariants: exact pitches; pitch plus rhythm; contour only; or bounded melodic adaptation. Name the voices, passages, lyrics, instruments, tempo, meter and structure covered.
- Delegate when possible: fill in the edit brief and give a score-editing agent the raw ABC, prompt, lyrics and requested change. Request a new ABC, revised style or lyrics as needed, and an edit manifest. Give a separate reviewer the before/after artefacts and constraints. Without delegation, perform each stage yourself. Keep model generation seque
Установить yue2-music в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл yue2-music?
Use when generating songs with YuE2, covering a recording via SheetSage2 audio-to-ABC, editing a score or lyrics with melody preservation, or building a reproducible listening comparison of YuE2 output
Как установить скилл yue2-music?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл yue2-music запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub