dockkit

Integrate DockKit-compatible camera docks with automatic subject framing in iOS apps.

Updated May 10, 2026
One-click install
npx skills add https://github.com/FelixRauch/medat-figuren --skill dockkit-felixrauch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dockkit
Source: https://github.com/FelixRauch/medat-figuren/tree/main/.agents/skills/dockkit
Command: npx skills add https://github.com/FelixRauch/medat-figuren --skill dockkit-felixrauch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

DockKit eliminates the manual effort of keeping a motorized iPhone dock camera framed on moving subjects, enabling reliable subject tracking during capture.

Core Features & Use Cases

  • Accessory discovery & lifecycle: Detect when a DockKit-compatible stand is docked or undocked and react accordingly.
  • System tracking or custom tracking: Use built-in ML tracking by default, or disable it and feed your own observations at 10–30 fps.
  • Framing, ROI, and motor control: Adjust framing modes, constrain tracking to a region of interest, and control pan/tilt motors directly when needed.
  • Subject selection & tracking state: Select specific subjects (including by tap or UUID) and monitor tracking state for confidence/saliency signals.

Use case example: Build a camera or video app that automatically keeps a presenter’s face centered while recording, then switch to custom tracking (e.g., Vision-based detections) when you need specialized subjects.

Quick Start

Ask the AI to integrate DockKit by subscribing to accessoryStateChanges, enabling system tracking on dock events, and configuring framing/ROI before starting AVFoundation capture.

Frequently Asked Questions about dockkit

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

FAQPage Schema
How do I integrate motorized dock subject tracking into an iOS camera app?

Integrate motorized dock subject tracking by subscribing to accessory state changes, enabling system tracking on dock events, and configuring framing or region of interest before starting AVFoundation capture. This handles accessory discovery, pan/tilt motor control, and automatic subject framing across face, body, and object scenarios.

Can I use custom Vision observations instead of built-in tracking for DockKit motor control?

You can disable built-in ML tracking and feed custom observations at 10–30 fps to control motorized docks. This allows specialized subject tracking using Vision-based detections while maintaining deterministic pan/tilt motor control workflows within the DockKit iOS frameworks.

What iOS version is required for DockKit accessory discovery and motor control frameworks?

DockKit accessory discovery and motor control frameworks require iOS 17+ and Swift 6.3. These versions provide the necessary APIs for async accessory lifecycle handling, system or custom subject tracking, and region of interest configuration for motorized camera docks.

How does region of interest framing work with motorized camera docks?

Region of interest framing constrains subject tracking to a specific area, adjusting framing modes and pan/tilt motor control to keep subjects centered. It applies across face, body, and object tracking scenarios using DockKit-compatible stands for reliable capture.

What is the best way to handle accessory lifecycle events for motorized iPhone docks?

The best way is subscribing to accessoryStateChanges to detect when a DockKit-compatible stand is docked or undocked, then asynchronously enabling system tracking and configuring framing upon dock events for reliable subject tracking during capture.

What are the limitations of custom observation tracking with DockKit docks?

Custom observation tracking requires maintaining 10–30 fps feed rates for deterministic motor control, and disabling built-in ML tracking means you must supply your own Vision-based detections for subject selection, tracking state monitoring, and saliency signals.