
coreml
Integrate Core ML models in iOS apps for on-device machine learning inference
by dpearson2699Free
Description
Core ML Swift Integration is an agent skill from the swift-ios-skills collection that teaches a coding agent how to load, configure and run Core ML models inside iOS apps. It covers the Swift side of on-device inference: loading .mlmodel, .mlpackage and .mlmodelc files, making predictions, working with MLTensor, profiling and deployment. The skill draws a clear line around its scope: converting, quantizing, palettizing or pruning models in Python, and choosing a framework, belong to a separate apple-on-device-ai skill. A reference file adds fuller code patterns such as actor-based model caching, batch inference, image preprocessing and testing. It suits iOS developers who want their agent to write correct Core ML integration code rather than guess at the APIs.…
Highlights
- Loading .mlmodel, .mlpackage and .mlmodelc models in Swift
- Running predictions and working with MLTensor
- Profiling and deployment guidance for on-device inference
- Reference patterns for actor-based caching and batch inference
- Image preprocessing and testing examples
Ratings & Reviews
No ratings yet
Be the first to rate coreml.
People also visit
Coreai Model Zoo
Downloadable models and conversion recipes for Apple's Core AI on iPhone and Mac
coreml FAQ
What does the coreml skill do?
It guides an AI coding agent through integrating Core ML models into iOS apps in Swift: model loading, predictions, MLTensor, profiling and deployment.
Does it cover converting or quantizing models?
No. Python-side conversion, optimization (quantization, palettization, pruning) and framework selection are handled by the separate apple-on-device-ai skill. This skill only covers the Swift integration.
How do I install it?
Run: npx skills add https://github.com/dpearson2699/swift-ios-skills --skill coreml
Where are the detailed code examples?
The skill points to references/coreml-swift-integration.md in the repository, which holds complete patterns for actor-based caching, batch inference, image preprocessing and testing.
What security audit results are shown?
On skills.sh the skill shows: Gen Agent Trust Hub: Pass, Socket: Pass, Snyk: Pass.
What are the best coreml alternatives?
Popular alternatives to coreml include foundation-models-on-device, ios-swift-development and swift-expert. See all coreml alternatives







