cled
Set up and launch CLED, the ambient keyboard daemon that shows your Claude Code agents' status on your keyboard via OpenRGB. Use when the user asks to start, launch, run, or set up CLED.
中文简介正在准备中。当前显示原文说明。
查看安装方法包含的文件(1)
- SKILL.md2.1 KB
SKILL.md(原文)
安装前可以查看交给 AI 代理的指令内容。
Launch CLED
CLED is a long-running daemon that must run in the user's GUI terminal session, so launch it in a dedicated iTerm2 window that outlives this turn. Run the preflight in order; stop with the specific fix if any check fails — don't launch a daemon that can't work.
Preflight
- macOS —
uname -smust printDarwin(agent detection uses iTerm2 + AppleScript). Else stop. - OpenRGB installed —
osascript -e 'id of app "OpenRGB"'must succeed. Else offerbrew install --cask openrgband stop. - A controllable keyboard — if
nc -z 127.0.0.1 6742fails, start the server as CLED does:open -a OpenRGB --args --server --noautoconnect, then poll the port (up to ~30s; HID detection on macOS takes ~10s). Then/Applications/OpenRGB.app/Contents/MacOS/OpenRGB --client 127.0.0.1:6742 --list-devicesmust show a device withType: KeyboardandDirectin itsModes:. Report the model; else stop — the keyboard isn't OpenRGB-controllable. - iTerm2 —
osascript -e 'id of app "iTerm2"'must succeed. Else offerbrew install --cask iterm2and stop.
Launch
Open a dedicated iTerm2 window running the daemon (it persists in the GUI session, independent of this Claude session):
osascript <<'END'
tell application "iTerm2"
set w to (create window with default profile)
tell current session of w to write text "uvx cled"
end tell
END
uvx cled fetches CLED from PyPI and starts it. (Before CLED is published to PyPI,
use uvx --from git+https://github.com/latent-spaces/cled cled instead.)
Confirm
Tell the user CLED is now running in a new iTerm2 window — number row = agent tabs (red busy / green idle / amber stale / blue other), F-keys = RAM, numpad = per-core CPU, Enter = heartbeat. To stop it: Ctrl-C in that window (OpenRGB keeps running).
评价
还没有评价。欢迎分享你的使用感受。
评论
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。