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.

mlx-framework.md

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

MLX Framework

Apple's machine learning framework with M5 chip neural accelerator support.

MLX Basics

import MLX

// ✅ Load and run ML model with MLX
func runMLXModel() async throws {
    let model = try await MLXModel.load(from: modelURL)

    // Leverages M5 neural accelerators automatically
    let input = MLXArray(data: inputData)
    let output = try await model.predict(input)

    print("Prediction: \(output)")
}

Neural Accelerator Access (M5)

// ✅ Optimize for M5 chip
func configureForM5() {
    MLX.configuration.useNeuralAccelerators = true
    MLX.configuration.preferredDevice = .neuralEngine
}

// ✅ Check hardware capabilities
func checkMLXCapabilities() -> Bool {
    MLX.neuralAcceleratorsAvailable
}

Training on Device

// ✅ On-device model training
func trainModel() async throws {
    let trainer = MLXTrainer(model: model)
    trainer.configuration.device = .neuralEngine

    for epoch in 0..<numEpochs {
        let loss = try await trainer.train(epoch: epoch, data: trainingData)
        print("Epoch \(epoch): Loss = \(loss)")
    }

    try await trainer.save(to: modelURL)
}

Resources

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