Apple On-Device Foundation Models
Integrates Apple's on-device FoundationModels framework into iOS applications for private, offline AI capabilities.
This skill provides Claude with the patterns and best practices required to implement Apple's native on-device language models in iOS 26+. It covers essential workflows including availability checks, multi-turn sessions, structured data generation using the @Generable macro, custom tool calling for domain-specific tasks, and snapshot streaming for real-time UI updates. It is particularly useful for developers building privacy-first or offline-capable mobile apps that leverage Apple Intelligence without cloud dependencies or external API costs.
Key Features
01Native on-device text generation and summarization
020 GitHub stars
03Real-time snapshot streaming for progressive UI updates
04Structured data extraction with @Generable and @Guide
05Custom tool calling for domain-specific logic and actions
06Comprehensive model availability and eligibility checking
Use Cases
01Building privacy-preserving AI assistants for mobile applications
02Creating real-time streaming AI interfaces in SwiftUI
03Implementing offline text processing and structured data extraction