StudioLights
できること
このスキルは、一つのコマンドでスタジオライトの明るさと色を設定し、後で呼び出せる照明のシーンを保存します。照明の組み合わせをすばやく切り替えたい動画クリエイター向けです。
使う場面
- ✓撮影のためにスタジオライトを設定したいとき。
- ✓リグの中の一つのライトを暗くしたり明るくしたりしたいとき。
- ✓現在の照明をシーンとして保存したいとき。
スキルのリンク
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/StudioLights/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“撮影用にスタジオライトを設定し、キーライトを少し暗くしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、ローカル接続を通じて amaran のデスクトップアプリにコマンドを送り、ライトが要求どおりの明るさを報告しているかを確認します。保存された各シーンは、その名前で保存された正確な明るさを復元します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
StudioLights
Deterministic control of a studio lighting rig through amaran Desktop's local WebSocket API (ws://127.0.0.1:33782/ws, protocol v2 — the same local API the official Bitfocus Companion module uses). The tool auto-launches amaran Desktop if it isn't running.
Ideal State
- Every lighting change runs through
Tools/Lights.tsagainst the rig the USER tree'sdevices.jsonandscenes.jsondefine; no fixture, name or level is assumed from this skill. - Done is said only when the lights themselves read back the requested state.
- A saved scene restores exactly the levels saved under its name, whether "recording", "normal" or any later caller asks for it.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
| Control | "recording", "set the lights", "light scene", "dim X", "save this lighting" | Intents/Control.md |
| File | Read when |
|---|---|
Setup.md |
first-time setup: amaran Desktop, finding node IDs, and writing devices.json and scenes.json |
Data & Config
The rig lives in the USER tree, never in this skill: LIFEOS/USER/CUSTOMIZATIONS/SKILLS/StudioLights/devices.json holds each fixture's name, node ID, model and whether it has color temperature, and scenes.json holds the saved scenes. Free-form notes about the rig (where each light stands, what each scene is for, which Shortcut or macro calls a scene by name) go in Config.md in the same folder; the tool never reads it. First-time setup, including how to find node IDs and a worked example of a voice trigger, is in Setup.md.
Tools/Lights.ts exits with an error pointing at Setup.md when devices.json is missing; Lights.ts devices lists the node IDs to put in it and runs before the file exists. The tool finds that folder from its own skill folder's name, so the skill folder and its USER folder must share a name.
Gotchas
- amaran Desktop must be running, because it is the bridge between the Mac and the lights' Bluetooth mesh.
Lights.tslaunches it and waits up to 30s. If it opens signed out, it reports no lights; sign in once in its window. - Daylight-only lights report
cct: 0and ignore color-temperature writes. Mark them"supportsCct": falseindevices.jsonand the tool skips CCT for them;Lights.ts devicesguesses this for you. - The API's intensity unit is 0–1000, ten per percent. The tool takes 0–100 and converts.
- Each light accepts one command per 200ms. The tool spaces writes 220ms apart, so a scene takes about half a second per light. Do not run writes in parallel.
- Each request carries a token in the same AES-GCM format the official Bitfocus Companion module sends;
Lights.tsbuilds it for every request. - amaran Desktop is the only automation path; the phone apps for these lights offer none.
- Anything that calls a scene by name (a Shortcut, a macro, another skill) breaks silently when the scene is renamed in
scenes.json, so update the caller when you rename. A Shortcuts "Run Shell Script" action works on a Mac only.
Examples
Example 1: Recording
User: "recording" / "set lights for recording"
→ Control intent
→ bun Tools/Lights.ts scene recording
→ Lights move to the levels saved in the recording scene
Example 2: Back to normal
User: "lights back to normal"
→ Control intent
→ bun Tools/Lights.ts scene normal
→ Each light reports back at the normal scene's levels
Example 3: Tune and persist
User: "key light to 30%" ... "perfect, save this as recording"
→ Control intent
→ bun Tools/Lights.ts set key --intensity 30
→ bun Tools/Lights.ts scene save recording
→ The recording scene now holds the levels the user tuned
よくある質問
スマートホームの照明も操作しますか?
いいえ。スタジオの照明リグ向けで、住宅の照明や Hue のライトは対象外です。
amaran のアプリが必要ですか?
はい。amaran Desktop アプリが必要で、まだ起動していなければ、スキルがそのアプリを起動できます。
保存したシーンは変わりますか?
いいえ。シーンは、その名前で保存された明るさを復元します。
詳細
作者による元の説明
Controls Aputure and amaran studio lights via the amaran Desktop WebSocket API: named scenes, per-light brightness and color temp, save the current state. USE WHEN lights recording, lights normal, recording lights, set lights for recording, studio lights, light scene, dim the key light, set the lights, lights too bright, save this lighting, green screen lights. NOT FOR house/Hue lights or thermostat (a home-control skill), studio audio, or video editing.
repo: danielmiessler/LifeOS
人気
- GitHubのスター
- 20k
- ランキング
- #10464
- ライセンス
- MIT
- 更新日
- 2026/10/28
コメント
- …
このリポジトリの他のスキル
LifeOS
20kインタビューとダッシュボードを通じて、現在の状態を理想の状態へ結びつける個人システム LifeOS を、エージェントが設定するのを支援します。
AnnualReports
20k主要ベンダーのサイバーセキュリティの年次レポートを探して比較し、侵害やランサムウェアの傾向などをまとめます。すべての数字に出典を付けます。
ApertureOscillation
20k一つの設計上の問いを、狭い範囲と広い範囲の両方でテストし、構築する前に二つの答えが食い違う箇所を指摘するよう、エージェントに教えます。
Aphorisms
20k新聞の編集テーマに合う、出典の確かな引用を、キュレーションされたコレクションから見つけ、照合し、最近使ったものを避けて管理するよう、エージェントを支援します。