All skills
rshankras avatar

/macos-tahoe-apis

@32566aa

Guide to macOS 26 Tahoe APIs and features. Covers Apple Intelligence (FoundationModels), MLX framework, and Continuity. Use when implementing macOS 26 specific features.

Use this Skill: https://skilld.dev/gh/rshankras/claude-code-apple-skills/macos-tahoe-apis

This session only. Nothing lands on disk.

apple-intelligence.md

≈453 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Apple Intelligence on macOS

On-device AI on macOS 26 ships through the FoundationModels framework — there is no AppleIntelligence module, no processingLocation switch, and no MCP (Model Context Protocol) support in Apple's SDK. The full, current API guidance (availability handling, sessions, structured output, tool calling, Private Cloud Compute, guardrails) lives in the dedicated skill: skills/apple-intelligence/foundation-models/ — read that, not this file, before implementing.

macOS specifics

import FoundationModels

let model = SystemLanguageModel.default

switch model.availability {
case .available:
    let session = LanguageModelSession()
    let response = try await session.respond(to: prompt)
case .unavailable(.deviceNotEligible):
    // Apple silicon required — Intel Macs are not eligible
    showUnsupportedUI()
case .unavailable(.appleIntelligenceNotEnabled):
    // User must enable Apple Intelligence in System Settings
    showEnableIntelligenceUI()
case .unavailable(let reason):
    showErrorUI(reason)
}
  • The system model runs on-device by default; privacy is inherent to the framework, not a property you set. Larger workloads opt into Private Cloud Compute via PrivateCloudComputeLanguageModel (see the foundation-models skill's models-and-agents.md).
  • Check availability every launch — model eligibility and the Apple Intelligence toggle are user- and hardware-dependent.
  • Tool calling uses the framework's Tool protocol (see the foundation-models skill) — define tools there rather than inventing protocol layers.

References

Source: SKILL.md on GitHub

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides technical documentation and code examples for macOS 26 Tahoe APIs, including Apple Intelligence and the MLX framework. The analysis found no malicious behavior, obfuscation, or security risks. All external references point to trusted official documentation sites.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 32566aa. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 3 months ago
What it can do
Reads files Network
last_verified
2026-07-16
review_by
2027-06-22
os_version
iOS 27 / macOS 27
All 4 allowed tools
ReadGlobGrepWebFetch

README badge

README badge for rshankras/claude-code-apple-skills/macos-tahoe-apis