# Apple Foundation Models Skill

> Write, review, or integrate Apple's FoundationModels framework (iOS 26.0+, macOS 26.0+), including WWDC 2026 beta APIs (OSs 27.0+). Use for on-device generation, structured output, tool calling, streaming, prompt attachments, dynamic profiles, agentic orchestration, session properties, Private Cloud Compute, or custom language model providers.

- **Type:** Skill
- **Install:** `agentstack add skill-alessiorubicini-apple-foundation-models-agent-skill-apple-foundation-models-skill`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [alessiorubicini](https://agentstack.voostack.com/s/alessiorubicini)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [alessiorubicini](https://github.com/alessiorubicini)
- **Source:** https://github.com/alessiorubicini/Apple-Foundation-Models-Agent-Skill/tree/main/apple-foundation-models-skill

## Install

```sh
agentstack add skill-alessiorubicini-apple-foundation-models-agent-skill-apple-foundation-models-skill
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Apple Foundation Models Skill

This skill acts as a router. When handling tasks or queries related to Apple's `FoundationModels` framework, identify the relevant topic below and load the corresponding reference file before performing any code generation or analysis.

## Topic Router

| Topic / API Surface | Target Reference |
| :--- | :--- |
| **All References Index** | [references/_index.md](file:///Users/alessiorubicini/Developer/projects/Apple-Foundation-Models-Agent-Skill/apple-foundation-models-skill/references/_index.md) |
| **Model Access & Availability** | [system-language-model.md](file:///Users/alessiorubicini/Developer/projects/Apple-Foundation-Models-Agent-Skill/apple-foundation-models-skill/references/system-language-model.md) |
| **Session & Transcript Lifecycle** | [session-lifecycle.md](file:///Users/alessiorubicini/Developer/projects/Apple-Foundation-Models-Agent-Skill/apple-foundation-models-skill/references/session-lifecycle.md) |
| **Structured Output (`@Generable`)** | [guided-generation.md](file:///Users/alessiorubicini/Developer/projects/Apple-Foundation-Models-Agent-Skill/apple-foundation-models-skill/references/guided-generation.md) |
| **Tool Calling & Capabilities** | [tool-calling.md](file:///Users/alessiorubicini/Developer/projects/Apple-Foundation-Models-Agent-Skill/apple-foundation-models-skill/references/tool-calling.md) |
| **Sampling & Options** | [generation-options.md](file:///Users/alessiorubicini/Developer/projects/Apple-Foundation-Models-Agent-Skill/apple-foundation-models-skill/references/generation-options.md) |
| **Streaming UI & Responses** | [streaming.md](file:///Users/alessiorubicini/Developer/projects/Apple-Foundation-Models-Agent-Skill/apple-foundation-models-skill/references/streaming.md) |
| **Error Handling & Overflow** | [error-handling.md](file:///Users/alessiorubicini/Developer/projects/Apple-Foundation-Models-Agent-Skill/apple-foundation-models-skill/references/error-handling.md) |
| **Swift Concurrency & Actor Isolation** | [concurrency.md](file:///Users/alessiorubicini/Developer/projects/Apple-Foundation-Models-Agent-Skill/apple-foundation-models-skill/references/concurrency.md) |
| **Performance & Prewarming** | [performance.md](file:///Users/alessiorubicini/Developer/projects/Apple-Foundation-Models-Agent-Skill/apple-foundation-models-skill/references/performance.md) |
| **Prompt Engineering & Strategy** | [prompting-techniques.md](file:///Users/alessiorubicini/Developer/projects/Apple-Foundation-Models-Agent-Skill/apple-foundation-models-skill/references/prompting-techniques.md) |
| **Prompt Attachments (Images)** | [prompt-attachments.md](file:///Users/alessiorubicini/Developer/projects/Apple-Foundation-Models-Agent-Skill/apple-foundation-models-skill/references/prompt-attachments.md) |
| **Dynamic Profiles & Policies** | [dynamic-profiles.md](file:///Users/alessiorubicini/Developer/projects/Apple-Foundation-Models-Agent-Skill/apple-foundation-models-skill/references/dynamic-profiles.md) |
| **Session Properties** | [session-properties.md](file:///Users/alessiorubicini/Developer/projects/Apple-Foundation-Models-Agent-Skill/apple-foundation-models-skill/references/session-properties.md) |
| **Private Cloud Compute (PCC)** | [private-cloud-compute.md](file:///Users/alessiorubicini/Developer/projects/Apple-Foundation-Models-Agent-Skill/apple-foundation-models-skill/references/private-cloud-compute.md) |
| **Custom Language Model Providers** | [custom-language-model-provider.md](file:///Users/alessiorubicini/Developer/projects/Apple-Foundation-Models-Agent-Skill/apple-foundation-models-skill/references/custom-language-model-provider.md) |
| **Framework Glossary** | [glossary.md](file:///Users/alessiorubicini/Developer/projects/Apple-Foundation-Models-Agent-Skill/apple-foundation-models-skill/references/glossary.md) |

## Boundaries (Out of Scope)

Do **NOT** use this skill for:
- General Swift Concurrency (see Swift Concurrency Skill).
- Standard SwiftUI patterns (see SwiftUI Expert Skill).
- Non-Apple/third-party LLM APIs.
- Model training/CoreML integration details.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [alessiorubicini](https://github.com/alessiorubicini)
- **Source:** [alessiorubicini/Apple-Foundation-Models-Agent-Skill](https://github.com/alessiorubicini/Apple-Foundation-Models-Agent-Skill)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-alessiorubicini-apple-foundation-models-agent-skill-apple-foundation-models-skill
- Seller: https://agentstack.voostack.com/s/alessiorubicini
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
