Tooluck logoTooluck
SKILL.md

core-ml

Agent skill fromrshankras/claude-code-apple-skills

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.

How to install core-ml

install core-ml
# install the claude-code-apple-skills pack with the skills CLI
npx skills add rshankras/claude-code-apple-skills

# or add only this skill to Claude Code: copy the folder

skills/core-ml/

# into

~/.claude/skills/core-ml/ (all projects)

.claude/skills/core-ml/ (one project)

skills/core-ml/SKILL.md

MITFull file
1# Core ML Skills
2
3Combined 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.
4
5## When This Skill Activates
6
7Use this skill when the user:
8- Wants to add ML capabilities to their app
9- Needs to integrate a Core ML model (.mlmodel) into an Xcode project
10- Wants to use the Vision framework for image analysis (faces, text recognition, body pose, object detection)
11- Wants to use the NaturalLanguage framework for text processing (sentiment, entities, language detection)
12- Needs to train a custom model with Create ML
13- Wants to optimize a model for on-device use (quantization, pruning, palettization)
14- Needs to choose between Core ML and Foundation Models (Apple Intelligence)
15- Asks about image classification, object detection, sound classification, or tabular data prediction
16- Wants real-time camera + ML processing
17
18## Decision Guide: Core ML vs Foundation Models
19
20Before generating code, determine which framework is appropriate.
21
22### Use Foundation Models (Apple Intelligence) When:
23- You need general-purpose text generation, summarization, or conversational AI
24- Target is iOS 26+ / macOS 26+ (Foundation Models requires Apple Silicon + latest OS)
25- The task is open-ended language understanding or generation
26- You want `@Generable` structured output from natural language
27…

Excerpt shown under the repository's MIT license.

More skills in claude-code-apple-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates