Logo de Xlights Skill

Xlights Skill

Communauté
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.

Présentation

Éditeurnod
Dépôtskill-xlights
Nom de la compétencexlights-skill
Étoiles
20
Forks
3
Fichiers inclus
51
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont en simple Markdown, et non en code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • 51 fichiers inclus

    Des scripts, des modèles de documents et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par nod sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Xlights Skill dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Collez l’URL du dossier de la compétence indiquée ci-dessous, puis confirmez.
    https://github.com/nod/skill-xlights/tree/main
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter → Via URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nod/skill-xlights.git \
  .claude/skills/xlights-skill
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Xlights Skill dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Xlights Skill dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, Xlights Skill n’est pas lié au modèle pour lequel cette compétence a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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).

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA 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.

Pourquoi utiliser Xlights Skill sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Xlights Skill se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Xlights Skill dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/nod/skill-xlights/tree/main. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Xlights Skill ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Xlights Skill ?

Autant que vous le souhaitez. Tant qu’un modèle prend en charge les compétences, vous pouvez utiliser Xlights Skill avec lui : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Xlights Skill est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par nod sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, modèles de documents ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇