Handles the Swift side of Core ML integration: loading models, configuring compute units (CPU, GPU, Neural Engine), running predictions, and working with MLTensor and MLMultiArray. Covers both auto-generated model classes and manual MLFeatureProvider paths, plus batch inference, stateful predictions for sequence models, and Vision framework integration. The skill draws a clear line between Swift integration (what's here) and Python-side conversion and optimization (handled elsewhere). Good decision tables for compute unit selection and concrete examples of async loading, image preprocessing, and multi-model pipelines. Targets iOS 14+ with newer features flagged by version. Use this when you're wiring up Core ML models in an iOS app and need the boilerplate right.
- skills.sh installs
- 3.9K
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add dpearson2699/swift-ios-skills --skill coreml --agent claude-codeInstalls into .claude/skills of the current project.
Files
Core ML Swift Integration
Load, configure, and run Core ML models in iOS apps. This skill covers the Swift side: model loading, prediction, MLTensor, profiling, and deployment.
Scope boundary: Python-side model conversion, optimization (quantization, palettization, pruning), and framework selection live in the
apple-on-device-aiskill. This skill owns Swift integration only.
See references/coreml-swift-integration.md for complete code patterns including actor-based caching, batch inference, image preprocessing, and testing.
Contents
Sponsors
Details
- Repository
- github.com/dpearson2699/swift-ios-skills
- Categories
- Data Science & ML, Debugging, Mobile Development
- First seen
- Apr 16, 2026
More from dpearson2699/swift-ios-skills
All 98- Core Bluetooth3.9K
- Core Motion3.8K
- Natural Language3.8K
- Speech Recognition3.8K
- Device Integrity3.8K
- Contacts Framework3.8K
- Alarmkit3.8K
- Core Nfc3.8K
- Swift Codable3.8K
- Tipkit3.8K
- App Clips3.8K
- Permissionkit3.7K
- Energykit3.7K
- Shareplay Activities3.7K
- Weatherkit3.6K
- Activitykit3.5K
- Cloudkit3.5K
- Photokit3.4K
- Mapkit3.4K
- Swiftui Webkit3.4K
- Realitykit3.4K
- Avkit3.4K
- Spritekit3.3K
- Cryptokit3.3K
