ClaudeForFoundationModels — Development skill for Claude Code
Claude support for Apple Foundation Models.
How to install ClaudeForFoundationModels
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open anthropics/ClaudeForFoundationModels and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What ClaudeForFoundationModels does
Claude support for Apple Foundation Models.
Alternatives in Development
- Apple Watch Analysis — Apple Watch 健康数据分析 348 ★
- Foam — Run a complete OpenFOAM CFD simulation (Foundation OpenFOAM v10 only) from a natural language prompt using Foa 314 ★
- Applemusic MCP — Apple Music MCP server: playlists, library, catalog, playback and the Up Next queue, on macOS, Windows and Lin 118 ★
README
Claude for Foundation Models
Use Claude as a server-side language model through Apple's [Foundation Models](https://developer.apple.com/documentation/foundationmodels) framework. The package conforms Claude to the framework's `LanguageModel` protocol, so you drive it with the same `LanguageModelSession` API you use for Apple's on-device model — `respond(to:)`, streaming, guided generation, and tool calling all work the same way.
**Beta.** This package targets the Foundation Models server-side language model API introduced in the OS 27 betas. APIs may change before general availability.
Contents
- Requirements
- Installation
- Quick start
- Example
- Choosing a model
- Authentication
- Streaming
- Structured output
- Server-side tools
- Error handling
- What this package provides
- Support
- License
Requirements
- iOS 27, macOS 27, visionOS 27, or watchOS 27 (beta) — the OS releases whose Foundation Models framework supports server-side language models.
- Xcode 27 (beta).
- A credential: an App Attest client ID from the Anthropic console, or an API key for simulator development. See Authentication.
Installation
Add the package to your `Package.swift`:
dependencies: [
.package(url: "https://github.com/anthropics/ClaudeForFoundationModels.git", from: "0.1.0")
]
Or in Xcode: **File ▸ Add Package Dependencies…** and enter the repository URL.
Then add `ClaudeForFoundationModels` to your target's dependencies and import it alongside `FoundationModels`:
import FoundationModels
import ClaudeForFoundationModels
Quick start
import FoundationModels
import ClaudeForFoundationModels
let model = ClaudeLanguageModel(
name: .sonnet5,
auth: .apiKey(ProcessInfo.proc
Related Skills
Apple Foundation
Apple Foundation framework patterns
Ailocal
Run Claude Code, Codex CLI, and VS Code Copilot against local models on Apple Silicon — one gateway, OpenAI- a
Claude Career Skills
A family of Claude skills for building career assets (CV, positioning, website copy, case studies, LinkedIn co
Arr
A repo of repos containing projects created within the Agentics Foundation community.
Init Ape
Initialize Claude Code Foundation for this project — guided setup with auto-detection (APE = Analyse, Plan, Ex
PM Dati Qualitativi
VOC research — estrae il linguaggio verbatim dei clienti (review, community, forum) → HTML. Fase 3 opzionale F
Related Agents
Foundation Models
Specialist for Apple's Foundation Models framework and Apple Intelligence — on-device and Private Cloud Comput
Gad Theory Scout
Researches theoretical context for the analysis -- signal models, branching ratios, existing limits, and relev
Robo AI
Robot learning and perception — vision pipelines, 3D detection/segmentation, pose estimation, VLA and robot fo