Agent skill · Documentation

core-bluetooth

Build direct Bluetooth Low Energy workflows with Core Bluetooth. Use when implementing BLE central or peripheral GATT communication, scanning or connecting with CBCentralManager, discovering services and characteristics, reading/writing/subscribing with CBPeripheral, publishing local services with CBPeripheralManager, handling Bluetooth authorization, background BLE modes, state restoration, write flow control, or CBUUID-based workflows. For privacy-preserving accessory setup/picker flows, use accessorysetupkit first and return here for post-setup GATT communication.

Derek Pearson935★ · +23/wk · 1 repos on radarProfile →
claude-codecodexcursorNOASSERTION
Install
npx skills add dpearson2699/swift-ios-skills --skill core-bluetooth --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 15 KB
Bundled scripts: none
Path: skills/core-bluetooth/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 963 · +28 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Core Bluetooth Scan for, connect to, and exchange data with Bluetooth Low Energy (BLE) devices. Covers the central role (scanning and connecting to peripherals), the peripheral role (advertising services), background modes, and state restoration. Use `accessorysetupkit` for privacy-preserving accessory discovery and setup; use this skill for direct Core Bluetooth GATT communication. ## Contents - [Setup](#setup) - [Central Role: Scanning](#central-role-scanning) - [Central Role: Connecting](#central-role-connecting) - [Discovering Services and Characteristics](#discovering-services-and-characteristics) - [Reading, Writing, and Notifications](#reading-writing-and-notifications) - [Peripheral Role: Advertising](#peripheral-role-advertising) - [Background BLE](#background-ble) - [State Restoration](#state-restoration) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## Setup ### Info.plist Keys | Key | Purpose | |---|---| | `NSBluetoothAlwaysUsageDescription` | Required. Explains why the app uses Bluetooth | | `UIBackgroundModes` with `bluetooth-central` | Background scanning and connecting | | `UIBackgroundModes` with `blueto

What's inside
Steps it walks through
  1. Contents
  2. Setup
  3. Info.plist Keys
  4. Bluetooth Authorization
  5. Central Role: Scanning
  6. Creating the Central Manager
  7. Scanning for Peripherals
  8. Central Role: Connecting
  9. Discovering Services and Characteristics
  10. Reading, Writing, and Notifications
  11. Reading a Value
  12. Writing a Value
  13. Subscribing to Notifications
  14. Peripheral Role: Advertising
Ships with 2 files
  • evals/evals.json
  • references/ble-patterns.md
More from swift-ios-skills
All skills →
About this skill
What does the core-bluetooth skill do?

Build direct Bluetooth Low Energy workflows with Core Bluetooth. Use when implementing BLE central or peripheral GATT communication, scanning or connecting with CBCentralManager, discovering services and characteristics, reading/writing/subscribing with CBPeripheral, publishing local services with CBPeripheralManager, handling Bluetooth authorization, background BLE modes, state restoration, write flow control, or CBUUID-based workflows. For privacy-preserving accessory setup/picker flows, use accessorysetupkit first and return here for post-setup GATT communication.

How do I install it?

Run `npx skills add dpearson2699/swift-ios-skills --skill core-bluetooth --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From dpearson2699/swift-ios-skills, a repository with 963 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going