app-intents-pro

app-intents-pro is a skill for Claude Code from laxrajpurohit/swift-skills-pro. It costs 37 tokens per session (840 once invoked), scanned A, original, MIT.

A guide to exposing app actions to Siri, Shortcuts, Spotlight, widgets, and controls. It uses App Intents, Apple’s way to describe actions, their inputs, and the results they return.

In plain words
What is it for?
Use it to add actions such as creating a task, define typed inputs and app objects, and provide ready-made Siri phrases through App Shortcuts.
Why use it?
It removes the need to design these system integrations from scratch and helps keep the integration separate from the app’s main business logic.

Skill for Claude Code

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

Part of the app-intents-pro plugin — 1 skill shipped together

Good fit Use it to add actions such as creating a task, define typed inputs and app objects, and provide ready-made Siri phrases through App Shortcuts.

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

Made for: Claude Code.

Or install app-intents-pro, the plugin that ships this one along with the rest of its 1 skill.

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 app-intents-pro

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/laxrajpurohit/swift-skills-pro/app-intents-pro"><img src="https://agentmods.dev/badge/skills/laxrajpurohit/swift-skills-pro/app-intents-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 840 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.00037 $0.00840
Opus 5 $0.00018 $0.00420
Sonnet 5 $0.00007 $0.00168
Haiku 4.5 $0.00004 $0.00084

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

Security

Grade A, and why

app-intents-pro 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.

app-intents-pro/skills/app-intents-pro/SKILL.md · 115 lines

How it starts

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

App Intents Pro

Expose app actions to the system: Siri, Shortcuts, Spotlight, widgets, and controls.

When to use

  • Adding AppIntents for app actions.
  • Modeling AppEntity types for parameters/results.
  • Registering AppShortcuts for zero-setup Siri phrases.

Trigger: /app-intents-pro.

Core principles

  • An intent is a small, single-purpose action with typed parameters.
  • Keep business logic in your model layer; the intent is a thin adapter.
  • Provide AppShortcuts so users get Siri phrases without manual setup.
  • Return useful results/snippets, not just success.

A basic intent

import AppIntents

struct AddTaskIntent: AppIntent {
    static let title: LocalizedStringResource = "Add Task"
    static let description = IntentDescription("Creates a new task.")

    @Parameter(title: "Title") var taskTitle: String

    func perform() async throws -> some IntentResult & ProvidesDialog {
        try await TaskStore.shared.add(title: taskTitle)
        return .result(dialog: "Added “\(taskTitle)”.")
    }
}
  • title/description are required and user-visible.
  • perform() is async throws — call your real model, don't duplicate logic.

Parameters

❌ Untyped, no prompt

@Parameter var value: String   // Siri can't elicit it well

@Parameter(title: "Due date") var dueDate: Date
@Parameter(title: "Priority") var priority: Priority   // an AppEnum

AppEnum for fixed choices:

enum Priority: String, AppEnum {
    case low, normal, high
    static let typeDisplayRepresentation: TypeDisplayRepresentation = "Priority"
    static let caseDisplayRepresentations: [Priority: DisplayRepresentation] =
        [.low: "Low", .normal: "Normal", .high: "High"]
}

AppEntity (model objects as parameters/results)

struct TaskEntity: AppEntity, Identifiable {
    let id: UUID
    let title: String
    static let typeDisplayRepresentation: TypeDisplayRepresentation = "Task"
    var displayRepresentation: DisplayRepresentation { .init(title: "\(title)") }
    static var defaultQuery = TaskQuery()
}

struct TaskQuery: EntityQuery {
    func entities(for ids: [UUID]) async throws -> [TaskEntity] { /* fetch */ }
    func suggestedEntities() async throws -> [TaskEntity] { /* recents */ }
}

Read the full file on GitHub · 115 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. 12d ago First seen · 115 lines · 37 tokens per session scan A be14d82355a7

Subscribe to this mod's changes

app-intents-pro is a skill published in the GitHub repository laxrajpurohit/swift-skills-pro (5 stars, last pushed 3mo ago), licensed MIT. It adds 37 tokens to every session and 840 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-31.

Related

Other skills, from other repositories