foundation-models

Generate private text and structured outputs with Apple Foundation Models on iOS/macOS.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/jtvaris/sunday-night-dynasty --skill foundation-models-jtvaris
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: foundation-models
Source: https://github.com/jtvaris/sunday-night-dynasty/tree/main/.agents/skills/apple-intelligence/foundation-models
Command: npx skills add https://github.com/jtvaris/sunday-night-dynasty --skill foundation-models-jtvaris

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Private, on-device Foundation Models enable privacy-preserving AI features, enabling generation, structured output, and tool integration without sending data to the cloud.

Core Features & Use Cases

  • On-device Foundation Models integration for privacy-preserving AI features
  • Structured output generation and tool-calling workflows within iOS/macOS apps
  • Real-world scenarios include offline assistants, local data processing, and prompt-controlled interactions

Quick Start

Initialize an on-device Foundation Models session and generate a short response to a user prompt.

Frequently Asked Questions about foundation-models

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run on-device AI generation locally in my iOS app?▼

On-device generation runs locally by initializing a FoundationModels session to process text prompts directly on iOS, keeping data private without relying on cloud infrastructure.

Can I use on-device models for structured data tasks and tool calling?▼

Yes, on-device models support structured data tasks and tool calling workflows, enabling local apps to parse specific outputs and integrate external functions securely within iOS.

Do I need a specific framework to enable private AI features on Apple devices?▼

Yes, you need the FoundationModels framework along with a suitable device and proper session lifecycle management to ensure secure, private processing on Apple platforms.

What is the best way to build an offline assistant with local text generation?▼

The best way to build an offline assistant is using on-device Foundation Models for local text generation, which processes prompts privately without sending data to external servers.

Are there limitations when using Foundation Models for iOS prompt engineering?▼

Limitations include requiring suitable device availability for the FoundationModels framework and careful session lifecycle management to maintain secure, private on-device processing.