ios-intents-architect

ios-intents-architect is a skill for Claude Code, Codex from Xopoko/build-swift-apps. It costs 43 tokens per session (590 once invoked), scanned A, original, MIT.

A guide for adding App Intents to iOS apps so the system can understand selected actions and app objects. These actions can connect an app with Siri, Spotlight, widgets, controls, Shortcuts, and handoff routes.

In plain words
What is it for?
Use it to design and implement actions, searchable app entities, queries, shortcuts, widgets, controls, and routes back into the correct app state.
Why use it?
It helps users reach useful app actions from outside the app without exposing every screen or requiring unclear navigation.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the build-swift-apps plugin — 61 skills, 3 commands, 3 MCP servers shipped together

Good fit Use it to design and implement actions, searchable app entities, queries, shortcuts, widgets, controls, and routes back into the correct app state.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xopoko/build-swift-apps/ios-intents-architect
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.

Any agent
npx skills add Xopoko/build-swift-apps --skill ios-intents-architect
Clone the repo
git clone --depth 1 https://github.com/Xopoko/build-swift-apps

Made for: Claude Code, Codex.

Or install build-swift-apps, the plugin that ships this one along with the rest of its 61 skills, 3 commands, 3 MCP servers.

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 ios-intents-architect

README.md
[![agentmods](https://agentmods.dev/badge/skills/xopoko/build-swift-apps/ios-intents-architect/github.svg)](https://agentmods.dev/skills/xopoko/build-swift-apps/ios-intents-architect)
Your own site
<a href="https://agentmods.dev/skills/xopoko/build-swift-apps/ios-intents-architect"><img src="https://agentmods.dev/badge/skills/xopoko/build-swift-apps/ios-intents-architect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ios-intents-architect

Your own site · 80×15
<a href="https://agentmods.dev/skills/xopoko/build-swift-apps/ios-intents-architect"><img src="https://agentmods.dev/badge/skills/xopoko/build-swift-apps/ios-intents-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 590 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00043 $0.00590
Opus 5 $0.00022 $0.00295
Sonnet 5 $0.00009 $0.00118
Haiku 4.5 $0.00004 $0.00059

Measured 12d ago against content hash 40e363a215b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ios-intents-architect 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 12d 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/ios-intents-architect/SKILL.md · 54 lines

How it starts

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

iOS Intents Architect

Expose the smallest useful action and entity surface to the system. Start with verbs and objects users need outside the app, then route cleanly back into the app when needed.

Workflow

  1. Choose 1-3 high-value actions. Prefer verbs like compose, open, find, filter, continue, inspect, or start. Do not mirror the app navigation tree.
  2. Add only the AppEntity types the system must understand. Keep them narrower than persistence models. Add EntityQuery when suggestions or disambiguation are useful.
  3. Decide execution mode:
    • direct system-surface action for work that can finish inline
    • openAppWhenRun or open-style intent when the user should land in an app workflow
    • one predictable handoff route in the scene/root router when the app must react
    • separate inline and open-app intents when one compromise would be unclear
  4. Add AppShortcutsProvider for the first useful set. Keep titles, phrases, and symbols direct and task-oriented.
  5. Reuse the same action/entity surface for widgets and controls when their parameters match.
  6. Build and verify that intents compile, open or execute correctly, and route to the expected state.

Defaults

  • Prefer a dedicated intents target or module.
  • Keep intent types thin; business logic stays in app services or domain models.
  • Use AppEnum for fixed choices such as tabs, modes, or visibility before creating entities.
  • Treat App Intents as system integration infrastructure, not only a Shortcuts feature.

Avoid

  • one intent per screen or tab without real user value
  • mirroring the full model graph as entities
  • global side-effect handoff with no clear app entry path
  • vague shortcut phrases or generic titles
  • broad taxonomy work in the first pass

Resources

Read only what is needed:

  • references/first-pass-checklist.md: choose the first intent/entity surface.
  • references/example-patterns.md: copyable patterns.
  • references/code-templates.md: generalized code templates.
  • references/system-surfaces.md: Shortcuts, Siri, Spotlight, widgets, and controls.

Read the full file on GitHub · 54 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 54 lines · 43 tokens per session scan A 40e363a215b4

Subscribe to this mod's changes

ios-intents-architect is a skill published in the GitHub repository Xopoko/build-swift-apps (45 stars, last pushed 15d ago), licensed MIT. It adds 43 tokens to every session and 590 once invoked, about $0.0002 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