music-intelligence
Installation
SKILL.md
Music Intelligence
- Call
inspect_musicfirst. It only reads an existing local Beat This + CLAP cache; it never downloads models or starts analysis. - Before editing, call
music_edit_planand show its bounded cut/target summary. Prefertiming:auto; choose sparse, medium, or dense from the requested pace. - Only after the plan is accepted, call
sync_cuts_to_musicwith the returnedanalysisRef. It recomputes the plan, rejects stale analysis, skips locked video tracks, and applies all splits as one undo step. - If analysis is missing, tell the user to install
rhythm-liteandmusic-semantics-litelocally if needed, analyze the media-pool asset in the UI, then retry. Never trigger heavy analysis from an Agent tool call. - Never request, return, quote, summarize, or place the CLAP embedding in model context. Use tags, sections, confidence, and the opaque
analysisRefonly.
Preconditions
- Analysis is opt-in and on-device. The media-pool asset must already have a cache for its current
sourceRevision. rhythm-litesupplies Beat This rhythm data;music-semantics-litesupplies CLAP tags and the private similarity vector.- An Agent call must never install a pack, download a model, decode media, or start inference. Direct the user to Settings and the media-card analysis action when the cache is unavailable.
Inspect
- Identify the BGM by
itemId,assetId, or an unambiguous name. Prefer the timeline item when the user intends to edit, because returned points are then mapped to timeline frames through the clip trim and playback rate. inspect_musicreturns BPM, meter, confidence, tags, sections, counts, and bounded point lists. Lists are capped at 48 beats, 24 downbeats, 16 sections, and 12 tags; use a narrower range whentruncatedis true.- Treat
analysisRefas opaque. It binds later planning and execution to the exact cached analysis without exposing the 512-value CLAP embedding.