← ClaudeAtlas

apple-on-device-ailisted

Designs private on-device AI for Apple platforms with Foundation Models (including iOS 27 LanguageModel providers, Private Cloud Compute, multimodal prompts, Dynamic Profiles), Core AI, Core ML, MLX Swift, or llama.cpp. Use for local LLM runtime selection, Apple Intelligence chat or tool use, Apple Silicon inference, model conversion/compression, or backend comparison; route Core ML prediction code to coreml.
thienqo/ios-skills · ★ 11 · AI & Automation · score 69
Install: claude install-skill thienqo/ios-skills
# On-Device AI for Apple Platforms Architect and deploy private on-device machine learning and LLMs on Apple Silicon. Covers framework selection between Apple Foundation Models, Core ML, MLX Swift, and llama.cpp, plus model optimization and quantization. > **Scope Boundary:** Swift-side Core ML inference and model caching live in `coreml`. This skill owns backend selection, architecture, model conversion, and LLM runtimes. ## Contents - [Framework Selection Router](#framework-selection-router) - [Apple Foundation Models](#apple-foundation-models) - [Core ML & Model Conversion](#core-ml--model-conversion) - [MLX Swift & Open Weights](#mlx-swift--open-weights) - [Model Compression & Optimization](#model-compression--optimization) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## Framework Selection Router | Framework | Best For | Pros | Constraints | |---|---|---|---| | **Apple Foundation Models** (iOS 26+; iOS 27 adds images, Private Cloud Compute, custom `LanguageModel`) | Text generation, structured output, tool calling | Zero app download footprint, native system UI integration | Requires Apple Intelligence eligible device | | **Core AI** (iOS 27+) | Running your own models in Swift; LLMs through a Foundation Models session | Memory-safe Swift API, specialization cache, Neural Engine/GPU/CPU selection | iOS 27 only; background Neural Engine needs an entitlement | | **Core ML** | Computer vision, audio, classif