跳到主要内容
知仓学习社ZHICANG

timebuzzer-led

Control timeBuzzer hardware LED via MIDI — set color, effects (pulse, strobe, rainbow, fade), and semantic status signals. Use when the user asks to…

不碰外部(只输出文字)无严重或高危命中glebis/claude-skills

它会碰到什么

扫了多少3 个文本文件,12 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

timeBuzzer LED

Control the timeBuzzer hardware LED over MIDI. The device has 3 RGB segments controllable independently or together.

Requirements

  • timeBuzzer device connected via USB-C
  • python-rtmidi installed (pip install python-rtmidi)
  • timeBuzzer app may be running (MIDI port is shared)

Script

Single CLI: scripts/buzzer_led.py

Color commands

python3 ~/.claude/skills/timebuzzer-led/scripts/buzzer_led.py color red
python3 ~/.claude/skills/timebuzzer-led/scripts/buzzer_led.py color --hex "#FF8800"
python3 ~/.claude/skills/timebuzzer-led/scripts/buzzer_led.py rgb 255 100 0
python3 ~/.claude/skills/timebuzzer-led/scripts/buzzer_led.py off

Named colors: red, orange, yellow, green, cyan, blue, purple, magenta, pink, white, warm, off.

Effects

python3 ~/.claude/skills/timebuzzer-led/scripts/buzzer_led.py pulse blue --bpm 30 --seconds 5
python3 ~/.claude/skills/timebuzzer-led/scripts/buzzer_led.py strobe red --count 5 --interval 0.15
python3 ~/.claude/skills/timebuzzer-led/scripts/buzzer_led.py rainbow --seconds 5
python3 ~/.claude/skills/timebuzzer-led/scripts/buzzer_led.py fade warm --seconds 2

Status signals (parallel to hue skill)

python3 ~/.claude/skills/timebuzzer-led/scripts/buzzer_led.py signal success
python3 ~/.claude/skills/timebuzzer-led/scripts/buzzer_led.py signal thinking --seconds 5

| signal | color | effect |

|---|---|---|

| success/done | green | solid |

| error | red | strobe |

| warning | orange | pulse |

| thinking | blue | pulse |

| working | cyan | pulse |

| idle | warm | solid |

| attention | magenta | strobe |

| focus | purple | solid |

Per-segment control

python3 ~/.claude/skills/timebuzzer-led/scripts/buzzer_led.py segment 0 255 0 0   # seg 0 red
python3 ~/.claude/skills/timebuzzer-led/scripts/buzzer_led.py segment 1 0 255 0   # seg 1 green
python3 ~/.claude/skills/timebuzzer-led/scripts/buzzer_led.py segment 2 0 0 255   # seg 2 blue

Protocol details

  • USB MIDI device (vendor 0x16D0, product 0x1170)
  • Sends/receives MIDI CC on channel 12 (status byte 187/0xBB)
  • LED output: CC 70-78 for 3 segments x 3 channels (R, G, B)
  • Values: 0-127 (half of standard 0-255 RGB)
  • The timeBuzzer app controls LED based on active project color; this script overrides it directly

Syncing with Hue

Use the same signal vocabulary as the hue skill. Example combined command:

python3 ~/.claude/skills/timebuzzer-led/scripts/buzzer_led.py signal success &
python3 ~/.claude/skills/hue/scripts/hue.py signal success --group 1

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。