apple-claude-core-ml
Core ML, Create ML, Vision framework, Natural Language framework, on-device ML integration.
Skill by abpaul
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/abpaul-apple-claude-core-ml
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/apple-claude-core-ml
What's inside
- Skill name
apple-claude-core-ml- Description
- Core ML, Create ML, Vision framework, Natural Language framework, on-device ML integration. Use when user wants image classification, text analysis, object detection, sound classification, model optimization, or custom model integration. Covers Core ML vs Foundation Models decision.
- License
- MIT
- Instructions
- 398 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- allowed-tools: must be a space-separated string
Files (3)
- SKILL.md
- patterns.md
- templates.md
SKILL.md (first lines)
# Core ML Skills Combined advisory, generator, and workflow skill for integrating machine learning into Apple platform apps. Covers Core ML model integration, Vision framework image analysis, NaturalLanguage framework text processing, Create ML training, and on-device model optimization. ## When This Skill Activates Use this skill when the user: - Wants to add ML capabilities to their app - Needs to integrate a Core ML model (.mlmodel) into an Xcode project - Wants to use the Vision framework for image analysis (faces, text recognition, body pose, object detection) - Wants to use the NaturalLanguage framework for text processing (sentiment, entities, language detection) - Needs to train a custom model with Create ML - Wants to optimize a model for on-device use (quantization, pruning, palettization) - Needs to choose between Core ML and Foundation Models (Apple Intelligence) - Asks about image classification, object detection, sound classification, or tabular data prediction - Wants real-time camera + ML processing ## Decision Guide: Core ML vs Foundation Models Before generating code, determine which framework is appropriate. ### Use Foundation Models (Apple Intelligence) When: - You need general-purpose text generation, summarization, or conversational AI - Target is iOS 26+ / macOS 26+ (Foundation Models requires Apple Silicon + latest OS) - The task is open-ended language understanding or generation - You want `@Generable` structured output from natural language - See `apple-intelligence/foundation-models/` skill for implementation ### Use Core ML When: - You need specialized ML: image classification, object detection, sound classification, custom regression/classification - You have a trained model (.mlmodel, .mlpackage) or plan to train one - You need broad device support (iOS 14+ / macOS 11+) - The task requires domain-specific predictions (medical imaging, product recognition, custom NLP) - Performance-critical inference on Neural Engine or GPU ### Use Vision Framework When (No Custom Model Needed): - Image classification using Apple's built-in models - Face detection and facial landmark analysis - Text recognition (OCR) with `VNRecognizeTextRequest` - Body and hand pose detection - Barcode and QR code scanning - Image similarity and saliency detection - Horizon detection, rectangle detection ### Use NaturalLanguage Framework When (No Custom Model Needed): - Sentiment analysis on text - Language identification - Tokenization (word, sentence, paragraph boundaries) - Named entity recognition (people, places, organizations) - Word and sentence embeddings for similarity comparison - Lemmatization and part-of-speech tagging ## Pre-Generation Checks ### 1. Project Context Detection - [ ] Check deployment target (Core ML requires iOS 11+ / macOS 10.13+; Vision requires iOS 11+; NaturalLanguage requires iOS 12+) - [ ] Check for existing ML code or models - [ ] Identify project structure and source file locations - [ ] Determine if SwiftUI or UIKit/AppKit ### 2. Conflict Detection Search for existing ML integration: ``` Glob: **/*Model*.swift, **/*Classifier*.swift, **/*Predictor*.swift, **/*.mlmodel, **/*.mlmodelc, **/*.mlpackage Grep: "import CoreML" or "import Vision" or "import NaturalLanguage" ``` If found, ask user: - Extend existing ML setup? - Replace with new implementation? - Add additional model/capability? ## Configuration Questions Ask user via AskUserQuestion: 1. **What ML capability do you need?** - Image classification (identify objects in photos) - Object detection (locate objects with bounding boxes) - Text analysis (sentiment, entities, language) - Custom Core ML model integration - Vision framework (OCR, faces, poses) - Sound classification - Tabular data prediction 2. **Do you have a trained model, or need to train one?** - I have a .mlmodel / .mlpackage file - I want to train with Create ML - I want to use Apple's built-in models (Vision / NaturalLanguage) 3. **Performance requirements?** - Real-time (camera feed, < 33ms per prediction) - Interactive (user-initiated, < 500ms acceptable) - Background processing (batch, latency not critical) ## Core ML Model Integration ### Adding a Model to Xcode 1. Drag `.mlmodel` or `.mlpackage` into Xcode project navigator 2. Xcode auto-generates a Swift class with the model name 3. The generated class provides type-safe input/output interfaces 4. Xcode compiles to `.mlmodelc` at build time (optimized for device) ### Loading Models ```swift // Option 1: Auto-generated class (simplest) let model = try MyImageClassifier(configuration: MLModelConfiguration()) // Option 2: Generic MLModel loading (flexible) let url = Bundle.main.url(forResource: "MyModel", withExtension: "mlmodelc")! let config = MLModelConfiguration() config.computeUnits = .all // CPU + GPU + Neural Engine let model = try MLModel(contentsOf: url, configuration: config) // Option 3: Async loading (recommended for large models) let model = try await MLModel.load(contentsOf: url, configuration: config) ```
From abpaul/phxstack, MIT.
More from abpaul/phxstack
- 0.520score
apple-claude-performance
abpaul
Performance profiling and SwiftUI debugging skills — Instruments guidance, hangs, memory issues, slow launches, energy drain, unnecessary re-renders, and view…
SkillBFreshness: BClaude Code +9 - 0.520score
apple-claude-foundation
abpaul
Foundation framework skills — AttributedString patterns for rich text formatting, alignment, selection, and SwiftUI integration.
SkillBFreshness: BClaude Code +9 - 0.520score
apple-claude-release-review
abpaul
Senior developer-level release review for macOS/iOS apps.
SkillBFreshness: BClaude Code +9 - 0.520score
apple-claude-swiftdata
abpaul
SwiftData skills — class inheritance patterns for hierarchical models, type-based querying, polymorphic relationships, and inheritance-vs-enum decisions.
SkillBFreshness: BClaude Code +9 - 0.520score
apple-claude-shared
abpaul
Platform-agnostic skills including skill creation templates and best practices.
SkillBFreshness: BClaude Code +9 - 0.520score
apple-claude-app-store
abpaul
App Store optimization and marketing skills for descriptions, screenshots, keywords, review responses, and comprehensive promotional strategy.
SkillBFreshness: BClaude Code +9 - 0.520score
apple-claude-apple-intelligence
abpaul
Apple Intelligence skills for on-device AI features including Foundation Models, Visual Intelligence, App Intents, and intelligent assistants.
SkillBFreshness: BClaude Code +9 - 0.520score
apple-claude-design
abpaul
Design skills for Apple platform UI — Liquid Glass, animations, game feel (haptics, sound, celebrations), UI prototyping, UX writing, SF Symbols, and…
SkillBFreshness: BClaude Code +9 - 0.520score
apple-claude-legal
abpaul
Legal document generation and compliance guidance for indie Apple developers.
SkillBFreshness: BClaude Code +9 - 0.520score
apple-claude-mapkit
abpaul
MapKit and GeoToolbox skills — PlaceDescriptor patterns, geocoding, and cross-service place identifiers with MapKit integration.
SkillBFreshness: BClaude Code +9 - 0.520score
apple-claude-monetization
abpaul
Monetization strategy for iOS/macOS apps.
SkillBFreshness: BClaude Code +9 - 0.517score
apple-claude-swiftui
abpaul
Solve SwiftUI state, layout, rendering, and framework-integration problems.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Sep 13, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/abpaul/phxstack
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from abpaul
- 0.520score
apple-claude-app-store
abpaul
App Store optimization and marketing skills for descriptions, screenshots, keywords, review responses, and comprehensive promotional strategy.
SkillBFreshness: BClaude Code +9 - 0.520score
apple-claude-legal
abpaul
Legal document generation and compliance guidance for indie Apple developers.
SkillBFreshness: BClaude Code +9 - 0.520score
apple-claude-design
abpaul
Design skills for Apple platform UI — Liquid Glass, animations, game feel (haptics, sound, celebrations), UI prototyping, UX writing, SF Symbols, and…
SkillBFreshness: BClaude Code +9 - 0.520score
apple-claude-foundation
abpaul
Foundation framework skills — AttributedString patterns for rich text formatting, alignment, selection, and SwiftUI integration.
SkillBFreshness: BClaude Code +9 - 0.520score
apple-claude-apple-intelligence
abpaul
Apple Intelligence skills for on-device AI features including Foundation Models, Visual Intelligence, App Intents, and intelligent assistants.
SkillBFreshness: BClaude Code +9 - 0.520score
apple-claude-mapkit
abpaul
MapKit and GeoToolbox skills — PlaceDescriptor patterns, geocoding, and cross-service place identifiers with MapKit integration.
SkillBFreshness: BClaude Code +9
Cite this page
apple-claude-core-ml skill. Agent Mart. https://agentmart.dev/skills/abpaul-apple-claude-core-ml (last updated 2026-10-24)