coreml

Load Core ML models and run on-device predictions in Swift iOS apps.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/onymchat/onym-ios --skill coreml-onymchat
Or copy as Structured Prompt for Agentâ–¼
Please help me install this Agent Skill.
Skill: coreml
Source: https://github.com/onymchat/onym-ios/tree/main/.claude/skills/coreml
Command: npx skills add https://github.com/onymchat/onym-ios --skill coreml-onymchat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill streamlines loading Core ML models and running predictions in Swift-based iOS apps, handling model configuration, deployment, and performance profiling on-device.

Core Features & Use Cases

  • Loading models via auto-generated classes, or manually from URLs, with on-device inference.
  • Configure compute units (CPU/GPU/Neural Engine) and manage MLModelConfiguration across app lifecycles.
  • Vision integration and CoreML workflows for preprocessing, image inputs, and batch predictions.
  • Multi-model pipelines and deployment strategies (bundle vs on-demand) with on-device profiling.

Quick Start

Load an MLModel and run a swift-based on-device prediction using the provided patterns.

Frequently Asked Questions about coreml

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I load a Core ML model and run predictions in a Swift iOS app?â–¼

Configure Core ML compute units in Swift by managing MLModelConfiguration to target the CPU, GPU, or Neural Engine. This controls hardware allocation and optimizes on-device inference performance across app sessions.

How does Vision framework integration work with Core ML for image inputs?â–¼

Vision framework integration with Core ML handles image preprocessing and prediction workflows in Swift. It manages image inputs and batch predictions by passing processed data directly to your MLModel.

What is the best way to profile Core ML on-device performance during deployment?â–¼

Profile Core ML on-device performance by evaluating compute units and prediction latency during model deployment. This identifies bottlenecks across multi-model pipelines and optimizes bundle versus on-demand strategies.

Can I manage multi-model pipelines and MLMultiArray workflows on iOS?â–¼

Manage multi-model pipelines and MLMultiArray workflows on iOS by chaining Core ML models and handling multi-dimensional data. This supports complex on-device execution and batch prediction strategies.