Keyboard Heart — AI skill for Claude Code
⌨️❤️ Give Codex / Claude Code / AI coding agents a keyboard status light: success shockwaves, failure pulses, need-input breathing.
How to install Keyboard Heart
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open lengjingxu/keyboard-heart and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Keyboard Heart does
⌨️❤️ Give Codex / Claude Code / AI coding agents a keyboard status light: success shockwaves, failure pulses, need-input breathing. 12 MCHOSE models direct + OpenRGB (hundreds of devices, per-key) + QMK/VIA. REST + WebSocket, reverse-engineered protocol.
Alternatives in AI
- Agentboard — Web GUI for tmux optimized for AI agent TUIs, with support for iOS safari and mac w/ keyboard shortcuts 410 ★
- Coffee CLI — A clean AI terminal workspace 180 ★
- Prompt Line — Prompt Line is a macOS app developed to improve the prompt input experience in the terminal for CLI-based AI c 148 ★
README
keyboard-heart ⌨️❤️
[English](README_EN.md) | 简体中文
**给 Codex、Claude Code 和所有 AI 编码工具一个键盘状态灯**:AI 完成任务 → 绿色波纹扫过键盘;报错 → 右上角红色脉冲 ×3;等待你的批准 → 底行琥珀逐行生长。本地 REST + WebSocket 服务,两条接线方式:
- hooks 自动接线(AI 无感知):Codex 加一行
notify/hooks配置,Claude Code 合并一段 hooks JSON——AI 每次答完/请求批准,灯光自动反馈 - 提示词驱动(AI 自主发挥):把预设提示词贴进 CLAUDE.md / AGENTS.md,AI 在长任务开始、成功、失败、需要输入时自主打灯
开放每键 REST + WebSocket 原始控制,任何脚本都能自由发挥。
协议为独立逆向成果(WebHID 流量分析),无需厂商驱动,无需官方控制台。
  
30 秒接入你的 AI
**Codex**(`~/.codex/hooks.json`,推荐):
{ "_keyboard_heart": true, "hooks": [{ "type": "command", "command": "curl -s -X POST http://127.0.0.1:8791/fx/success >/dev/null 2>&1 || true" }] }
**Claude Code**(合并进 `~/.claude/settings.json`):见 [integrations/claude-code-hooks.json](integrations/claude-code-hooks.json)。
**任何 AI / 脚本**(一行 curl):
curl -X POST localhost:8791/fx/success
完整接入说明见下方 [接入 AI 编码工具](#接入-ai-编码工具) 章节。
支持的键盘
三层后端,覆盖 **12 款 MCHOSE 型号(直连)+ OpenRGB 生态数百款 + QMK/VIA 生态 1000+ 配置**:
① MCHOSE 直连(`KB_BACKEND=hid`,默认)— 12 款
协议独立逆向(55 DD 实时推流 + cmd=06 侧灯配置),设备档案由 `profiles/` 数据文件驱动。
**真机验证(1)**
| 键盘 | USB ID |
|---|---|
| MCHOSE Ace 68 Air 2 | 0x3837:0x300A |
**社区表即插即用(2)**
| 键盘 | USB ID | 来源 |
|---|---|---|
| MCHOSE Ace 68(有线) | 0x41E4:0x2116 |
SignalRGB 社区插件 |
| MCHOSE Ace 68(顺序 LED 变体) | 0x41E4:0x2114 |
社区 PR |
**候选表已就绪、等真机校准(9)**:Ace 68 air ii / air iii / gt / i / iii / pro / turbo 8k / turbo 16k / v2 iii —— 键位表已从厂商控制台资产自动提取(68/68 键全命中),`kbctl doctor` 列出,认领流程见 [贡献指南](docs/CONTRIBUTING-PROFILES.md)。
**同路线待解锁(22 款 MCHOSE)**:ACE60/Pro/X 系列、ACE75、G75 v2、G87 v2、G98、GOD60、GT75、JET75、K87、K99、MIX87、ZERO75X 等(需先贡献对应尺寸 layout)。
② OpenRGB 生态(`KB_BACKEND=openrgb`)— 数百款、100+ 品牌,逐键全功能
接入 [OpenRGB](https://openrgb.org) SDK(127.0.0.1:6742)即获得逐键控制,六个预设动画、每键 API、WS 帧流原样工作。覆盖 Cors
Related Skills
Rex Lights
macOS light bar, menu bar icon and desktop pet for Rex: see at a glance which AI coding agents (Claude Code, C
Agent Business Kit
Starter kit for running a micro-business with AI agents on Claude Code routines: owner's desk for human-only d
EasyRGB
Open-source RGB controller for Windows built on OpenRGB. An AI agent (Claude Code, Codex, Gemini CLI) sets it
Agent Blindfold
Zero-trust local media privacy & anti-ban physical firewall (PreToolUse Hook) for AI Coding Agents (Google Ant
Seucorre
ai-powered running coach platform. generates and adapts personalized training plans using Claude, with domain-
Youcoded
A fully customizable AI assistant and open-source everything app. Any AI model — Claude, ChatGPT, hundreds mor
Related Agents
Model Runner
Deterministic wrapper that runs a prompt on a non-Claude model (OpenAI via Codex, Cursor's composer/grok/glm,
UI Polisher
Improves Heron's Svelte components for visual polish and consistency — 4/8 px grid, semantic tokens that work
Accessibility Lead
Accessibility specialist for WCAG 2.2 AA compliance. Handles contrast ratios, screen reader support, keyboard