music-intelligence
Installation
SKILL.md
Music Intelligence
- Call
analyze_musicwhen the user asks to analyze music or no cache exists. It runs the installed local Beat This + CLAP models, waits for completion, and never downloads models; useforce:trueonly for an explicit reanalysis request. - Call
inspect_musicwhen only the existing cache is needed. - Before cutting video, call
music_edit_planand show its bounded cut/target summary. Before placing photos, callmusic_image_planand show its bounded placement summary. Prefertiming:auto; choose sparse, medium, or dense from the requested pace. - Only after the plan is accepted, call
sync_cuts_to_musicorsync_images_to_musicwith the returnedanalysisRef. Each tool recomputes the plan, rejects stale analysis, and applies its changes as one undo step. - If required model packs are missing, report the returned install guidance (Settings path + missing pack names), then ask whether to proceed with a
detect_beatsfallback for pure beat timing (BPM + beat frames only, no CLAP tags/sections/energy), or wait until the user installs the packs and retryanalyze_musicafter installation. - 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.