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-code

Installs 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-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

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
1bytedance avatarclaude-to-deerflowbytedance/deer-flowInteract with DeerFlow AI agent platform via its HTTP API. Use this skill when the user wants to send messages or questions to DeerFlow for research/analysis, s3.9Kskills.sh installs
2agricidaniel avatarads-testagricidaniel/claude-adsDesign and evaluate paid-ad experiments with hypotheses, randomization units, sample-size and duration assumptions, guardrails, platform experiment tools, analy3.9Kskills.sh installs
3anthropics avatarseo-auditanthropics/knowledge-work-pluginsRun a comprehensive SEO audit — keyword research, on-page analysis, content gaps, technical checks, and competitor comparison. Use when assessing a site's SEO h3.8Kskills.sh installs
4marimo-team avatarmarimo-batchmarimo-team/skillsAn opintionated skill to prepare a marimo notebook to make it ready for a scheduled run.3.8Kskills.sh installs
5shubhamsaboo avatarux-designershubhamsaboo/awesome-llm-appsExpert UX design assistance for user research, wireframing, prototyping, and design strategy. Use when: creating wireframes, conducting user research, building 3.7Kskills.sh installs
6dpearson2699 avatarweatherkitdpearson2699/swift-ios-skillsFetch WeatherKit current, minute, hourly, and daily forecasts; weather alerts; iOS 18+ changes, historical comparisons, summaries, and statistics; and required 3.6Kskills.sh installs