Skills for Real Engineers. Straight from my .agents directory.
foundation-models
Agent skill fromrshankras/claude-code-apple-skills
On-device LLM integration using Apple's Foundation Models framework. Use when implementing AI text generation, structured output, or tool calling.
How to install foundation-models
npx skills add rshankras/claude-code-apple-skills# or add only this skill to Claude Code: copy the folder
skills/apple-intelligence/foundation-models/
# into
~/.claude/skills/foundation-models/ (all projects)
.claude/skills/foundation-models/ (one project)
1# Foundation Models23Integrate Apple's on-device LLM into your apps for privacy-preserving AI features. Companion references: **safety-and-guardrails.md** (model limits, prompt design, the four-layer safety stack), **models-and-agents.md** (Private Cloud Compute, `LanguageModel` protocol, vision input, `DynamicProfile` agentic sessions — the iOS 27 wave), and **utilities-package.md** (Apple's open-source utilities package: OpenAI-compatible endpoints, just-in-time Skills, history compression).45## When This Skill Activates67- User wants AI text generation features8- User needs structured data from natural language9- User asks about prompting or LLM integration10- User wants to implement AI assistants or agentic features (tool loops, multi-profile sessions)11- User needs content summarization or extraction12- User asks about Private Cloud Compute, guardrails, or model safety1314## Model Fit — Check Before Building1516The on-device model is ~3B parameters (2-bit quantized): built for **summarization, extraction, classification, tagging, revision, short chat** — not math, code generation, facts, or world knowledge (WWDC25 248). For capability boundaries, prompt-design rules, and the safety stack, read `safety-and-guardrails.md` first. For anything bigger, `PrivateCloudComputeLanguageModel` (32k context, reasoning) and third-party backends are in `models-and-agents.md`.1718## Quick Start1920### 1. Check Availability2122```swift23import FoundationModels2425struct IntelligentView: View {26…
Excerpt shown under the repository's MIT license.
More skills in claude-code-apple-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
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
Production-grade engineering skills for AI coding agents.
