·apple-on-device-ai
</>

apple-on-device-ai

在集成 Foundation Models 框架、使用 Apple Intelligence 实现设备上 AI、构建工具调用 AI 功能、使用引导生成模式、使用 Core ML 和 coremltools 转换模型或在 Apple Silicon 上运行开源 LLM 时使用。涵盖基础模型(LanguageModelSession、@Generable、@Guide、SystemLanguageModel、结构化输出、工具调用)、Core ML(coremltools、模型转换、量化、调色板化、修剪、神经引擎、MLTensor)、MLX Swift(变压器推理、统一内存)和 llama.cpp(GGUF、跨平台 LLM)。

97安装·28热度·@dpearson2699

安装

$npx skills add https://github.com/dpearson2699/swift-ios-skills --skill apple-on-device-ai

如何安装 apple-on-device-ai

通过命令行快速安装 apple-on-device-ai AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/dpearson2699/swift-ios-skills --skill apple-on-device-ai
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:dpearson2699/swift-ios-skills。

SKILL.md

查看原文

Guide for selecting, deploying, and optimizing on-device ML models. Covers Apple Foundation Models, Core ML, MLX Swift, and llama.cpp.

Use this decision tree to pick the right framework for your use case.

When to use: Text generation, summarization, entity extraction, structured output, and short dialog on iOS 26+ / macOS 26+ devices with Apple Intelligence enabled. Zero setup -- no API keys, no network, no model downloads.

在集成 Foundation Models 框架、使用 Apple Intelligence 实现设备上 AI、构建工具调用 AI 功能、使用引导生成模式、使用 Core ML 和 coremltools 转换模型或在 Apple Silicon 上运行开源 LLM 时使用。涵盖基础模型(LanguageModelSession、@Generable、@Guide、SystemLanguageModel、结构化输出、工具调用)、Core ML(coremltools、模型转换、量化、调色板化、修剪、神经引擎、MLTensor)、MLX Swift(变压器推理、统一内存)和 llama.cpp(GGUF、跨平台 LLM)。 来源:dpearson2699/swift-ios-skills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/dpearson2699/swift-ios-skills --skill apple-on-device-ai
分类
</>开发工具
认证
收录时间
2026-03-08
更新时间
2026-03-11

Browse more skills from dpearson2699/swift-ios-skills

快速解答

什么是 apple-on-device-ai?

在集成 Foundation Models 框架、使用 Apple Intelligence 实现设备上 AI、构建工具调用 AI 功能、使用引导生成模式、使用 Core ML 和 coremltools 转换模型或在 Apple Silicon 上运行开源 LLM 时使用。涵盖基础模型(LanguageModelSession、@Generable、@Guide、SystemLanguageModel、结构化输出、工具调用)、Core ML(coremltools、模型转换、量化、调色板化、修剪、神经引擎、MLTensor)、MLX Swift(变压器推理、统一内存)和 llama.cpp(GGUF、跨平台 LLM)。 来源:dpearson2699/swift-ios-skills。

如何安装 apple-on-device-ai?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dpearson2699/swift-ios-skills --skill apple-on-device-ai 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/dpearson2699/swift-ios-skills