蓝牙设备监控

v1.1.0

蓝牙设备监控 / Bluetooth Device Monitor - 查看Mac已连接的蓝牙设备列表,支持配对、连接、断开操作

1· 1.9k·1 current·3 all-time
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

latestvk97c4bxs6z799gwqbq4t9bsjd1807tra
1.9kdownloads
1stars
3versions
Updated 1mo ago
v1.1.0
MIT-0

蓝牙设备监控 / 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

Comments

Loading comments...