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
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 -yInstalls 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-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
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- Core Bluetooth4K
- Core Motion4K
- Natural Language4K
- Speech Recognition4K
- Device Integrity4K
- Alarmkit3.9K
- Contacts Framework3.9K
- Swift Codable3.9K
- Core Nfc3.9K
- Tipkit3.9K
- App Clips3.9K
- Permissionkit3.9K
- Energykit3.9K
- Shareplay Activities3.8K
- Weatherkit3.8K
- Activitykit3.7K
- Cloudkit3.6K
- Photokit3.6K
- Realitykit3.5K
- Swiftui Webkit3.5K
- Mapkit3.5K
- Spritekit3.5K
- Avkit3.5K
- Cryptokit3.5K
Similar to Coreml
More Mobile Apps
apple-on-device-aiSkilldpearson2699/swift-ios-skills4.3K installsBuild private on-device AI on Apple platforms with Foundation Models, Core ML, MLX Swift, or llama.cpp.
ios-ai-ml-skillsPlugindpearson2699/swift-ios-skills1.3K starsAI and machine learning: Foundation Models, Core ML, Vision, NaturalLanguage, Speech Recognition
core-mlSkillrshankras/claude-code-apple-skills447 installsCore ML and Vision workflow skill for on-device ML: model integration, Create ML training, and framework selection.
ShipSwiftMCP serversignerlabs3.3K starsSwift UI recipe library giving access to 40+ production-ready iOS and backend implementations over MCP.
swift-optimiseSkillpproenca/dot-skills296 installsSwift 6.2 and SwiftUI performance rules for iOS 26 clinic modules, covering concurrency, rendering, and animation.
