Agent skill · AI & Agents

coreml

Integrate and optimize Core ML models in iOS apps for on-device machine learning inference. Covers model loading (.mlmodelc, .mlpackage), predictions with auto-generated classes and MLFeatureProvider, compute unit configuration (CPU, GPU, Neural Engine), MLTensor, VNCoreMLRequest, MLComputePlan, multi-model pipelines, and deployment strategies. Use when loading Core ML models, making predictions, configuring compute units, or profiling model performance.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill coreml-dpearson2699-swift-ios-skills --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 16 KB
Bundled scripts: none
Path: skills/ai-ml/coreml-dpearson2699-swift-ios-skills/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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. Target iOS 26+ with Swift 6.2, backward-compatible to iOS 14 unless noted. > **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 - [Loading Models](#loading-models) - [Model Configuration](#model-configuration) - [Making Predictions](#making-predictions) - [MLTensor (iOS 18+)](#mltensor-ios-18) - [Working with MLMultiArray](#working-with-mlmultiarray) - [Image Preprocessing](#image-preprocessing) - [Multi-Model Pipelines](#multi-model-pipelines) - [Vision Integration](#vision-integration) - [Performance Profiling](#performance-profiling) - [Model Deployment](#model-deployment) - [Memory Management](#memory-management) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-che

What's inside
Steps it walks through
  1. Contents
  2. Loading Models
  3. Auto-Generated Classes
  4. Manual Loading
  5. Async Loading (iOS 16+)
  6. Compile at Runtime
  7. Model Configuration
  8. Compute Units Decision Table
  9. Configuration Properties
  10. Making Predictions
  11. With Auto-Generated Classes
  12. With MLDictionaryFeatureProvider
  13. Async Prediction (iOS 17+)
  14. Batch Prediction
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the coreml skill do?

Integrate and optimize Core ML models in iOS apps for on-device machine learning inference. Covers model loading (.mlmodelc, .mlpackage), predictions with auto-generated classes and MLFeatureProvider, compute unit configuration (CPU, GPU, Neural Engine), MLTensor, VNCoreMLRequest, MLComputePlan, multi-model pipelines, and deployment strategies. Use when loading Core ML models, making predictions, configuring compute units, or profiling model performance.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill coreml-dpearson2699-swift-ios-skills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going