/lightkey-patcher:lightkey-streamdeckfrom Lightkey Patcher
Builds and checks Elgato Stream Deck profiles that fire Lightkey lighting cues over MIDI, with keys that light while their cue is live. Add-on to lightkey-patcher for the show file.
Ships in Lightkey Patcher. 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.
None: SKILL.md is the whole skill.
An add-on to the lightkey-patcher skill. That skill builds and revises the .lightkeyproj; this
one builds the Stream Deck profile that drives it, and checks that the two agree. Run it only when the
user asks for Stream Deck keys, or the show already has a profile that must follow a new version.
Paths are relative to the root of this plugin/repository (from this skill's directory,
../../): docs/streamdeck-midi.md (read it first), streamdeck/, lightkey/bindings.py,
tools/build_streamdeck_profile.py, tools/check_streamdeck_profile.py,
tools/export_midi_map.py, examples/streamdeck_layout.json. Python 3 standard library only;
--icons also needs macOS (it draws with AppKit through osascript).
.lightkeyproj save.python3 tools/export_midi_map.py <show> lists what is bound. Missing notes: add them in the show
build with lightkey.bindings (free_notes, add_note_trigger) — through the lightkey-patcher
revision workflow (docs/update-workflow.md), because this changes the show file.docs/streamdeck-midi.md → Key modes). The builder derives
each key's mode from the show:
bindings.set_behaviour), not the layout.examples/streamdeck_layout.json. Home page = what every service needs; one idea
per page; NEXT bottom-right, PREV above it; fit each exclusive group on one page (a latch group only
redraws the page on screen). Set channels if cue names repeat across panels.tools/build_streamdeck_profile.py --template … --show … --layout … --out … --icons
(--icons needs macOS). It refuses unsafe pairings and runs the checker on its own output.tools/check_streamdeck_profile.py <profile> <show> --against <previous>.
Zero FAILs; every WARN explained to the user; the diff lists only the keys you meant to change.*_preview_off.png, *_preview_on.png), and
the install + test steps from docs/streamdeck-midi.md → Installing and Testing on the rig. Say
which latch groups span pages (stale keys are expected there).Every new show version: rebuild the profile from the new show (it re-reads every note), check it with
--against the old profile, and send it along with the show even if only a note moved. A profile
that is one version behind its show is the most common reason a key "stops working".
| They say | Likely | Do |
|---|---|---|
| Keys do nothing, then all fire at once when the Stream Deck app is clicked | macOS App Nap | defaults write -g NSAppSleepDisabled -bool true, reopen the Stream Deck app |
| No key works at all | Stream Deck app started before Lightkey; wrong profile selected; port | restart the Stream Deck app after Lightkey; check smo is Lightkey Input |
| One key does nothing | its note isn't bound, or is bound to a deleted cue | run the checker; export_midi_map.py |
| A key stays lit after another is pressed | its latch group spans pages | expected; press any key on that page; tighten the layout |
| A lit key can't switch its cue off | trigger is Activate/Toggle, not Flash | fix the show trigger to Flash |
| One press changes lots of cues | Latch/Toggle key + On/off ticked | unplug the deck now; run the checker; untick On/off |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
npx claudepluginhub jimhoggey/lightkey-skill --plugin lightkey-patcherOther plugins' skills for the same job