ble_hid

GitHub

控制 ESP-Claw BLE HID 设备,支持启动蓝牙广播及发送媒体、键盘和鼠标操作指令。

components/lua_modules/lua_module_ble_hid/skills/ble_hid/SKILL.md espressif/esp-claw

触发场景

用户请求启动 BLE HID 模式 用户要求发送键盘按键或组合键 用户要求模拟鼠标移动或点击 用户要求发送媒体控制指令

安装

npx skills add espressif/esp-claw --skill ble_hid -g -y
更多选项

非标准路径

npx skills add https://github.com/espressif/esp-claw/tree/master/components/lua_modules/lua_module_ble_hid/skills/ble_hid -g -y

不安装直接使用

npx skills use espressif/esp-claw@ble_hid

指定 Agent (Claude Code)

npx skills add espressif/esp-claw --skill ble_hid -a claude-code -g -y

安装 repo 全部 skill

npx skills add espressif/esp-claw --all -g -y

预览 repo 内 skill

npx skills add espressif/esp-claw --list

SKILL.md

Frontmatter
{
    "name": "ble_hid",
    "metadata": {
        "cap_groups": [
            "cap_lua"
        ],
        "manage_mode": "readonly"
    },
    "description": "Operate ESP-Claw BLE HID: start HID advertising and send media\/keyboard\/mouse actions."
}

BLE HID

Use this skill whenever the user asks to start BLE HID, make the device show up as a keyboard/mouse/media-control device, send media controls, type keys/text, or move/click/scroll the mouse.

Start BLE HID

{"path":"{CUR_SKILL_DIR}/scripts/start_ble_hid.lua","args":{"name":"esp-claw-hid"},"timeout_ms":10000}

BLE HID is a composite device. Media, keyboard, and mouse reports are all available at the same time; the action type decides which report is sent.

Send One Action

Media:

{"path":"{CUR_SKILL_DIR}/scripts/send_ble_hid_action.lua","args":{"type":"media","key":"play_pause"},"timeout_ms":5000}

Keyboard key:

{"path":"{CUR_SKILL_DIR}/scripts/send_ble_hid_action.lua","args":{"type":"keyboard_key","key":"SPACE"},"timeout_ms":5000}

Keyboard combo:

{"path":"{CUR_SKILL_DIR}/scripts/send_ble_hid_action.lua","args":{"type":"keyboard_combo","keys":["CTRL","C"]},"timeout_ms":5000}

Text:

{"path":"{CUR_SKILL_DIR}/scripts/send_ble_hid_action.lua","args":{"type":"keyboard_text","text":"hello"},"timeout_ms":5000}

Mouse:

{"path":"{CUR_SKILL_DIR}/scripts/send_ble_hid_action.lua","args":{"type":"mouse_move","dx":30,"dy":0},"timeout_ms":5000}

版本历史

  • 06eb576 当前 2026-07-24 19:54

同 Skill 集合

components/claw_capabilities/cap_http_request/skills/cap_http_request/SKILL.md
components/claw_capabilities/cap_im_platform/skills/cap_im_platform/SKILL.md
components/claw_capabilities/cap_router_mgr/skills/cap_router_mgr/SKILL.md
components/claw_capabilities/cap_scheduler/skills/cap_scheduler/SKILL.md
components/claw_capabilities/cap_web_search/skills/cap_web_search/SKILL.md
components/claw_modules/claw_memory/skills/memory_ops/SKILL.md
components/claw_modules/claw_memory/skills/profile_memory_ops/SKILL.md
components/common/skill_builder/skills/skill_creator/SKILL.md
components/common/skill_builder/skills/skills_lab_downloader/SKILL.md
components/common/skill_builder/skills/skills_lab_search/SKILL.md
components/lua_modules/lua_driver_touch/skills/read_touch/SKILL.md
components/lua_modules/lua_module_ble/skills/ble/SKILL.md
components/lua_modules/lua_module_camera/skills/take_picture/SKILL.md
components/lua_modules/lua_module_http_server/skills/http_server_lua_demo/SKILL.md
components/claw_capabilities/cap_llm_inspect/skills/cap_llm_inspect_image/SKILL.md

元信息

文件数
0
版本
74b1870
Hash
2e67d3e6
收录时间
2026-07-24 19:54

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-16 13:40
浙ICP备14020137号-1 $访客地图$