Primary navigation
← All use cases

Add iOS app intents

Use Codex to make your app's actions and content available to Shortcuts, Siri, Spotlight, and newer assistant-driven system experiences.

Use Codex and the Build iOS Apps plugin to identify the actions and entities your app should expose through App Intents, wire them into system surfaces like Shortcuts and Spotlight, and prepare your app for more assistant-driven workflows over time.

Advanced
1h

Best for

  • iOS apps that already have useful actions or content but are still invisible to Shortcuts, Siri, Spotlight, or the wider system
  • Teams that want to expose a few high-value actions now and build toward more assistant-friendly workflows over time
  • Apps with clear objects like accounts, lists, filters, destinations, drafts, or media that can become app entities instead of staying locked inside the UI

Skills & Plugins

  • Use the iOS build and SwiftUI skills to add App Intents, app entities, and App Shortcuts, then validate that the app still builds and routes intent-driven entry points correctly.

Starter prompt

Use the Build iOS Apps plugin to audit this iOS app and add App Intents for the actions and entities that should be exposed to the system. Constraints: - Start by identifying the app's highest-value user actions and core objects that should be available outside the app in Shortcuts, Siri, Spotlight, widgets, controls, or newer assistant-driven system surfaces. - Keep the first pass focused. Pick a small set of intents that are genuinely useful without opening the full app, plus any open-app intents that should deep-link into a specific screen or workflow. - Define app entities only for the data the system actually needs to understand and route those actions. Do not mirror the entire internal model layer if a smaller entity surface is enough. - Add App Shortcuts where they make the experience more discoverable, and choose titles, phrases, and display representations that would make sense in Siri, Spotlight, and Shortcuts. - If the app needs to handle the intent inside the main UI, route the result back into the app cleanly and explain how the app scene reacts to that handoff. - Build and validate the app after the first pass, then summarize which actions, entities, and system surfaces are now supported. Deliver: - the recommended intent and entity surface for a first release - the implemented intents, entities, and App Shortcuts - how the app routes or handles those intents at runtime - which Apple system experiences this unlocks now and which ones are logical next steps

Make the right parts of your app visible to the system

App Intents are one of the clearest ways to make an iOS app more useful outside its own UI. Instead of treating your app as a sealed destination that only works after someone launches it and taps around, use Codex to expose the actions and objects that should be available to Shortcuts, Siri, Spotlight, widgets, controls, and newer assistant-driven system experiences.

That is useful today for discoverability and automation, and it is a strong preparation step for a more assistant-driven future. If your app already knows how to compose, open, filter, route, or summarize something valuable, App Intents give the system a structured way to ask for that capability.

Start with actions and entities, not with every screen

The best first App Intents pass is usually not “mirror the whole app.” Ask Codex to identify:

  • the few actions a user would want to trigger without navigating the full interface
  • the app objects the system needs to understand to route those actions correctly
  • the workflows that should open the app in a specific state versus the ones that should complete directly from a system surface

Apple’s App Intents guidance is a good frame here: define the action, define the entity surface the system needs, then make those actions discoverable and reusable across system experiences. The most useful references are Making actions and content discoverable and widely available, Creating your first app intent, and the system-experience sample Adopting App Intents to support system experiences.

Think in system surfaces, not just in shortcuts

The opportunity is broader than “add one shortcut.” A good App Intents surface can make your app useful in several places:

  • Shortcuts, where users can run actions directly or compose them into larger automations
  • Siri, where the app can expose meaningful verbs and deep links instead of only opening generically
  • Spotlight, where app entities and app shortcuts become discoverable system entry points
  • widgets, Live Activities, controls, and other intent-driven UI surfaces
  • newer assistant-facing experiences, where structured actions and entities are much easier for the system to understand than arbitrary UI flows

Follow a real app pattern

This usually works best when the app adopts a structure like this:

  • a dedicated App Intents target instead of scattering intent types across unrelated app files
  • AppShortcutsProvider entries for high-value user actions like composing a post or opening the app on a specific tab
  • small AppEntity types for things the system needs to reason about, such as accounts, lists, and timeline filters
  • intent handling that routes back into the main app scene cleanly, so an invoked intent can open the right compose flow or switch the app to the right tab

That is the pattern I would ask Codex to follow for most apps: start with a small system-facing action layer, keep the entity surface narrow, and wire a predictable runtime handoff back into the app when the intent needs the main UI.

Ask Codex to design the first intent surface

The strongest prompt here is one that gives Codex your app’s core objects and top user actions, then asks it to choose the smallest useful first App Intents surface instead of blindly exposing everything.

Practical tips

Expose verbs users actually want outside the app

Good first intents are usually things like compose, open, find, filter, start, continue, or inspect. If an action is only useful after a long in-app setup flow, it may not belong in the first App Intents pass.

Keep entities smaller than your model layer

The system usually does not need your full persistence model. Ask Codex to define the smallest app entity surface that still gives Siri, Shortcuts, and Spotlight enough context to route and display the action correctly.

Treat this as assistant infrastructure, not only a shortcuts feature

Even if your first release only visibly improves Shortcuts or Siri, the deeper win is that your app starts speaking in structured actions and entities. That makes it easier to participate in future system and AI-driven entry points than an app whose capabilities are only encoded in taps and view hierarchies.

Tech stack

Need

Action exposure

Default options

App Intents

Why it's needed

App Intents are the system contract that lets your app’s actions show up in Shortcuts, Siri, Spotlight, widgets, controls, and newer assistant-facing surfaces.

Need

App data surface

Default options

AppEntity, EntityQuery, and display representations

Why it's needed

A small, well-shaped entity layer makes it possible for the system to understand your app’s objects without exposing your entire model layer.

Need

Discoverability layer

Default options

AppShortcutsProvider with clear phrases, titles, and symbols

Why it's needed

App Shortcuts make the first set of exposed actions easier to find and run without asking users to build everything from scratch.

Need

Validation loop

Default options

xcodebuild, simulator checks, and focused runtime routing verification

Why it's needed

The hard part is not just compiling the intents target, but proving that the app opens or routes to the right place when the system invokes an intent.

Related use cases