Skip to content
alyn
rshankras

Apple Intelligence skill

Apple Intelligence skills for on-device AI features including Foundation Models, Visual Intelligence, App Intents, and intelligent assistants. Use when implementing AI-powered features.

$npx skills add rshankras/claude-code-apple-skills --skill apple-intelligence
View this skill on GitHubrshankras/claude-code-apple-skills/skills/apple-intelligence/SKILL.md
Pack stars
881
Pack installs
14k
Alyn Score
57/99
Updated
2 days ago
License
MIT
– views – installs via Alyn

rshankras

Apple Intelligence

Install Apple Intelligence

Pick your agent. Every command is ready to paste.

$npx skills add rshankras/claude-code-apple-skills --skill apple-intelligence

The open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.

01

Install it

Run the command above, or upload the folder in Claude.

02

Ask naturally

Describe the task. Your agent loads apple-intelligence when the request matches its description.

03

Name it if needed

If it does not trigger, say “use the apple-intelligence skill”. In Codex, type $apple-intelligence.

The skill itself

SKILL.md

FolderGitHub

Apple Intelligence Skills

Skills for implementing Apple Intelligence features including on-device LLMs, visual recognition, App Intents integration, and intelligent assistants.

When This Skill Activates

Use this skill when the user:

  • Wants to add AI/LLM features to their app
  • Needs on-device text generation or understanding
  • Asks about Foundation Models or Apple Intelligence
  • Wants to implement structured AI output
  • Needs prompt engineering guidance
  • Wants camera-based visual intelligence features
  • Needs Siri, Shortcuts, or Spotlight integration via App Intents
  • Wants to expose app actions or content to the system

Available Skills

foundation-models/

On-device LLM integration with prompt engineering best practices.

  • Model availability checking
  • Session management
  • @Generable structured output (property-order + schema-injection rules)
  • Tool calling patterns
  • Snapshot streaming
  • Prompt engineering techniques
  • safety-and-guardrails.md — model limits, the instructions-over-prompts hierarchy, guardrail handling, the four-layer safety stack, evals
  • models-and-agents.md — Private Cloud Compute, LanguageModel protocol (third-party backends), vision input, DynamicProfile agents, tool-calling modes, KV-cache rules

visual-intelligence/

Integrate with iOS Visual Intelligence for camera-based search.

  • IntentValueQuery implementation
  • SemanticContentDescriptor handling
  • AppEntity for searchable content
  • Display representations
  • Deep linking from results

app-intents/

App Intents for Siri, Shortcuts, Spotlight, and Apple Intelligence.

  • AppIntent protocol, parameters, perform()
  • AppEntity and entity queries
  • App Shortcuts with voice phrases
  • IndexedEntity and Spotlight indexing
  • Intent modes (background, foreground)
  • Interactive snippets with SnippetIntent
  • Visual intelligence integration
  • Onscreen entities for Siri/ChatGPT
  • Multiple choice API
  • Swift package support

Key Principles

1. Privacy First

  • On-device processing by default; Private Cloud Compute extends capacity without storing prompts (no account/API keys — WWDC26 241)
  • When routing to less-private backends, redact context first (see foundation-models/models-and-agents.md)

2. Graceful Degradation

  • Always check model availability
  • Provide fallback UI for unsupported devices
  • Handle errors gracefully (incl. guardrail violations — silent for proactive features, explained for user-initiated)

3. Efficient Prompting

  • Keep prompts focused and specific
  • Use structured output when possible
  • Respect context window limits — query model.contextSize, never hardcode (4,096 first-gen on-device; 8,192 iOS 27 on-device; 32,000 Private Cloud Compute)

Reference Documentation

  • Foundation Models
  • Visual Intelligence
  • App Intents
  • Local captured docs (optional): if ~/Downloads/docs/ contains FoundationModels-Using-on-device-LLM-in-your-app.md, Implementing-Visual-Intelligence-in-iOS.md, or AppIntents-Updates.md, read them for extra detail; skip silently if absent.

Tips for Apple Intelligence

  • • Start a fresh session after installing so your agent picks up the new skill.
  • • It is part of a pack with 30 skills. Install only the ones you need with --skill to keep triggers precise.
  • • If two skills overlap, mention the one you want by name.

Questions about Apple Intelligence

What does the Apple Intelligence skill do?

Apple Intelligence skills for on-device AI features including Foundation Models, Visual Intelligence, App Intents, and intelligent assistants. Use when implementing AI-powered features.

How do I install Apple Intelligence?

Run "npx skills add rshankras/claude-code-apple-skills --skill apple-intelligence" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.

Does Apple Intelligence work in Cursor and Codex?

Yes. Apple Intelligence uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.

Is Apple Intelligence free?

Apple Intelligence is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.

Who made Apple Intelligence?

Apple Intelligence is published by rshankras in the rshankras/claude-code-apple-skills repository, together with 29 other skills.

Similar skills. From other creators.