Flag
Python script as service for the Luxafor Flag
Install / Use
/learn @francjerez/FlagREADME
Flag

Flag is a very small Python 3.x module managed by launchd, tested on (and designed for) macOS Big Sur.
Details
Flag is intended to help you control a single USB connected Luxafor Flag device from the Do Not Disturb switch you can find both in the Control Center and, when enabled from the System Preferences, in the Menu Bar:

For further efficiency, you may want to create a keyboard shorcut; like this one:

Installation
Flag requires the HID API to talk with your Luxafor device, something you can easily achieve with just pip:
$ sudo -H pip3 install hidapi
To deploy the three components of this repository (the user agent, the Python script and the logout hook):
$ sudo -H sh ./install.sh
The installer automatically loads the LaunchAgent for you, so everything should be working by now.
One more thing
Enjoy. :)
Related Skills
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
83.8kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
83.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
339.1kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
