Import a song's cue-list CSV (section markers like PGM IN / INTRO / VER 1 / CHOR 1 with a number, name, and timecode) into that song's grandMA2 sequence, building each section as a labelled cue so the operator gets a navigable skeleton to program against. Use whenever the user hands over a per-song CSV of cues/sections and wants it pushed onto the console — "save this cue list to the sequence", "import these cues", "build the cues from this CSV", "turn this section map into cues for the song", or points at a file named like `S1_<song>.csv`. Assumes the song's sequence already exists (built by the setlist skill) and the gma2 MCP is connected (connect skill). Prefer this over hand-typing Store commands — it parses the CSV, maps it to the right sequence, guards against clobbering existing cues, and verifies the result.
Ships in gma2. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Take a per-song cue-list CSV and store each row as a labelled cue inside that song's sequence. The cues are empty placeholders — a navigation skeleton (PGM IN → INTRO → VER 1 → …) that the operator walks with Go and programs later. The CSV is the section map; the lighting comes afterwards.
Parsing lives in scripts/csv_to_cues.py (a pure transform — it only prints
commands, never touches the desk). All console writes go through the gma2 MCP
send_raw_command, so the console path stays in one place.
fadeIn/fadeOut/notes. Files are commonly named S<n>_<songtitle>.csv
where <n> is the song's order within the show.setlist skill, with a
home Cue 0.5 "LOADING SONG"); the console is connected (connect skill).Run the parser to see the sections and catch oddities before writing anything:
python3 plugins/gma2/skills/cuelist/scripts/csv_to_cues.py "<path>.csv" --dump
It prints a cue · name · time table, the time span, and warnings (blank
names, duplicate names — legal since cue numbers differ, non-increasing
numbers). Column matching is forgiving (case-insensitive keywords), so most
exports parse without fuss. Report the table so the user can eyeball it.
The CSV filename usually carries the song title (often in the user's language), while the sequence is labelled with the one-word English name the setlist skill assigned. These don't map mechanically, so don't guess silently — read the live sequences and propose the match:
List Sequence # via send_raw_command — lists song sequences by name
Use the S<n> order in the filename plus the song-title meaning to propose the
matching sequence (e.g. S1_食等睡等 → the first song → Sequence 101 "Idle").
State your reasoning and confirm the sequence number with the user before
writing. Getting this wrong writes cues onto the wrong song.
A freshly-built song sequence holds only the home Cue 0.5, so List Sequence <seq> reports (1) at the end of its row — the cue count. Read it first:
List Sequence <seq> # row ends with (N) = number of cues
If N > 1, the sequence already has show cues — stop and ask before
overwriting or extending. Don't silently store over someone's programming. (A
count of exactly 1 means only the home cue exists → safe to add 1..N.)
Generate the command list for the confirmed sequence and send each line through
send_raw_command:
python3 .../csv_to_cues.py "<path>.csv" --commands <seq>
This emits ClearAll, then one Store Sequence <seq> Cue <n> "<name>" /nc per
row (label baked into the Store), then a closing ClearAll. The ClearAll
brackets matter: storing from an empty programmer is what makes each cue an
empty, labelled placeholder rather than capturing whatever was live. The
home Cue 0.5 is left untouched.
Defaults and why:
--note-col time to
write @<t>s into each cue's Note (a separate Assign Cue … /note line). For
auto-advancing cues (Follow / Time / Timecode) see references/cue-options.md
— that's a deliberate opt-in, not the default.Read the cues back:
List Cue Sequence <seq>
Confirm the count went from (1) to (1 + rows) and that the new cues show
Trig = Go, Mode = Normal. Cue Name is not exposed over this console's
Telnet (a known limitation — see the connect skill), so the labels can't be
read back; confirm them by eye on the console. Report the cue table (number ·
name · time), note the duplicate-name flags, and remind the user the show
isn't saved (Backup / Save Show).
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/gma2:cuelistfrom gma2
npx claudepluginhub chienchuanw/chuan-skills --plugin gma26 skills in this plugin
/bpmEstimate the BPM of a show's audio files and write each tempo into its song macro's `SetVar $songbpm` line on grandMA2, so the speed master tracks per song. Use whenever the user points at a folder of performance audio and wants BPM detected and pushed into the song macros — "analyze the BPM", "calculate tempos and update the macros", "fill in $songbpm from these tracks", "get the BPM for the set". Requires the gma2 MCP connected and the song macros already built (see the connect and setlist skills). Needs ffmpeg; pulls librosa via uv.
/connectInstall, register, and verify the gma2 MCP server so Claude can drive a grandMA2 lighting console (or onPC) over Telnet. Use this whenever the user wants to "connect to grandMA2", "set up the MA2 console", "install gma2 mcp", "hook up the lighting desk", asks why the gma2 tools aren't available, or is about to run any other gma2 skill (presets / setlist / bpm) and the server isn't connected yet. This is the entry point for the whole gma2 plugin — run it first.
/designAct as a professional concert lighting designer on grandMA2: design each song's looks from its audio energy, its section map and the rig's real 3D geometry (MVR), then program them into that song's cues as preset-referenced values with layered fade times, per-song effects locked to the BPM speed master, plus a follow-spot sheet for the operator. Use whenever the user wants the lighting itself designed or programmed — "design the lighting for this song", "program the looks", "fill in the cues", "what should this chorus look like", "設計燈光", "編燈", "打光". Requires the gma2 MCP connected (connect skill) and the song's sequence with labelled empty cues already built (setlist + cuelist skills); the presets skill supplies the palettes this skill references. NOT for UI, web or graphic design (that is the separate design-canvas skill), and NOT for building the empty cue skeleton from a CSV (that is cuelist).
/presetsBuild grandMA2 Gobo / Color / Beam / Focus preset palettes from fixture-type XML profiles, programming the correct per-fixture-type DMX value for each named function so one logical preset works across mixed fixtures. Use whenever the user wants to "build presets", "make a color palette", "set up gobo/beam/focus presets", "program a preset pool", or hands over fixture XML files and a console to populate presets on. Requires the gma2 MCP server connected (run the connect skill first). Prefer this over hand-writing preset commands — it resolves fixture-specific values from the profiles instead of guessing.
/setlistBuild a grandMA2 per-song show system from a set list / rundown: for each song a selector macro, a sequence (with a home cue), a same-named executor on the "Set List" page, a per-song page and view, plus one cue on a master "Set List" cuelist coloured by artist. Everything is linked BY NAME so the existing "Song Change" macro engine drives it. Use whenever the user hands over a rundown / set list (PDF or text) and wants the song macros / sequences / pages / executors built or rebuilt, says "build the set-list system", "set up the songs", "program the show structure from this rundown", or wants to understand/map an existing song-macro engine. Requires the gma2 MCP connected (run the connect skill first).