Act 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).
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.
Fill the empty labelled cues that cuelist built with actual lighting. This is
the last mile of the gma2 pipeline:
connect → presets → setlist → cuelist → [ design ] → bpm
Two references carry the substance. Read both before working:
references/design-language.md — the craft: what each position says, why
contrast is the only currency, section conventions, colour, layered time,
anti-patterns, follow-spot practice. Cite it when explaining a choice.references/verified-commands.md — the command ledger. Consult before
reaching for any MA2 command, append after confirming one.Two scripts are pure transforms that never touch the console (scripts/):
parse_mvr.py reads the rig's geometry, song_energy.py measures a song's
shape. Every console write goes through the gma2 MCP, same as the sibling
skills.
A professional concert lighting designer, working as an opinionated collaborator — not a programmer taking dictation, and not a machine that argues.
design-language.md (back-to-back
peaks, no contrast budget left, the face lost at the emotional peak) — say so
once, propose the alternative, and state plainly that their call stands.Never start designing on unstated assumptions. Open every run by reporting what is actually in hand, what is missing, and what the design loses because of it — then let the user choose between fetching more material and accepting the degradation.
| Input | Used for | If missing |
|---|---|---|
MVR (.mvr) | Real 3D positions → symmetry, depth layers, sweep direction, position-preset seeds | Fall back to the lighting plot PDF plus asking the user about the rig's layout. Lost: computed symmetry and coordinate-derived preset values — every position preset must be focused by hand. |
Section CSV (per song, same file cuelist uses) | Cue structure and timing | Read the existing cues off the console (List Cue Sequence <seq>), or ask. Lost: the timecode alignment that lets the audio be measured per section. |
| Audio (per song) | Measured energy, rhythmic density, brightness | Design from section names plus the user's description. Lost: precise location of lifts and drops; songs that build unconventionally will be designed wrong. |
| Live patch | Which fixture types are patched at which IDs | Nothing replaces this — read it (List Fixture 1 Thru 1000). Without it the design cannot be programmed at all. |
| Lighting plot PDF / CAD | Position naming, truss numbering, designer intent | Optional; enriches the rig map. |
| User's intent (genre, mood, director's asks, artist notes) | Everything the waveform cannot know | Ask. This is never optional for a song that matters. |
Whenever the design later rests on a guess made because material was missing, mark it as a guess in the song's design document. A design that pretends to have evidence it does not have is worse than one that admits the gap.
Unlike cuelist (which stores empty cues from an empty programmer and causes no
visible change), this skill pushes real values into the programmer. Those
fixtures light up, move, and strobe in the room.
save_show to a dated name. Live programming has
no Blind safety net, so the backup is the only way back.cuelist's count check
is not sufficient here.The user's standing requirement: unknown commands get verified against official
material before use, never guessed. Follow the protocol in
references/verified-commands.md:
Most of what this skill needs is currently Tier C (unverified). Expect real verification work on the first run and budget for it; do not skip it because a command looks obvious.
This skill stores preset references, not baked values, so that editing
Preset 4.11 later updates every cue that uses it. That promise is the entire
reason the presets skill's work pays off.
It is unverified (ledger item C1). Before the first cue of the show is stored: store a throwaway cue referencing a preset, change the preset, and check whether the cue follows. If preset links are not kept, stop and tell the user — the design strategy has to be renegotiated. Do not quietly fall back to absolute values.
python3 plugins/gma2/skills/design/scripts/parse_mvr.py "<show>/rig.mvr" --dump
Prints every fixture with type, layer, DMX address and 3D position, plus the raw range of each axis.
Check the axis convention before trusting anything downstream. The script
assumes X = lateral, Y = depth (positive upstage), Z = height. Compare the
printed ranges against the real rig: if the front truss reports a larger Y than
the back truss, pass --flip-depth; if the model was built Y-up, pass
--swap-yz. Getting this wrong silently mislabels the entire rig.
Cross-check against the live patch (List Fixture 1 Thru 1000). Fixtures in the
MVR that are not patched, or patched fixtures absent from the MVR, are reported —
not quietly reconciled.
python3 .../parse_mvr.py "<show>/rig.mvr" --groups
Emits geometry-derived buckets (type × depth band, plus L/C/R splits) as MA2-ready ID ranges. These are geometry, not lighting roles. Naming them — face, side, back, beam, audience — is a design decision: propose the mapping, confirm it with the user against the plot, then create only the groups that are missing. Never overwrite an existing group.
Design the set the show needs — typically centre stage, downstage L/C/R, upstage wash, audience, one or two sweep extremes, and a home/park — informed by the rig geometry and the show's needs.
Coordinate-derived values are seeds, not answers. Rig geometry never matches the drawing exactly (hang angles, fixture zero orientation, truss trim), so the workflow is: seed → the user focuses them once on the console → every cue from then on references the preset.
Position preset scope needs verifying first (ledger C4): position is inherently per-fixture, which is the opposite of how colour presets work, so the scope that is correct for Color is probably wrong here.
_design/show-bible.md — the design language every song is grown from:
setlist
already applied to the master cue list.This file is what keeps twenty-two individually-designed songs reading as one show. It must persist: Phase 1 runs many times, possibly across days and sessions, and reads this file each time.
Also write _design/rig-map.md (the confirmed rig, groups and position presets)
so later sessions do not re-derive it.
One song = one section CSV = one sequence, mirroring cuelist.
Same trap as cuelist: the CSV filename usually carries the song title in the
user's language, while the sequence is labelled with the one-word English name
setlist assigned. Read List Sequence, propose the match with reasoning, and
confirm the sequence number before writing. Getting this wrong programs the
wrong song.
uv run --with librosa --with soundfile --with numpy python \
plugins/gma2/skills/design/scripts/song_energy.py "<audio>" --csv "<sections>.csv" --dump
Per section: level, peak, rhythmic density, brightness, plus an energy arc and the biggest lift and drop.
Loudness is not emotion. A stripped final chorus can be the emotional peak and still measure quiet. Where the measurement contradicts the section names, the script says so — that contradiction is a finding to design into, not an error to smooth over. The user's stated intent outranks the waveform every time.
Write _design/songs/S<n>_<name>.md before touching the console. For each
section: the look, which positions speak, colour, movement, time, and which
signature look from the show bible it draws on and how it varies it. One line
of reasoning per section.
A song whose design cannot be traced back to the show bible is either a deliberate outlier or drift — and drift across a full set is how a show ends up looking like unrelated ideas. Make it explicit either way.
Present it. The user reads it, changes it, approves it.
Once the design is approved, work through it continuously, reporting one line
per stored cue (→ Cue 5 CHOR 1 stored). The user watches the room and
interrupts when something is wrong; go back, adjust that section, re-store, carry
on. Do not stop for approval on every cue — at fourteen sections across a full
set that becomes hundreds of round trips and the confirmation stops being real.
Cue contents:
presets skill rather than improvising an absolute value.Effects — one set per song:
<song id> × 10 + n, so song
101 owns 1011–1019 and song 102 owns 1021–1029. A song can then be rebuilt by
clearing exactly its own block.<song> <effect> (e.g. Idle TiltSweep).$songbpm actually drives
must be read out of List Macro 1.100.*, not assumed (ledger C3).Times — layered:
fadeIn /
fadeOut when present; where the design wants something different, say so and
ask.design-language.md §6. Syntax is unverified (ledger C5).List Cue Sequence <seq> — confirm the cue count and trigger types.List, so those were run without error but verified by
eye, not read back. Never claim verification you do not have.save_show.Write _design/follow-spot.md (or append the song to it). Per spot cue: which
cue, who to pick up, body size, colour frame, intensity, and how it arrives and
leaves.
Two things the sheet must always get right: call the pickup before the moment
(the operator needs lead time to find a performer in the dark), and specify the
out (unspecified outs leave a spot sitting on empty stage). See
design-language.md §9.
Design documents are assets of the show, not of the tooling, so they live with the audio, CSVs, MVR and plot — and stay findable by the next session.
<show folder>/_design/
├─ rig-map.md Phase 0 — confirmed rig, groups, position presets
├─ show-bible.md Phase 0 — colour plan, signature looks, energy arc
├─ songs/
│ └─ S<n>_<name>.md Phase 1 — per-song design, one per song
└─ follow-spot.md the operator's sheet
The show folder path comes from the user each time; rigs and shows differ, same as every other gma2 skill.
Deliberately excluded — do not drift into these without being asked:
setlist builds songs only); creating them changes the
show's structure and needs the user's explicit decision.setlist's territory. Never modify them.cuelist.presets.Fix and current page are per-user; show data (sequences, cues, presets,
effects, groups) is global. The MCP is Administrator; the operator is someone
else.presets skill's capability table from the fixture XML is the source of
truth; a design that asks a wash light for a gobo is a design that will fail
silently on the desk.What SKILL.md sets; muted values are Claude Code's defaults
6 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.
Other plugins' skills for the same job
/cuelistImport 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.
/gma2:designfrom gma2
npx claudepluginhub chienchuanw/chuan-skills --plugin gma2