Controls smart-home accessories and commissions Matter devices using HomeKit and MatterSupport. Manages homes, rooms, accessories, action sets, triggers, and characteristic reads/writes.
Ships in all-ios-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Control home automation accessories and commission Matter devices into an app ecosystem. HomeKit manages the home/room/accessory hierarchy, characteristics, and automation triggers; MatterSupport handles ecosystem device commissioning.
NSHomeKitUsageDescription to Info.plist._matter._tcp, _matterc._udp, _matterd._udp), and set the extension's principal class to MatterAddDeviceExtensionRequestHandler.HomeKit loads asynchronously. Maintain a single HMHomeManager instance and await the homeManagerDidUpdateHomes(_:) delegate callback before accessing homes or primaryHome.
HMHomeManager -> HMHome -> HMRoom -> HMAccessory -> HMService -> HMCharacteristic
import HomeKit
final class HomeStore: NSObject, HMHomeManagerDelegate {
let manager = HMHomeManager()
override init() {
super.init()
manager.delegate = self
}
func homeManagerDidUpdateHomes(_ manager: HMHomeManager) {
// Safe to read homes and accessories
let primary = manager.primaryHome
}
}
Interact with accessory services (e.g. lights, thermostats) via HMCharacteristic:
func setLightPower(_ characteristic: HMCharacteristic, isOn: Bool) async throws {
guard characteristic.characteristicType == HMCharacteristicTypePowerState else { return }
try await characteristic.writeValue(isOn)
}
func readTemperature(_ characteristic: HMCharacteristic) async throws -> Double? {
try await characteristic.readValue()
return characteristic.value as? Double
}
Group changes into scenes and automate execution:
// Create an action set (scene)
func createNightScene(home: HMHome, lightAction: HMCharacteristicWriteAction<Bool>) async throws {
let actionSet = try await home.addActionSet(withName: "Good Night")
try await actionSet.addAction(lightAction)
}
// Event-based automation
func addTrigger(home: HMHome, trigger: HMEventTrigger) async throws {
try await home.addTrigger(trigger)
try await trigger.enable(true)
}
Use MatterSupport to onboard Matter devices into your ecosystem:
import MatterSupport
let topology = MatterAddDeviceRequest.Topology(ecosystemName: "MyHome", homes: [home])
let request = MatterAddDeviceRequest(topology: topology)
try await request.perform()
The system invokes your MatterAddDeviceExtensionRequestHandler subclass in the extension target to complete pairing.
Sources: https://sosumi.ai/documentation/ios-ipados-release-notes/ios-ipados-27-release-notes
homes synchronously at launch: manager.homes is empty until homeManagerDidUpdateHomes fires._matter._tcp, _matterc._udp, and _matterd._udp in NSBonjourServices.characteristic.writeValue(_:) rather than mutating state locally.NSHomeKitUsageDescription present in target Info.plistHMHomeManager instantiated once and guarded until homeManagerDidUpdateHomes fireswriteValue(_:) with error handlingtrigger.enable(true) after creationWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
95 skills in this plugin
/accessorysetupkitDiscover and configure Bluetooth and Wi-Fi accessories using AccessorySetupKit. Use when presenting a privacy-preserving accessory picker, defining discovery descriptors for BLE or Wi-Fi devices, handling accessory session events, migrating from CoreBluetooth permission-based scanning, or setting up accessories without requiring broad Bluetooth permissions./activitykitBuild or review Live Activities and Dynamic Island experiences with ActivityKit, including lifecycle, layouts, push updates, and scheduled delivery. Use for time-sensitive Lock Screen or Dynamic Island state; route ordinary widgets to widgetkit./adattributionkitMeasure ad effectiveness with privacy-preserving attribution using AdAttributionKit. Use when registering ad impressions, handling attribution postbacks, updating conversion values, implementing re-engagement attribution, configuring publisher or advertiser apps, or replacing SKAdNetwork with AdAttributionKit for ad measurement./all-ios-skills:homekitfrom all-ios-skills
npx claudepluginhub thienqo/ios-skills --plugin all-ios-skillsOther plugins' skills for the same job