ble_hid

ble_hid is a skill for Claude Code, Codex from espressif/esp-claw. It costs 23 tokens per session (413 once invoked), scanned A, original, Apache-2.0.

A control interface for an ESP-Claw device that makes it appear as a Bluetooth keyboard, mouse, or media controller.

In plain words
What is it for?
Use it to advertise the device, type text or key combinations, move or click the mouse, scroll, and send media controls.
Why use it?
It lets the device send computer-control actions over Bluetooth without treating each action as a different device.

Skill for Claude CodeCodex

About the project

ESP-Claw is an AI agent framework that runs on Espressif IoT chips and lets people define device behavior through conversation. It handles local sensing, decision-making, and execution for connected devices, with support for event-driven actions, structured memory, and MCP communication.

espressif/esp-claw · 2,080 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/espressif/esp-claw/ble_hid
Any agent
npx skills add espressif/esp-claw --skill ble_hid
Clone the repo
git clone --depth 1 https://github.com/espressif/esp-claw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ble_hid

README.md
[![agentmods](https://agentmods.dev/badge/skills/espressif/esp-claw/ble_hid.svg)](https://agentmods.dev/skills/espressif/esp-claw/ble_hid)
Your own site
<a href="https://agentmods.dev/skills/espressif/esp-claw/ble_hid"><img src="https://agentmods.dev/badge/skills/espressif/esp-claw/ble_hid.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 413 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00023 $0.00413
Opus 5 $0.00012 $0.00206
Sonnet 5 $0.00005 $0.00083
Haiku 4.5 $0.00002 $0.00041

Measured 5d ago against content hash 2e67d3e60f0d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ble_hid scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

components/lua_modules/lua_module_ble_hid/skills/ble_hid/SKILL.md · 60 lines

What it actually says

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}
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 60 lines · 23 tokens per session scan A 2e67d3e60f0d

Subscribe to this mod's changes

ble_hid is a skill published in the GitHub repository espressif/esp-claw (2,080 stars, last pushed 2d ago), licensed Apache-2.0. It adds 23 tokens to every session and 413 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

integrated-browser

Use this when working on the VS Code integrated browser ("browserView") to understand its architecture and mental model. Covers the embedded Chromium browser, its editor tab, navigation, overlay/layout, sessions, and agent browser tools under src/vs/platform/browserView and src/vs/workbench/contrib/browserView.

microsoft/vscode · 68 tokens

project-snmp-profiles-authoring

Use when editing Netdata SNMP profile YAMLs, topology SNMP profiles, ddsnmp profile parsing, or profile-format documentation. Requires checking source MIB field accessibility, especially MAX-ACCESS not-accessible INDEX objects, before adding or changing profile symbols.

netdata/netdata · 60 tokens

hyperpod-version-checker

Check and compare software component versions on SageMaker HyperPod cluster nodes - NVIDIA drivers, CUDA toolkit, cuDNN, NCCL, EFA, AWS OFI NCCL, GDRCopy, MPI, Neuron SDK (Trainium/Inferentia), Python, and PyTorch. Use when checking component versions, verifying CUDA/driver compatibility, detecting version mismatches…

awslabs/agent-plugins · 120 tokens

unifi-protect

How to manage UniFi Protect cameras and NVR — view cameras, smart detections, Find Anything detection search, recordings, snapshots, lights, sensors, Known Faces, license plates, and the Alarm Manager. Use this skill when the user mentions UniFi cameras, security cameras, NVR, recordings, motion detection, person…

sirkirby/unifi-mcp · 112 tokens

pcbway

PCBWay PCB fabrication and assembly — turnkey/consigned assembly, design rules, ordering workflow. Alternative to JLCPCB for manufacturing. Use with KiCad. Use this skill when the user mentions PCBWay, needs turnkey assembly (PCBWay sources parts by MPN), has parts not available on LCSC, needs assembled boards with…

aklofas/kicad-happy · 119 tokens

speaker-recognizer

Self-enroll a voice for speaker recognition. Activate ONLY when (a) a mic Unknown Speaker: turn carries a clear self-introduction ("I'm X", "my name is X", "tôi là X"...), (b) prior same-tag [voice:voiceN] turns can be combined with a now-named turn, (c) a Telegram voice-note carries an intro, OR (d) the user asks to…

autonomous-ai/autonomous-os · 132 tokens