← 返回 Skills 市场
franky0617

蓝牙设备监控

作者 franky0617 · GitHub ↗ · v1.1.0
cross-platform ✓ 安全检测通过
1919
总下载
1
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install bluetooth-monitor
功能描述
蓝牙设备监控 / Bluetooth Device Monitor - 查看Mac已连接的蓝牙设备列表,支持配对、连接、断开操作
使用说明 (SKILL.md)

蓝牙设备监控 / Bluetooth Device Monitor

监控和管理Mac的蓝牙设备,支持查看连接状态、配对管理等功能。

Monitor and manage Mac Bluetooth devices with connection status viewing and pairing management.

功能特性 / Features

  • 📱 查看已连接设备 / Connected Devices - 列出当前所有已连接的蓝牙设备

    • List all currently connected Bluetooth devices
  • 🔋 电量显示 / Battery Level - 显示设备电量百分比和进度条

    • Display device battery percentage with progress bar
  • 🔗 查看已配对设备 / Paired Devices - 列出系统所有已配对的蓝牙设备

    • List all paired Bluetooth devices in the system
  • 🔌 连接设备 / Connect Device - 手动连接到指定蓝牙设备

    • Manually connect to a specified Bluetooth device
  • ⏏️ 断开设备 / Disconnect Device - 断开指定蓝牙设备的连接

    • Disconnect a specified Bluetooth device
  • 📊 蓝牙状态 / Power Status - 查看蓝牙开关状态

    • View Bluetooth power status

使用方法 / Usage

1. 查看已连接设备 / View Connected Devices

bluetooth-monitor connected

2. 查看已配对设备 / View Paired Devices

bluetooth-monitor paired

3. 连接设备 / Connect Device

# 连接设备(需提供设备地址)
# Connect to device (device address required)
bluetooth-monitor connect "XX-XX-XX-XX-XX-XX"

4. 断开设备 / Disconnect Device

bluetooth-monitor disconnect "XX-XX-XX-XX-XX-XX"

5. 查看蓝牙电源状态 / View Power Status

bluetooth-monitor power

6. 打开/关闭蓝牙 / Turn On/Off Bluetooth

bluetooth-monitor power on
bluetooth-monitor power off

设备地址获取 / Device Address

  • 运行 bluetooth-monitor connected 查看已连接设备的地址

  • Run bluetooth-monitor connected to view addresses of connected devices

  • 运行 bluetooth-monitor paired 查看所有配对设备的地址

  • Run bluetooth-monitor paired to view all paired device addresses

常用设备地址格式 / Common Device Address Format

08-65-18-B9-9C-B2  (Magic Trackpad)
1C-1D-D3-7A-68-D4  (Magic Keyboard)

注意事项 / Notes

⚠️ 需要安装 blueutil: brew install blueutil ⚠️ Requires blueutil: brew install blueutil

⚠️ 部分老款蓝牙设备不支持电量报告 ⚠️ Some older Bluetooth devices may not report battery level

⚠️ 设备地址需使用连字符格式 (XX-XX-XX-XX-XX-XX) ⚠️ Device address must use hyphen format (XX-XX-XX-XX-XX-XX)

数据来源 / Data Source

使用 blueutil CLI 获取蓝牙信息 Uses blueutil CLI to retrieve Bluetooth information

安全使用建议
This skill appears to do what it says: list and manage macOS Bluetooth devices using blueutil and system_profiler. Before installing/using: 1) Install blueutil from a trusted source (brew install blueutil) and verify its origin. 2) Inspect the bundled script (bluetooth-monitor.sh) yourself; it runs locally and prints device names/addresses/battery levels — these are normal Bluetooth identifiers but could be considered sensitive device info. 3) Note the packaging inconsistency: the manifest didn't declare blueutil as a required binary; ensure you install that dependency. 4) Run the script without elevated privileges (no sudo) and avoid running untrusted code. If you need higher assurance, run it in a controlled environment (separate user account or VM) and/or request the publisher to correct the metadata to list blueutil as a required dependency.
功能分析
Type: OpenClaw Skill Name: bluetooth-monitor Version: 1.1.0 The skill bundle provides a Bluetooth device monitor for macOS, utilizing `blueutil` and `system_profiler` to list, connect, disconnect, and manage Bluetooth power. All operations are clearly defined and align with the stated purpose. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, obfuscation, or prompt injection attempts against the agent in either the `SKILL.md` or the `bluetooth-monitor.sh` script. The script's use of shell commands is limited to interacting with standard macOS utilities for Bluetooth management.
能力评估
Purpose & Capability
The skill's name/description (macOS Bluetooth monitor) aligns with the included shell script and SKILL.md. The script legitimately uses blueutil and system_profiler to list, connect, disconnect devices and show battery. One mismatch: registry metadata lists no required binaries, but SKILL.md and the script require the third-party CLI blueutil (brew install blueutil). This is a packaging/documentation inconsistency to fix, but not malicious.
Instruction Scope
SKILL.md instructs the agent/user to run the provided bluetooth-monitor commands and to install blueutil. The script only reads local Bluetooth state via blueutil and /usr/sbin/system_profiler and prints device names/addresses/types/battery. It does not read unrelated user files, environment variables, or send data to external endpoints.
Install Mechanism
No install spec included (instruction-only plus a bundled script). The SKILL.md suggests installing blueutil via Homebrew, which is an expected dependency and a standard package source. The skill does not download or extract arbitrary archives or install remote code.
Credentials
The skill declares no environment variables or credentials and the script does not access secrets. It only requires a local CLI (blueutil) and uses system_profiler. No disproportionate credential or env access is requested.
Persistence & Privilege
always:false and disable-model-invocation:false (normal). The skill does not modify other skills, system configs, or write persistent agent-wide settings. It runs ad-hoc commands only.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bluetooth-monitor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bluetooth-monitor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
新增电量显示功能,使用system_profiler获取蓝牙设备电量
v1.0.1
更新为中英双语描述
v1.0.0
初始发布:支持查看连接状态、配对管理、连接控制
元数据
Slug bluetooth-monitor
版本 1.1.0
许可证
累计安装 3
当前安装数 1
历史版本数 3
常见问题

蓝牙设备监控 是什么?

蓝牙设备监控 / Bluetooth Device Monitor - 查看Mac已连接的蓝牙设备列表,支持配对、连接、断开操作. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1919 次。

如何安装 蓝牙设备监控?

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

蓝牙设备监控 是免费的吗?

是的,蓝牙设备监控 完全免费(开源免费),可自由下载、安装和使用。

蓝牙设备监控 支持哪些平台?

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

谁开发了 蓝牙设备监控?

由 franky0617(@franky0617)开发并维护,当前版本 v1.1.0。

💬 留言讨论