visual-intelligence

visual-intelligence is a skill for Claude Code, Codex from rshankras/claude-code-apple-skills. It costs 28 tokens per session (3,988 once invoked), scanned A, original, MIT.

Guidance for connecting an app to Apple's Visual Intelligence, which lets people point a camera at an object or use a screenshot to find matching app content.

In plain words
What is it for?
Use it to add camera-based or screenshot-based visual search with searchable app entities, query handling, and result representations on iPhone, iPad, and Mac.
Why use it?
It explains how an app can receive these searches and return results through Apple's system interface.

Skill for Claude CodeCodex

Part of the apple-skills plugin — 147 skills shipped together , and of apple-skills

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/rshankras/claude-code-apple-skills/visual-intelligence
Any agent
npx skills add rshankras/claude-code-apple-skills --skill visual-intelligence
Clone the repo
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills

Made for: Claude Code, Codex.

Or install apple-skills, the plugin that ships this one along with the rest of its 147 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for visual-intelligence

README.md
[![agentmods](https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/visual-intelligence.svg)](https://agentmods.dev/skills/rshankras/claude-code-apple-skills/visual-intelligence)
Your own site
<a href="https://agentmods.dev/skills/rshankras/claude-code-apple-skills/visual-intelligence"><img src="https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/visual-intelligence.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,988 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00028 $0.03988
Opus 5 $0.00014 $0.01994
Sonnet 5 $0.00006 $0.00798
Haiku 4.5 $0.00003 $0.00399

Measured 5d ago against content hash 234e46e583ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

visual-intelligence scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/apple-intelligence/visual-intelligence/SKILL.md · 565 lines

How it starts

The opening of the file, as written. The whole thing — 565 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Visual Intelligence

Integrate your app with iOS Visual Intelligence to let users find app content by pointing their camera at objects.

When This Skill Activates

  • User wants camera-based search in their app
  • User asks about visual search integration
  • User wants to surface app content in system searches
  • User needs to handle visual intelligence queries

Overview

Visual Intelligence lets users:

  1. Point camera at objects or use screenshots
  2. System identifies what they're looking at
  3. Your app provides matching content
  4. Results appear in system UI

Your app implements:

  • IntentValueQuery to receive search requests
  • AppEntity types for searchable content
  • Display representations for results

Platform Availability (WWDC26 297)

  • Visual Intelligence runs on iOS, iPadOS, and macOS — the same entities, query, and OpenIntent code works unchanged on all three. Handle both camera captures of physical objects (iOS) and screenshots of digital media (iPad/Mac) as input.
  • On Mac, the input pixel buffer can be much larger than what you'd encounter on iPhone — consider whether resizing is necessary before matching.

Quick Start

1. Import Frameworks

import VisualIntelligence
import AppIntents

2. Create App Entity

struct ProductEntity: AppEntity {
    var id: String
    var name: String
    var price: String
    var imageName: String

    static var typeDisplayRepresentation: TypeDisplayRepresentation {
        TypeDisplayRepresentation(
            name: LocalizedStringResource("Product"),
            numericFormat: "\(placeholder: .int) products"
        )
    }

    var displayRepresentation: DisplayRepresentation {
        DisplayRepresentation(
            title: "\(name)",
            subtitle: "\(price)",
            image: .init(named: imageName)
        )
    }

    // Deep link URL
    var appLinkURL: URL? {
        URL(string: "myapp://product/\(id)")
    }
}

3. Create Intent Value Query

Read the full file on GitHub · 565 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 565 lines · 28 tokens per session scan A 234e46e583ac

Subscribe to this mod's changes

visual-intelligence is a skill published in the GitHub repository rshankras/claude-code-apple-skills (700 stars, last pushed 1mo ago), licensed MIT. It adds 28 tokens to every session and 3,988 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

apple-on-device-ai

Integrate on-device AI using Foundation Models framework, Core ML, and open-source LLM runtimes on Apple Silicon. Covers Foundation Models (LanguageModelSession, @Generable, @Guide, SystemLanguageModel, structured output, tool calling), Core ML (coremltools, model conversion, quantization, palettization, pruning…

JordanCoin/ios-skills-collection · 127 tokens

coreml

Integrate and optimize Core ML models in iOS apps for on-device machine learning inference. Covers model loading (.mlmodelc, .mlpackage), predictions with auto-generated classes and MLFeatureProvider, compute unit configuration (CPU, GPU, Neural Engine), MLTensor, VNCoreMLRequest, MLComputePlan, multi-model pipelines…

JordanCoin/ios-skills-collection · 94 tokens

gingiris-aso-growth

🇺🇸 ASO & Mobile App Growth Playbook 2026 — Complete App Store Optimization guide. ASO keyword ranking, App Store & Google Play listing optimization, app cold start, UGC creator operations, TikTok/Instagram/YouTube Shorts marketing, AI-matrix content scaling, mobile user acquisition. 🇨🇳 ASO 增长与 App 冷启动权威指南 …

Gingiris-1031/gingiris-skills · 320 tokens

app-icon-composer

Produce HIG-correct, Icon Composer-ready layered app icons for iOS/iPadOS/macOS/watchOS 26 (Liquid Glass) — apply Apple's app-icon guidelines, design the layer stack and Default/Dark/Mono appearances, and author the art as SVG the model can write directly (no paid generator required), falling back to image-gen MCPs…

markdavidgan/apple-dev-skills · 131 tokens

apple-foundation-models

On-device AI with Apple's Foundation Models framework (import FoundationModels) in iOS 26 / Apple Intelligence — LanguageModelSession, guided generation with @Generable/@Guide, streaming, tool calling, and availability gating. Use when the user wants on-device LLM features, Apple Intelligence integration…

markdavidgan/apple-dev-skills · 101 tokens

apple-app-delivery

Upload builds, distribute on TestFlight, manage metadata, submit for Beta/App Review, and release on the App Store using Apple's official CLIs and the App Store Connect API. Default stable delivery to APPSTORE so one build can be tested in TestFlight and later submitted to the App Store; choose TESTFLIGHTINTERNALONLY…

moritouch/apple-app-delivery · 125 tokens