← 返回 Skills 市场
ivangdavila

Bluetooth

作者 Iván · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
846
总下载
2
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install bluetooth
功能描述
Discover, connect, and control Bluetooth devices with automatic profile learning, cross-platform tools, and device management.
使用说明 (SKILL.md)

Core Workflow

  1. Scan — Discover nearby devices
  2. Identify — Match against known profiles or learn new device
  3. Connect — Establish link with appropriate protocol
  4. Execute — Send commands, read data, manage state
  5. Learn — Update device profile based on interaction success/failure

Quick Reference

Need Load
CLI commands by platform tools.md
Device profile management profiles.md
Security rules and warnings security.md
Patterns by use case use-cases.md

Workspace

Store device profiles and interaction history:

~/bluetooth/
├── profiles/         # Known device configs (one file per device)
├── history.md        # Interaction log with success/failure
└── pending.md        # Devices discovered but not profiled

Critical Rules

  1. Never auto-connect to unknown devices — require explicit user confirmation
  2. Whitelist first — only interact with pre-authorized devices
  3. Log everything — every connection attempt, command, result
  4. Fail gracefully — if device unreachable, retry with backoff, then report
  5. Profile learning — when something works, save it; when it fails, note why

Platform Detection

OS Primary Tool Fallback
Linux bluetoothctl hcitool, gatttool
macOS blueutil system_profiler, CoreBluetooth
Windows WinRT/PowerShell pnputil for enumeration
Cross-platform Bleak (Python) Noble (Node.js)

Device Interaction Pattern

1. Check ~/bluetooth/profiles/ for device
2. If known → load profile, use saved commands
3. If unknown → scan characteristics, discover capabilities
4. Execute requested action
5. Verify result (read state, check acknowledgment)
6. Update profile: what worked, what failed, timing
安全使用建议
This skill is mostly coherent for managing Bluetooth devices, but review and tighten before installing. - Contradictory security guidance: the docs both forbid storing pairing keys in plain text and instruct documenting PIN/passkeys in profiles. Decide on a single secure policy (prefer not storing secrets; if you must, encrypt them). - Local sensitive data: profiles/history will contain MAC addresses, device names, timestamps, and possibly pairing info. Protect ~/bluetooth with restrictive file permissions (chmod 700) or avoid storing persistent secrets. - Packet capture requires root: btmon/packet capture needs elevated privileges; only run captures in a controlled environment and delete captures when done. - External syncs: use-cases reference pushing data to Strava/Garmin/Health but no credential handling is provided. Do not enter third-party credentials unless you understand where and how they will be stored/transmitted; prefer manual, explicit auth flows. - Logging/privacy: 'log everything' can create a privacy risk (location tracking via MACs). If you install, configure what is logged and avoid exporting logs off-device. - Agent autonomy: the skill is user-invocable and can be followed by the agent at runtime; if you allow autonomous agent actions, consider restricting its permissions or asking for confirmations for pairing/first connections. What would change this assessment: if the skill included executable code or an install script that performed network calls, uploaded profiles, or requested credentials automatically, it would be higher risk. If the author supplied clear encrypted-storage guidance for secrets and an explicit, secure mechanism for external syncs (OAuth flows, scoped tokens), that would reduce concerns.
功能分析
Type: OpenClaw Skill Name: bluetooth Version: 1.0.0 The OpenClaw Bluetooth skill bundle is classified as benign. The documentation, particularly `SKILL.md` and `security.md`, explicitly outlines strong security practices such as whitelisting, mandatory user confirmation for connections and pairing, comprehensive logging, and warnings against common Bluetooth attack vectors (e.g., not trusting device names, never sending credentials over BLE). While the skill utilizes powerful system commands like `sudo btmon` (in `tools.md` and `use-cases.md`) for legitimate diagnostic purposes like packet capture, and mentions syncing data to external services (e.g., Strava in `use-cases.md`), these capabilities are presented within the scope of the skill's stated purpose and are accompanied by clear instructions for secure and user-consented operation. There is no evidence of intentional harmful behavior, data exfiltration to unauthorized endpoints, or prompt injection designed to subvert the agent's security directives.
能力评估
Purpose & Capability
Name and description (discover/connect/control Bluetooth devices) align with the provided instructions and supporting docs. The SKILL.md and tools.md reference expected platform tools (bluetoothctl, blueutil, Bleak, Noble) and workflows for profiling, scanning, and GATT interactions; nothing requested is unrelated to Bluetooth management.
Instruction Scope
Instructions explicitly direct reading/writing files under ~/bluetooth (profiles, history, pending), running local platform Bluetooth tools, and optionally capturing HCI traffic with btmon (root). They also instruct logging 'everything' and allow storing device identifiers and pairing info in profile files. Security guidance is internally contradictory (e.g., 'NEVER store pairing keys in plain text' vs. 'Document PIN/passkey in profile (if static)'). Use-cases mention syncing data to external services (Strava/Garmin) but provide no mechanism or credential handling — this could lead to accidental leakage if a user or agent follows through. Overall the instruction scope stays within Bluetooth functionality but contains risky and inconsistent privacy/security directives.
Install Mechanism
There is no install spec and no code files to write/execute; the skill is instruction-only. This is the lowest install risk (nothing is downloaded or installed by the skill itself).
Credentials
The skill declares no required environment variables or credentials, which is proportionate for a local Bluetooth helper. However, several workflows (sync to external services, pushing to Health/Strava/Garmin) imply the later need for third-party credentials; those are not declared or documented. The skill also encourages storing MAC addresses and possibly PINs in local files — sensitive data that should be handled deliberately. No direct credential exfiltration is requested, but the documentation places responsibility on the user to avoid insecure storage.
Persistence & Privilege
always:false and user-invocable:true. The skill's persistent footprint is limited to user-land files under ~/bluetooth (profiles, history). It does not request system-wide config changes or permanent elevated privileges. Packet capture guidance explicitly requires root but does not instruct the skill to obtain or store elevated tokens.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bluetooth
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bluetooth 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug bluetooth
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Bluetooth 是什么?

Discover, connect, and control Bluetooth devices with automatic profile learning, cross-platform tools, and device management. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 846 次。

如何安装 Bluetooth?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install bluetooth」即可一键安装,无需额外配置。

Bluetooth 是免费的吗?

是的,Bluetooth 完全免费(开源免费),可自由下载、安装和使用。

Bluetooth 支持哪些平台?

Bluetooth 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Bluetooth?

由 Iván(@ivangdavila)开发并维护,当前版本 v1.0.0。

💬 留言讨论