# Visual intelligence

> Visual intelligence is an open-source agent skill for developer tools. Guides building iOS and macOS app search driven by Visual Intelligence camera input. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/rshankras/claude-code-apple-skills/tree/main/skills/apple-intelligence/visual-intelligence
- **Repository:** https://github.com/rshankras/claude-code-apple-skills
- **GitHub stars:** 924
- **License:** MIT
- **Skill name:** visual-intelligence
- **Collection:** https://github.com/rshankras/claude-code-apple-skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill walks an agent through connecting an Apple app to Visual Intelligence, the system feature that searches by camera capture or screenshot. It covers defining AppEntity types for searchable content, writing an IntentValueQuery that reads labels or pixel buffers from the system, and building display representations for results.

The guide also covers returning multiple result types through a union value, deep linking results into the app with OpenIntent and URL handling, and adding a More Results intent that opens an in-app search view. It includes guidance on performance, such as pre-computing image feature prints, filtering by distance, and returning an empty list when nothing matches.

The skill is Swift-focused and expects a project using VisualIntelligence and AppIntents frameworks, with testing done on a physical device. It is a single reference document with no bundled scripts.

## When your agent uses it

> Integrate your app with iOS Visual Intelligence for camera-based search and object recognition. Use when adding visual search capabilities.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/rshankras/claude-code-apple-skills/tree/HEAD/skills/apple-intelligence/visual-intelligence)
- [Asks for: Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion](https://github.com/rshankras/claude-code-apple-skills/blob/HEAD/skills/apple-intelligence/visual-intelligence/SKILL.md)
- [License: MIT](https://github.com/rshankras/claude-code-apple-skills/tree/HEAD/skills/apple-intelligence/visual-intelligence)

## Features

- **Visual search query setup:** Shows how to implement an IntentValueQuery that accepts semantic content from the system and returns matching app entities.
- **App entity definitions:** Covers defining AppEntity types with display representations, type names and deep link URLs for searchable content.
- **Multiple result types:** Explains using a union value to return several entity kinds through one visual search query.
- **Deep link handling:** Describes wiring OpenIntent and URL handling so tapped results open the correct screen in the app.
- **On-device image matching:** Outlines pre-computed feature prints, distance thresholds and result sorting for camera-based matching.
- **More results intent:** Shows a pre-populated in-app search hand-off for users who want more than the initial results.

## Good for

- Add camera-based product search to an iOS shopping app
- Return matching recipes when a user points the camera at ingredients
- Let users find app content from a screenshot on iPad or Mac
- Surface calendar or contact data that Visual Intelligence writes into the app
- Set up a More Results button that opens a filtered in-app search

## Install

### Claude Code

This skill ships in the `apple-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add rshankras/claude-code-apple-skills
/plugin install apple-skills@indie-apple-stack
```

Or copy only this skill to `~/.claude/skills/visual-intelligence`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/visual-intelligence &&
cp -R "$tmp/skills/apple-intelligence/visual-intelligence" ~/.claude/skills/visual-intelligence &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/visual-intelligence` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/visual-intelligence` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/visual-intelligence &&
cp -R "$tmp/skills/apple-intelligence/visual-intelligence" ~/.agents/skills/visual-intelligence &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/visual-intelligence` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/visual-intelligence` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/visual-intelligence &&
cp -R "$tmp/skills/apple-intelligence/visual-intelligence" ~/.cursor/skills/visual-intelligence &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/visual-intelligence` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/rshankras/claude-code-apple-skills.git --path skills/apple-intelligence/visual-intelligence
```

Or copy the folder to `~/.gemini/skills/visual-intelligence` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/visual-intelligence`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/visual-intelligence &&
cp -R "$tmp/skills/apple-intelligence/visual-intelligence" ~/.copilot/skills/visual-intelligence &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/visual-intelligence` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills.git
```

Then copy `claude-code-apple-skills/skills/apple-intelligence/visual-intelligence` into your agent's skills folder as `visual-intelligence`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to be used?

It is written for Swift projects that use the VisualIntelligence and AppIntents frameworks, and it notes that testing should happen on a physical device.

### Does Visual intelligence change anything in my project by itself?

No. It is a reference guide that gives the agent instructions and code patterns for integrating Visual Intelligence into an app.

### When does the skill activate?

It activates when a user wants camera-based search in their app, asks about visual search integration, wants app content in system searches, or needs to handle visual intelligence queries.

### Which clients can use Visual intelligence?

The skill follows the shared agent skills format and the repository also ships it through a Claude Code plugin marketplace.

### How do I install Visual intelligence in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/visual-intelligence to use it in all your projects, or to .claude/skills/visual-intelligence in one project. Or install the apple-skills plugin, which includes it: /plugin marketplace add rshankras/claude-code-apple-skills, then /plugin install apple-skills@indie-apple-stack.

### Does Visual intelligence run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Visual intelligence?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Visual intelligence?

The closest alternatives to Visual intelligence are App intents, Apple intelligence, Axiom vision, Os integrations and Mac design.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [App intents](https://ai-powered.com/skills/app-intents): App intents is an open-source agent skill for developer tools.
- [Apple intelligence](https://ai-powered.com/skills/apple-intelligence): Apple intelligence is an open-source agent skill for developer tools.
- [Axiom vision](https://ai-powered.com/skills/axiom-vision-charleswiltgen): Axiom vision is an open-source agent skill for developer tools.
- [Os integrations](https://ai-powered.com/skills/os-integrations): Os integrations is an open-source agent skill for developer tools.
- [Mac design](https://ai-powered.com/skills/mac-design): Mac design is an open-source agent skill for developer tools.
- [Design](https://ai-powered.com/skills/design-rshankras): Design is an open-source agent skill for design and media.
- [Foundation models](https://ai-powered.com/skills/foundation-models): Foundation models is an open-source agent skill for developer tools.
- [Build swiftui interface](https://ai-powered.com/skills/build-swiftui-interface): Build swiftui interface is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/visual-intelligence
