Build 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.
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.
Program preset palettes (Gobo=pool 3, Color=4, Beam=5, Focus=6) that work across
a mix of fixtures. The hard part is that "Strobe Fast", "wide", "Iris Closed",
"gobo 1.3" map to different DMX values on every fixture type — that info lives in
the MA2 fixture-type XML, not on the wire. scripts/profile_palette.py reads the
XML and resolves each named function to (attribute, At%) per type, which you
merge into one Global preset.
/Volumes/USB DISK/gma2/library/manufacturer@[email protected]). The user
provides these each time; rigs differ. One XML per fixture type in use.Run the bundled resolver to see what each fixture can do:
python3 plugins/gma2/skills/presets/scripts/profile_palette.py FIXTURE1.xml FIXTURE2.xml --dump
Note which fixtures support which preset types — dimmer-only profiles (a lone
DIM channel) get no Gobo/Color/Beam/Focus and are excluded. Report a capability
table so the user sees, e.g., "only the 600L has gobos; CT+ has no Focus."
Query the live patch (List Fixture 1 Thru 1000 via send_raw_command) to learn
the Fixture ID range for each type (e.g. Fine 600L = 101–109). You program presets
by selecting real patched fixtures — the XML is only the value source. If a type's
XML was given but it isn't patched, say so and skip it.
Use AskUserQuestion. Sensible defaults for a music show:
For Beam/Gobo/Focus, build a JSON query list and resolve across all profiles:
python3 .../profile_palette.py *.xml --queries \
'[{"label":"Strobe Fast","query":"max Strobe","feature":"SHUTTER"},
{"label":"Zoom Wide","query":"wide","feature":"FOCUS"},
{"label":"Prism","query":"4 facet prism"},
{"label":"Gobo 1","query":"gobo 1.1"}]'
The output gives {label: {fixture_name: [attribute, at_percent]}}. See
references/resolving.md for the query vocabulary (band vs. named-slot, strobe,
zoom reversal, gobo/prism/frost/iris) and worked examples.
Read back List Preset 4.1 etc. first — don't clobber existing presets without
confirming. Build via the MCP tools:
build_color_palette with scope="global", target = all colour
fixtures (e.g. Fixture 101 Thru 109 + Fixture 201 Thru 208), each colour as
{id, name, r, g, b, w}. It sets COLORRGB1/2/3/5, stores, labels, and sets the
pool swatch.build_preset_palette with preset_type set to
"gobo" / "beam" / "focus" (the required first argument — picks the pool),
scope="global", and per-preset by_target — one target per fixture type, each
with the resolved (attribute, at_percent) pairs. Targets accumulate (merge)
into one Global preset.Clear the programmer before and after (ClearAll) so the rig isn't left lit.
List Preset <pool>.<first> Thru <pool>.<last> to confirm count + labels (note:
List Preset 4 whole-pool may say "NO OBJECTS"; range form works). Report what was
built, what was excluded and why, and remind the user the show isn't saved.
Gobo = 3, Color = 4, Beam = 5, Focus = 6.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
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.
/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.
/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).
/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).
/gma2:presetsfrom gma2
npx claudepluginhub chienchuanw/chuan-skills --plugin gma2