Skip to main content
skill CX Codex

accessorysetupkit — Claude Code skill: install and use

Guides AccessorySetupKit setup for Bluetooth and Wi-Fi accessory discovery in iOS 18+. Use it when moving away from permission-based CoreBluetooth scanning.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add dpearson2699/swift-ios-skills --skill accessorysetupkit -a claude-code
Open on GitHub

What accessorysetupkit does

This skill guides implementation of the AccessorySetupKit system picker for Bluetooth and Wi-Fi accessory discovery and authorization, with communication handed over to CoreBluetooth or NetworkExtension. It covers ASDiscoveryDescriptor, proximity rules, and accessory capability options.

It explains how to create ASAccessorySession, wait for .activated, display ASPickerDisplayItem, and react to added, changed, or removed accessories. A Wi-Fi descriptor uses either ssid or ssidPrefix; setting both causes an app crash.

Configure Info.plist, including NSAccessorySetupSupports, before using the picker. Bluetooth values in those keys must match the descriptor, or discovery crashes the app. That is a reason to check UUIDs, names, and identifiers before testing.

What it helps with

  • configure the system accessory picker
  • define BLE discovery matching rules
  • set up a Wi-Fi accessory by SSID
  • handle ASAccessorySession events
  • move from CoreBluetooth permission scanning

Example prompts for the agent

  • “Set up AccessorySetupKit discovery for a BLE accessory using its service UUID.”
  • “Show how to create ASAccessorySession and wait for .activated.”
  • “Check the Info.plist rules for a Wi-Fi accessory using ssidPrefix.”

How to install accessorysetupkit

1Skills CLI (Vercel)

npx skills add dpearson2699/swift-ios-skills --skill accessorysetupkit -a claude-code

2Manually: put the files in place

~/.claude/skills/accessorysetupkit/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/accessorysetupkit/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about accessorysetupkit

How do I install accessorysetupkit in Claude Code?

Run npx skills add dpearson2699/swift-ios-skills --skill accessorysetupkit -a claude-code, then run npx skills add dpearson2699/swift-ios-skills --skill accessorysetupkit -a claude-code again. The skill file is at ~/.claude/skills/accessorysetupkit/SKILL.md.

What does accessorysetupkit do?

It guides AccessorySetupKit use for selecting, discovering, and configuring Bluetooth or Wi-Fi accessories in iOS 18+. The material covers descriptors, sessions, and connection events.

Why must Info.plist match the discovery descriptor?

Bluetooth service UUIDs, names, and company identifiers need to align with values in ASDiscoveryDescriptor. A mismatch causes a crash during discovery.

Similar skills

Everything for Mobile →

From the same set69

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor