subagentskills

.com agent skill

← all skills

foundation-models-bridge

open cwc-ios-engineering skl_foundation_models_bridge
description (verbatim frontmatter)
Deep knowledge of `vendors/anthropics/ClaudeForFoundationModels` — the package that conforms Claude to Apple's FoundationModels `LanguageModel` protocol so you drive Claude through the SAME `LanguageModelSession` API (`respond(to:)`, streaming, `@Generable` guided generation, tool calling) as Apple's on-device model. THE key fact this skill exists to teach: this bridge is SERVER-SIDE (a network call to Anthropic, OS 27 / Xcode 27 / API key required) — it is NOT on-device and NOT offline; do not confuse it with Apple's own local model or with the direct ClaudeAPI Messages client. Use when the ask involves FoundationModels + Claude, `ClaudeLanguageModel`, `LanguageModelSession` with Claude, `@Generable` output from Claude, `serverTools` (web search/fetch/code execution), effort mapping, or choosing between on-device / bridge / direct-API. Trigger on "Foundation Models", "FoundationModels", "LanguageModelSession", "ClaudeLanguageModel", "@Generable", "on-device model", "Apple Intelligence", "server-side language model", "ClaudeForFoundationModels". Do NOT use for the direct ClaudeAPI Messages client or SwiftUI work (swift-app-engineering), or for container/VM internals (apple-container-internals).
summary

Deep knowledge of `vendors/anthropics/ClaudeForFoundationModels` — the package that conforms Claude to Apple's FoundationModels `LanguageModel` protocol so you drive Claude through the SAME `LanguageModelSession` API (`respond(to:)`, streaming, `@Generable` guided generation, tool calling) as App...

source

plugins/cwc-ios-engineering/skills/foundation-models-bridge/SKILL.md

provenance

created 2026-07-10 18:13:13 · JSON