Swift-side Core ML integration: model loading, compute units, predictions, MLTensor, and profiling for on-device inference.

CCM score
71 of 100
skills.sh installs
4.1K
GitHub stars
1.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers model loading from .mlmodel, .mlpackage, and .mlmodelc, plus predictions, MLTensor, Vision requests, and multi-model pipelines
  • Includes compute unit configuration for CPU, GPU, and Neural Engine, with a decision table and profiling guidance via MLComputePlan
  • Enforces caching of runtime-compiled models so the app does not recompile on every launch
  • Designed for iOS developers integrating Core ML models in apps, with Python-side conversion and optimization left to a separate skill

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill coreml -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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-ai skill. 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

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Mobile Apps, AI Agents & LLM Apps, Data Science & Analytics
First seen
Apr 16, 2026

More from dpearson2699/swift-ios-skills

All 94

Similar to Coreml

More Mobile Apps