Logo van Xlights Skill

Xlights Skill

Community
nod
xlights-skill

Design and generate xLights Christmas/holiday light-show sequences (.xsq) from a song's audio - split the song into instruments, find beats, notes, lyrics, key and structure, then write a sequence whose lights tell the song's story. Use when someone has an xLights show folder and wants a new sequence for an mp3, wants an existing generated sequence changed, or asks how to make their lights "dance" to a song.

Overzicht

Uitgevernod
Repositoryskill-xlights
Skillnaamxlights-skill
Sterren
20
Forks
3
Meegeleverde bestanden
51
LicentieMIT
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • 51 meegeleverde bestanden

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. Bestanden zijn alleen-lezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door nod op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Xlights Skill in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/nod/skill-xlights/tree/main
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nod/skill-xlights.git \
  .claude/skills/xlights-skill
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Xlights Skill in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Xlights Skill automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Xlights Skill niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

xLights sequencing from audio

You are building a light show for a person who will watch it on their own house. You cannot see the result: xLights renders it on their machine. So you listen to the song with tools, design deliberately, write the design down, generate the sequence with code, check it every way you can without eyes, and ask them what it looks like. If the user has turned on xLights' API port and said you may drive their xLights, xl.py and snap.py let you render, save and look at the actual frames first (reference/pipeline.md, "Render, save, read back"); the user's eye still has the last word.

What made the user's favourites great was never the effect count. It was a story the lights tell, timed to the words, with every signature sound given one consistent look. Read reference/case-studies.md before designing anything - it is the user's own verdicts on their songs.

Files in this skill

PathWhat
scripts/the toolkit, copied into <show>/tooling/: setup.sh, separate.sh (Demucs + Basic Pitch), extract_events.py (beats, hits, bars, summary), lyrics.py (Whisper words), analyze_key.py, find_motif.py (every repeat of a riff from one example), seqlib.py (effect helpers + .xsq writer), validate_xsq.py, timeline.py, footage.py (a real-show video lined up with its sequence), layout_report.py, effect_examples.py, xl.py (drive xLights: open, render, save, close), fseq.py + layout.py (decode a saved render at a model's channels), snap.py (a still of one prop from the render), xsq_compare.py (do two .xsq draw the same effects), show_config.example.py, run
templates/build_template.pystarting point for a song's generator
examples/<song>/eight real generators with their handoff notes (build.py, notes.md, summary.txt). They use the names in show_config.example.py (the show they were made for)
reference/pipeline.mdsetup, commands, analysis gotchas
reference/xsq-format.mdthe file format: layers, blending, subbuffers, palettes, colour curves, value curves
reference/effects.mdeach effect: what it looks like, the helper, verified or not
reference/techniques.mdrecipes: characters, canvas motion, pixel art, crowds, story devices, moments
reference/case-studies.mdwhat was built for each song and what the user said; the feedback that became rules
reference/ideas.mduntried techniques to offer: singing faces, instrument pictures, words with transitions, masks, group render styles, timing-driven effects

First time in a show folder

  1. Look around: xlights_rgbeffects.xml (layout), xlights_networks.xml, the sequences folders. Find the newest sequence made for the current layout (layouts change between years; old sequences reference models that no longer exist) and use it as the format reference.
  2. Find out where xLights runs. If it's another machine, media and shader paths must use that machine's path (MEDIA_ROOT in show_config.py).
  3. Install: copy scripts/* to <show>/tooling/, run ./setup.sh, copy show_config.example.py to show_config.py, run ./run layout_report.py (and --draft-config), and fill in the config. Ask the user what the props physically are - a matrix wrapped around a tree trunk, a wall of free-standing matrices, a spot on the manger - and write it in the config comments. Physical meaning drives good design.
  4. Ask which of their existing sequences they love and why; read them with effect_examples.py and the XML. That's where their taste and the verified settings keys are.

Making a sequence

  1. Listen. separate.sh, extract_events.py (--loose if it drifts), lyrics.py --model=medium.en (--prompt + --no-vad if lines are missing), analyze_key.py. Read summary.txt + lyrics.txt together and write the section table in bars: intro, verses, pre-choruses, choruses, stops (kick count 0), breakdowns, key changes, the ending. Note which stem carries what (melody, lead, synth hook, backing "oohs").
  2. Understand. What is the song about, in one sentence? What's the mood? What are its 2-4 signature sounds (a falsetto ooh, a guitar riff, a synth sparkle, a band that stops dead)? Where are its big moments (the key change, the drop, the last chorus, the silence)? Minor-key stretches are usually its darkest words.
  3. Design (write it as the build's docstring before coding):
    • A story and a character. A light that does what the words say - a sprite, "the mind", a spark, a heart passed through a crowd. Map the lyric's images literally and playfully: "feet in the air" turns the world upside down, "spin it" spins the yard, "where is my mind?" sends out sonar pings, "your way" lights a road.
    • One look per signature sound, held all song (the oohs are always the lavender ghosts).
    • The instrument map, constant across the show for cohesion: kick → arches, snare → motion on the canvas / rings up trunks, bass → a dot on a long line positioned by pitch, melody → how high the spiral trees glow, drums → pixel sticks bounce.
    • A colour plan by section that follows the mood and the key (warm → rainbow at a lift; cold and dark in the minor pre-chorus). Ask the user's colour likes; this user found #FFAA00 too amber - gold is #FFC832.
    • A handful of whole-yard moments at the peaks; darkness for stops and quiet lines.
  4. Build tooling/songs/<song>/build.py from the template or the nearest example. Anchor everything to bars, beats, hits, notes and words from the analysis - never hand-typed seconds.
  5. Check. validate_xsq.py must say 0 problems. Draw timeline.py images and look at them. Print the Story track against the lyrics. Only if the user has set up rendering through xLights and said you may use it (reference/pipeline.md), and isn't working in xLights right now: open, render and save through xl.py, then snap.py the props that carry the story at the moments that matter, and fix what you see before handing off. Rebuild every other song afterwards if you touched seqlib.py (they should come out byte-identical) - other sequences depend on it.
  6. Hand off. Write seqs/<song>/notes.md (the song, sections, concept, files, rebuild command, and the list of things you couldn't verify), then tell the user in plain words what they'll see, moment by moment, and what to check first. Ask for their render feedback, and fold it into the build and the notes.

Rules from this user's feedback (keep unless your user says otherwise)

  • Groups over single models. Single models only for a character that must land on one exact prop, or pixel art.
  • Whole-yard moments every so often (Seq.moment), not constantly.
  • A matrix wall is ONE canvas: never flash panels on and off. Light moves across it (sweeps, ripples, scrolls, climbs, characters). Solid colour that moves is fine.
  • Props wrapped on real objects get their own vocabulary (trunks: rings racing up, barber poles, rising from the roots, drips) - not mini-walls.
  • Gradients, not flat colour - but keep them saturated. Blend a colour toward a neighbour of its own family, not toward white (pastel) and never red straight into green (the midpoint is olive brown). The user called a build "more subdued than they should" when most motifs faded to white and the canvas sat at 18-25 %. Keep backgrounds around 35-45 %, foreground 85-100 %, and run scripts/color_check.py against a sequence they liked.
  • Contrast. Quiet words get less light; the stop before a chorus is darkness and one small thing.
  • No amber unless asked; gold sparingly, for meaningful moments.
  • Don't overwrite their edits: the builder refuses if a sequence changed since it was generated - ask first.

Working with the user

  • They see the render; you don't. Lead with what they will see, in their words, and end with 2-5 concrete things to check. Keep it short; offer depth on request.
  • When they point at a sequence they like, study it and name what you're taking from it.
  • When they say "just try to one-shot it", do the whole job end to end, then report.
  • Save what you learn about their taste where future sessions will see it (the song's notes.md, and memory if you have it).

Meegeleverde bestanden

Het model leest deze bestanden wanneer nodig terwijl de skill geladen is. Ze worden beschikbaar gesteld als leesbare bestanden en worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Xlights Skill?

Design and generate xLights Christmas/holiday light-show sequences (.xsq) from a song's audio - split the song into instruments, find beats, notes, lyrics, key and structure, then write a sequence whose lights tell the song's story. Use when someone has an xLights show folder and wants a new sequence for an mp3, wants an existing generated sequence changed, or asks how to make their lights "dance" to a song.

Waarom Xlights Skill gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Xlights Skill bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Xlights Skill in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/nod/skill-xlights/tree/main. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Xlights Skill gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Xlights Skill gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Xlights Skill ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Xlights Skill gratis?

Ja. Deze skill is door nod op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇