android-bluetooth

Solid

Operate Android Bluetooth workflows with the bluetooth tool, including power, pairing handoff, BLE scan/connect/disconnect, and permission/settings recovery. Use for Bluetooth and BLE device tasks.

AI & Automation 1,094 stars 94 forks Updated 4 days ago AGPL-3.0

Install

View on GitHub

Quality Score: 88/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
63
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Android Bluetooth Use `bluetooth` for all Bluetooth and BLE actions. ## Tool Map - `action=status` - `action=set_power` - `action=open_settings` - `action=paired_list` - `action=ble_scan` - `action=ble_connect` - `action=ble_disconnect` ## Default Automation Policy - Auto-attempt permission request first. - Keep `open_settings_if_failed=true` for permission fallback. - Keep `wait_user_confirmation=true` only for manual system steps. - Use `allow_manual_success=true` only when manual setup is acceptable for upstream task flow. ## Connect Playbook 1. `bluetooth(action="status")`. 2. If needed: `bluetooth(action="set_power", enabled=true)`. 3. Discover: `bluetooth(action="ble_scan", seconds=5, max_results=20)`. 4. Connect: `bluetooth(action="ble_connect", address="...", timeout_sec=20, discover_services=true, open_settings_if_failed=true, wait_user_confirmation=true)`. ## Disconnect Playbook - Single: `bluetooth(action="ble_disconnect", address="...")` - All: `bluetooth(action="ble_disconnect", all=true)` ## Failure Recovery - Permission failures: grant in settings and continue same run. - Power-off failure: hand off to system Bluetooth settings, then continue. - Connect timeout: retry once, then return recoverable error with next step.

Details

Author
ModalityDance
Repository
ModalityDance/PalmClaw
Created
2 months ago
Last Updated
4 days ago
Language
Kotlin
License
AGPL-3.0

Similar Skills

Semantically similar based on skill content — not just same category