capacitor-app-intents

capacitor-app-intents is a skill for Claude Code from Cap-go/capgo-skills. It costs 243 tokens per session (2,767 once invoked), scanned A, original, MIT.

A guide for exposing Capacitor app features to Apple's Siri, Shortcuts, Spotlight, Action button, Apple Intelligence, widgets, and controls through App Intents.

In plain words
What is it for?
It is for adding native App Intents and routing their actions to the Capacitor web layer through Universal Links or app-open events.
Why use it?
It explains how to connect those system features to a web-based Capacitor app or a local native plugin, including opening the app from links.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the capacitor-features plugin — 6 skills shipped together

Good fit It is for adding native App Intents and routing their actions to the Capacitor web layer through Universal Links or app-open events.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cap-go/capgo-skills/capacitor-app-intents
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 Cap-go/capgo-skills --skill capacitor-app-intents
Clone the repo
git clone --depth 1 https://github.com/Cap-go/capgo-skills

Made for: Claude Code.

Or install capacitor-features, the plugin that ships this one along with the rest of its 6 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 capacitor-app-intents

README.md
[![agentmods](https://agentmods.dev/badge/skills/cap-go/capgo-skills/capacitor-app-intents/github.svg)](https://agentmods.dev/skills/cap-go/capgo-skills/capacitor-app-intents)
Your own site
<a href="https://agentmods.dev/skills/cap-go/capgo-skills/capacitor-app-intents"><img src="https://agentmods.dev/badge/skills/cap-go/capgo-skills/capacitor-app-intents/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 capacitor-app-intents

Your own site · 80×15
<a href="https://agentmods.dev/skills/cap-go/capgo-skills/capacitor-app-intents"><img src="https://agentmods.dev/badge/skills/cap-go/capgo-skills/capacitor-app-intents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 243 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,767 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.
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.00243 $0.02767
Opus 5.5 $0.00097 $0.01107
Sonnet 5.5 $0.00049 $0.00553
Haiku 4.5 $0.00024 $0.00277

Measured 19d ago against content hash 00582ccc5ead, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

capacitor-app-intents 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 19d 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.

plugins/capacitor-features/skills/capacitor-app-intents/SKILL.md · 120 lines

How it starts

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

App Intents for Capacitor Apps

Add native App Intents to the iOS project so system surfaces can run app actions, and connect them to the web layer. App Intents are Swift only. There is no JavaScript API for them, so every intent is native code in the App target or an extension, and the web layer is reached through a URL or a small local plugin.

When to Use

TRIGGER when:

  • The user wants Siri phrases, Shortcuts actions, App Shortcuts, Spotlight actions, Action button or Apple Intelligence integration for a Capacitor app
  • The user wants a widget button or a Control Center control to run an app action
  • An intent opens the app, but the web view does not navigate, or it navigates only on warm launch
  • A background intent crashes, times out, or tries to call JS
  • Migrating openAppWhenRun to supportedModes, or adopting iOS 26/27 App Intents APIs
  • A plugin author wants to ship App Intents with a plugin

Do not use:

  • JavaScript dispatch for Siri, Shortcuts, Spotlight, or Home Screen quick actions via @capgo/capacitor-app-intents: use capacitor-plugins (capgo-plugin-index.md, package @capgo/capacitor-app-intents). This skill is for native Swift App Intents (app target, extensions, or plugin native code), not that plugin API.
  • Universal Links / custom scheme / appUrlOpen setup: capacitor-deep-linking
  • AppDelegate to SceneDelegate migration: capacitor-uiscene-migration
  • Push notification actions: capacitor-push-notifications
  • Live Activities or SVG widgets driven from JS: capacitor-plugins (@capgo/capacitor-widget-kit)
  • Android app shortcuts and intents: not covered here

Facts that drive the design

  • App Intents need iOS 16. Capacitor 8 deploys to iOS 15, so every intent type, entity, query and AppShortcutsProvider needs @available(iOS 16.0, *), or the user raises the deployment target. Capacitor 9 deploys to iOS 16, so the base API needs no gating. Newer APIs still do (tables in references/ios-26-27-apis.md).
  • A background intent has no WebView. iOS can launch the app process headless for .background intents. AppDelegate.application(_:didFinishLaunchingWithOptions:) runs, but no scene connects and CAPBridgeViewController never loads. Background intents must do native work only (network, storage, HealthKit, etc.). They cannot call JS or plugins through the bridge.
  • perform() is not on the main actor, and it can run more than once. Hop explicitly (await MainActor.run or @MainActor func perform()) before you touch UIKit, the bridge or @MainActor state. Do irreversible work last. Details: references/intent-traps.md.
  • With UIScene (Capacitor 8.5+) URL delivery moved. Universal Links and custom-scheme opens reach SceneDelegate and are forwarded by SceneDelegateProxy, which posts the notifications @capacitor/app listens to. If the app still has custom URL code in AppDelegate, it no longer runs. Check capacitor-deep-linking first if appUrlOpen does not fire for a normal link. An intent cannot fix a broken link pipeline.
  • On cold launch the JS listener does not exist yet. Any route an intent hands to the web layer must survive until JS asks for it: use App.getLaunchUrl() for URLs, or a pending-route store plus notifyListeners(..., retainUntilConsumed: true) for the local-plugin path.
  • Identifiers are a public contract. Intent type names, AppEntity.id values, AppEnum raw values, URL formats and shipped phrases are stored in users' saved shortcuts. Add new ones; do not rename or remove shipped ones without telling the user.

Read the full file on GitHub · 120 lines

Files

What ships with it

6 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. 19d ago Changed · +1 lines 00582ccc5ead
  2. 1mo ago First seen · 119 lines · 243 tokens per session scan A 065f75ce9e59

Subscribe to this mod's changes

capacitor-app-intents is a skill published in the GitHub repository Cap-go/capgo-skills (79 stars, last pushed 19d ago), licensed MIT. It adds 243 tokens to every session and 2,767 once invoked, about $0.0010 per session on Opus 5.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-10-11.

Related

capacitor-app-intents compared with skills from other repositories

capacitor-app-intents next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
capacitor-app-intentsCap-go/capgo-skillsSkill7919d agoMITA243Claude Code
loom-dartcosmix/loomSkill66yesterdayMITA16Claude Code, Codex
deploy-edge-ai-modelpjt222/agent-almanacSkill46yesterdayMITA108Claude Code
capacitor-pluginscapawesome-team/skillsSkill5612d agoMITA101Claude Code, Codex
ionic-appflow-migrationcapawesome-team/skillsSkill5612d agoMITA196Claude Code, Codex
capacitor-expertcapawesome-team/skillsSkill5612d agoMITA76Claude Code, Codex
capgo-cloud-migrationcapawesome-team/skillsSkill5612d agoMITA160Claude Code, Codex