dockkit

Control motorized camera docks and track subjects in iOS camera apps.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/KumarAdi8/AgentKit --skill dockkit
Or copy as Structured Prompt for Agentβ–Ό
Please help me install this Agent Skill.
Skill: dockkit
Source: https://github.com/KumarAdi8/AgentKit/tree/main/skills/dockkit
Command: npx skills add https://github.com/KumarAdi8/AgentKit --skill dockkit

SYSTEM DOCUMENTATION & REQUIREMENTS

πŸ’‘ This Skill includes references (resource) components.

What problem does it solve?

DockKit eliminates manual camera re-framing and complex motor control by providing integrated support for motorized iPhone docks, allowing apps to keep faces, bodies, and objects properly framed without bespoke hardware logic.

Core Features & Use Cases

  • Automatic System Tracking: Built-in ML-based face and body detection that drives motors to keep subjects in frame.
  • Custom Tracking Options: Disable system tracking to feed custom Vision or model observations at 10–30 fps for bespoke behaviors.
  • Motor and Framing Control: APIs for angular velocity, orientation, framing modes, and region-of-interest to implement manual control, panoramas, or animated motions.
  • Accessory Integration & Events: Discovery, accessory state monitoring, physical button events, and battery reporting for full-featured camera apps.
  • Production Patterns: Error handling, testing strategies, and mock accessories for UI development without hardware.

Quick Start

Enable system tracking, subscribe to accessoryStateChanges to detect a dock, and observe trackingStates to keep subjects framed automatically.

Frequently Asked Questions about dockkit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement automatic subject tracking for an iOS camera app?β–Ό

Automatic subject tracking for an iOS camera app is implemented using DockKit to discover motorized accessories, enable system tracking, and subscribe to tracking states that keep subjects framed. It provides built-in ML-based face and body detection.

Can I use custom Vision models for camera tracking instead of the system tracking?β–Ό

Yes, you can disable system tracking and feed custom Vision or model observations at 10–30 fps to drive motorized docks. This allows bespoke tracking behaviors while using DockKit's angular velocity and orientation APIs.

Does DockKit camera tracking work without real hardware?β–Ό

DockKit requires real device hardware on iOS 17+ for actual motorized tracking, but provides mock accessories and testing strategies for UI development without physical dock hardware.

What motor control APIs are available for motorized iPhone docks?β–Ό

Available motor control APIs include angular velocity, orientation, framing modes, and region-of-interest. These APIs allow you to implement manual control, panoramas, and animated motions for motorized iPhone docks.

How do I discover and monitor motorized camera accessories in iOS?β–Ό

You discover and monitor motorized camera accessories by subscribing to accessoryStateChanges to detect a dock, and using accessory integration APIs to monitor accessory state, physical button events, and battery reporting.

What are the limitations of using DockKit for camera tracking?β–Ό

Limitations of DockKit camera tracking include requiring real device hardware on iOS 17+ for actual operation, and needing observation delivery at 10–30 fps for custom tracking modes to function properly.