Token导航 LogoToken导航

Agent Skill · 研究检索

axiom-app-discoverability(Axiom 应用程序的可发现性)

axiom-app-discoverability 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

axiom-app-discoverability 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 23,619。

总安装 4,224周安装 176GitHub Stars 868下载 1,408核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:axiom-app-discoverability(Axiom 应用程序的可发现性)
来源仓库:https://github.com/charleswiltgen/axiom
仓库路径:skills/axiom-app-discoverability
安装命令:
npx skills add https://github.com/charleswiltgen/axiom --skill axiom-app-discoverability
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/charleswiltgen/axiom --skill axiom-app-discoverability

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

通过多 API 策略提升应用在 Spotlight 和 Siri 中的可发现性。依赖 App Intents、Core Spotlight 和 NSUserActivity 提供元数据。系统根据实际使用情况动态调整推荐优先级。

安装命令:npx skills add https://github.com/charleswiltgen/axiom --skill axiom-app-discoverability 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/axiom-app-discoverability

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/charleswiltgen/axiom --skill axiom-app-discove…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

axiom-app-discoverability 怎么安装?

在终端执行 npx skills add https://github.com/charleswiltgen/axiom --skill axiom-app-discoverability。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

axiom-app-discoverability 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

axiom-app-discoverability 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

axiom-app-discoverability 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

axiom-app-discoverability 用的人多吗?

公开数据是累计安装 4,224 次,近一周安装 176 次,下载 1,408 次,GitHub 868 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

axiom-app-discoverability 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
axiom-app-discoverability

Axiom 应用程序的可发现性 · 本页

4,224868需要联网MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

App Discoverability

Overview

Core principle Feed the system metadata across multiple APIs, let the system decide when to surface your app.

iOS surfaces apps in Spotlight, Siri suggestions, and system experiences based on metadata you provide through App Intents, App Shortcuts, Core Spotlight, and NSUserActivity. The system learns from actual usage and boosts frequently-used actions. No single API is sufficient—comprehensive discoverability requires a multi-API strategy.

Key insight iOS boosts shortcuts and activities that users actually invoke. If nobody uses an intent, the system hides it. Provide clear, action-oriented metadata and the system does the heavy lifting.


When to Use This Skill

Use this skill when:

  • Making your app appear in Spotlight search results
  • Enabling Siri to suggest your app in relevant contexts
  • Adding app actions to Action Button (iPhone/Apple Watch Ultra)
  • Making app content discoverable system-wide
  • Planning discoverability architecture before implementation
  • Troubleshooting "why isn't my app being suggested?"

Do NOT use this skill when:

  • You need detailed API reference (use app-intents-ref, axiom-app-shortcuts-ref, axiom-core-spotlight-ref)
  • You're implementing a specific API (use the reference skills)
  • You just want to add a single App Intent (use app-intents-ref)

The 6-Step Discoverability Strategy

This is a proven strategy from developers who've implemented discoverability across multiple production apps. Implementation time: One evening for minimal viable discoverability.

Step 1: Add App Intents

App Intents power Spotlight search, Siri requests, and Shortcut suggestions. Without AppIntents, your app will never surface meaningfully.

struct OrderCoffeeIntent: AppIntent {
    static var title: LocalizedStringResource = "Order Coffee"
    static var description = IntentDescription("Orders coffee for pickup")

    @Parameter(title: "Coffee Type")
    var coffeeType: CoffeeType

    @Parameter(title: "Size")
    var size: CoffeeSize

    func perform() async throws -> some IntentResult {
        try await CoffeeService.shared.order(type: coffeeType, size: size)
        return .result(dialog: "Your \(size) \(coffeeType) is ordered")
    }
}

Why this matters App Intents are the foundation. Everything else builds on them.

See: app-intents-ref for complete API reference


Step 2: Add App Shortcuts with Suggested Phrases

App Shortcuts make your intents instantly available after install. No configuration required.

struct CoffeeAppShortcuts: AppShortcutsProvider {
    @AppShortcutsBuilder
    static var appShortcuts: [AppShortcut] {
        AppShortcut(
            intent: OrderCoffeeIntent(),
            phrases: [
                "Order coffee in \(.applicationName)",
                "Get my usual coffee from \(.applicationName)"
            ],
            shortTitle: "Order Coffee",
            systemImageName: "cup.and.saucer.fill"
        )
    }

    static var shortcutTileColor: ShortcutTileColor = .tangerine
}

Why this matters Without App Shortcuts, users must manually configure shortcuts. With them, your actions appear immediately in Siri, Spotlight, Action Button, and Control Center.

Critical Use suggestedPhrase patterns—this increases the chance that the system proposes them in Spotlight action suggestions and Siri's carousel.

See: app-shortcuts-ref for phrase patterns and best practices


Step 3: Expose Searchable Content via Core Spotlight

Index content that matters. The system will surface items that match user queries.

import CoreSpotlight
import UniformTypeIdentifiers

func indexOrder(_ order: Order) {
    let attributes = CSSearchableItemAttributeSet(contentType: .item)
    attributes.title = order.coffeeName
    attributes.contentDescription = "Order from \(order.date.formatted())"
    attributes.keywords = ["coffee", "order", order.coffeeName]

    let item = CSSearchableItem(
        uniqueIdentifier: order.id.uuidString,
        domainIdentifier: "orders",
        attributeSet: attributes
    )

    CSSearchableIndex.default().indexSearchableItems([item]) { error in
        if let error = error {
            print("Indexing error: \(error)")
        }
    }
}

Why this matters Core Spotlight makes your app's content searchable. When users search for "latte" in Spotlight, your app's orders appear.

Index only what matters Don't index everything. Focus on user-facing content (orders, documents, notes, etc.).

See: core-spotlight-ref for batching, deletion patterns, and best practices


Step 4: Use NSUserActivity for High-Value Screens

Mark important screens as eligible for search and prediction.

func viewOrder(_ order: Order) {
    let activity = NSUserActivity(activityType: "com.coffeeapp.viewOrder")
    activity.title = order.coffeeName
    activity.isEligibleForSearch = true
    activity.isEligibleForPrediction = true
    activity.persistentIdentifier = order.id.uuidString

    // Connect to App Intents
    activity.appEntityIdentifier = order.id.uuidString

    // Provide rich metadata
    let attributes = CSSearchableItemAttributeSet(contentType: .item)
    attributes.contentDescription = "Your \(order.coffeeName) order"
    attributes.thumbnailData = order.imageData
    activity.contentAttributeSet = attributes

    activity.becomeCurrent()

    // In your view controller or SwiftUI view
    self.userActivity = activity
}

Why this matters The system learns which screens users visit frequently and suggests them proactively. Lock screen widgets, Siri suggestions, and Spotlight all benefit.

Critical Only mark screens that users would want to return to. Not settings, not onboarding, not error states.

See: core-spotlight-ref for eligibility patterns and activity continuation


Step 5: Provide Correct Intent Metadata

Clear descriptions and titles are critical because Spotlight displays them directly.

❌ DON'T: Generic or unclear
static var title: LocalizedStringResource = "Do Thing"
static var description = IntentDescription("Performs action")
✅ DO: Specific, action-oriented
static var title: LocalizedStringResource = "Order Coffee"
static var description = IntentDescription("Orders coffee for pickup")

Parameter summaries must be natural language:

static var parameterSummary: some ParameterSummary {
    Summary("Order \(\.$size) \(\.$coffeeType)")
}
// Siri: "Order large latte"

Why this matters Poor metadata means users won't understand what your intent does. Clear metadata = higher usage = system boosts it.


Step 6: Usage-Based Boosting

The system boosts shortcuts and activities that users actually invoke. If nobody uses an intent, the system hides it.

This is automatic—you don't control it. What you control:

  1. Discoverability — Make it easy to find (Steps 1-5)
  2. Utility — Make it worth using (design good intents)
  3. Promotion — Show users available shortcuts (SiriTipView)
// Promote your shortcuts in-app
SiriTipView(intent: OrderCoffeeIntent(), isVisible: $showTip)
    .siriTipViewStyle(.dark)

Why this matters Even perfect metadata won't help if users don't know shortcuts exist. Educate users in your app's UI.

See: app-shortcuts-ref for SiriTipView and ShortcutsLink patterns


Decision Tree: Which API for Which Use Case

┌─ Need to expose app functionality? ────────────────────────────────┐
│                                                                      │
│  ┌─ YES → App Intents (AppIntent protocol)                         │
│  │        └─ Want instant availability without user setup?         │
│  │           └─ YES → App Shortcuts (AppShortcutsProvider)         │
│  │                                                                  │
│  └─ NO → Exposing app CONTENT (not actions)?                       │
│           │                                                         │
│           ├─ User-initiated activity (viewing screen)?             │
│           │  └─ YES → NSUserActivity with isEligibleForSearch      │
│           │                                                         │
│           └─ Indexing all content (documents, orders, notes)?      │
│              └─ YES → Core Spotlight (CSSearchableItem)            │
│                                                                     │
│  ┌─ Already using App Intents?                                     │
│  │  └─ Want automatic Spotlight search for entities?               │
│  │     └─ YES → IndexedEntity protocol                             │
│  │                                                                  │
│  └─ Want to connect screen to App Intent entity?                   │
│     └─ YES → NSUserActivity.appEntityIdentifier                    │
└──────────────────────────────────────────────────────────────────┘

Quick Reference Table

Use CaseAPIExample
Expose action to Siri/ShortcutsAppIntent"Order coffee"
Make action available instantlyAppShortcutAppear in Spotlight immediately
Index all app contentCSSearchableItemAll coffee orders searchable
Mark current screen importantNSUserActivityUser viewing order detail
Auto-generate Find actionsIndexedEntity"Find orders where..."
Link screen to App IntentappEntityIdentifierDeep link to specific order

Quick Implementation Pattern ("One Evening" Approach)

For minimal viable discoverability:

1. Define 1-3 Core App Intents (30 minutes)

// Your app's most valuable actions
struct OrderCoffeeIntent: AppIntent { /* ... */ }
struct ReorderLastIntent: AppIntent { /* ... */ }
struct ViewOrdersIntent: AppIntent { /* ... */ }

2. Create AppShortcutsProvider (15 minutes)

struct CoffeeAppShortcuts: AppShortcutsProvider {
    @AppShortcutsBuilder
    static var appShortcuts: [AppShortcut] {
        AppShortcut(
            intent: OrderCoffeeIntent(),
            phrases: ["Order coffee in \(.applicationName)"],
            shortTitle: "Order",
            systemImageName: "cup.and.saucer.fill"
        )
        // Add 2-3 more shortcuts
    }
}

3. Index Top-Level Content (30 minutes)

// Index most recent/important content only
func indexRecentOrders() {
    let recentOrders = try await OrderService.shared.recent(limit: 20)
    let items = recentOrders.map { createSearchableItem(from: $0) }
    CSSearchableIndex.default().indexSearchableItems(items)
}

4. Add NSUserActivity to Detail Screens (30 minutes)

// In your detail view controllers/views
let activity = NSUserActivity(activityType: "com.app.viewOrder")
activity.isEligibleForSearch = true
activity.becomeCurrent()
self.userActivity = activity

5. Test in Spotlight and Shortcuts (15 minutes)

  • Open Shortcuts app → Search for your app → Verify shortcuts appear
  • Search Spotlight → Search for your content → Verify results
  • Invoke Siri → "Order coffee in [YourApp]" → Verify works

Total time: ~2 hours for basic discoverability


Batch Indexing for Large Content Libraries

When indexing 1,000+ items, index in batches to avoid launch slowdowns:

func indexAllContent() async {
    let allItems = try await ContentService.shared.all()
    let batchSize = 100

    for batch in stride(from: 0, to: allItems.count, by: batchSize) {
        let slice = Array(allItems[batch..<min(batch + batchSize, allItems.count)])
        let searchableItems = slice.map { createSearchableItem(from: $0) }

        CSSearchableIndex.default().indexSearchableItems(searchableItems) { error in
            if let error { print("Batch index error: \(error)") }
        }

        // Yield between batches to avoid blocking
        try? await Task.sleep(for: .milliseconds(50))
    }
}

Best practices:

  • Index in batches of 100 during background processing, not at launch
  • Use domainIdentifier to group content for efficient bulk deletion
  • Re-index incrementally when content changes (don't re-index everything)
  • For 50,000+ items, use CSSearchableIndex.beginBatch() / endBatch() for atomic updates

Spotlight Debugging

When indexed content doesn't appear in Spotlight:

Verification Checklist

  1. Check indexing succeeded — Add completion handler logging to indexSearchableItems
  2. Wait for processing — Spotlight may take 10-30 seconds to process new items
  3. Search by exact title — Spotlight may not match partial keywords initially
  4. Check contentType — Use .item for general content; wrong type may affect ranking

Common Indexing Mistakes

ProblemCauseFix
Content not appearingMissing title attributeAlways set attributeSet.title
Low rankingNo keywordsAdd relevant keywords array
Stale resultsNot deleting removed itemsCall deleteSearchableItems(withIdentifiers:)
Duplicate resultsUnstable unique identifiersUse persistent IDs (UUID, database primary key)
Quota exceededIndexing too many itemsLimit to user-relevant content (recent, favorited)

Testing Spotlight Indexing

// Verify items are indexed
CSSearchableIndex.default().fetchLastClientState { state, error in
    print("Last client state: \(String(describing: state))")
}

// Search programmatically to verify
let query = CSSearchQuery(queryString: "title == 'My Item'*", attributes: ["title"])
query.foundItemsHandler = { items in
    print("Found \(items.count) items")
}
query.start()

Anti-Patterns (What NOT to Do)

❌ ANTI-PATTERN 1: Implementing just App Intents without App Shortcuts

Problem Users must manually configure shortcuts. Your app won't appear in Spotlight/Siri automatically.

Fix Always create AppShortcutsProvider with suggested phrases.


❌ ANTI-PATTERN 2: Indexing everything in Core Spotlight

Problem Indexing thousands of items causes poor performance and quota issues. Users get overwhelmed.

// ❌ BAD: Index all 10,000 orders
let allOrders = try await OrderService.shared.all()

Fix Index selectively—recent items, favorites, frequently accessed.

// ✅ GOOD: Index recent orders only
let recentOrders = try await OrderService.shared.recent(limit: 50)

❌ ANTI-PATTERN 3: Generic intent titles and descriptions

Problem Spotlight displays these directly. Generic text confuses users.

// ❌ BAD
static var title: LocalizedStringResource = "Action"
static var description = IntentDescription("Does something")

Fix Use specific, action-oriented language.

// ✅ GOOD
static var title: LocalizedStringResource = "Order Coffee"
static var description = IntentDescription("Orders your favorite coffee for pickup")

❌ ANTI-PATTERN 4: Not educating users about shortcuts

Problem Perfect implementation means nothing if users don't know it exists.

Fix Use SiriTipView to promote shortcuts in your app's UI.

// Show tip after user places order
SiriTipView(intent: ReorderLastIntent(), isVisible: $showTip)

❌ ANTI-PATTERN 5: Marking every screen as eligible for search

Problem System gets confused about what's important. Low-quality suggestions.

// ❌ BAD: Settings screen marked for prediction
activity.isEligibleForPrediction = true // Don't predict Settings!

Fix Only mark screens users would want to return to (content, not chrome).

// ✅ GOOD: Mark content screens only
if order != nil {
    activity.isEligibleForPrediction = true
}

❌ ANTI-PATTERN 6: Forgetting to connect NSUserActivity to App Intents

Problem NSUserActivity and App Intents remain siloed. Lost integration opportunities.

Fix Use appEntityIdentifier to connect them.

// ✅ GOOD: Connect activity to App Intent entity
activity.appEntityIdentifier = order.id.uuidString

Code Review Checklist

When reviewing discoverability implementation, verify:

App Intents:

  • Intents have clear, action-oriented titles
  • Descriptions explain what the intent does
  • Parameter summaries use natural language phrasing
  • isDiscoverable = true for public intents

App Shortcuts:

  • AppShortcutsProvider is implemented
  • Suggested phrases include \(.applicationName)
  • Phrases are short and action-oriented
  • ShortcutTileColor matches app branding
  • 3-5 core shortcuts defined (not too many)

Core Spotlight:

  • Only valuable content is indexed (not everything)
  • Unique identifiers are stable and persistent
  • Domain identifiers group related content
  • Attributes include title, description, keywords
  • Deletion logic exists (when content removed)

NSUserActivity:

  • Only high-value screens marked eligible
  • becomeCurrent() called when screen appears
  • resignCurrent() called when screen disappears
  • appEntityIdentifier connects to App Intent entities
  • contentAttributeSet provides rich metadata

User Education:

  • SiriTipView used to promote shortcuts
  • ShortcutsLink available in settings/help
  • Onboarding mentions Siri/Spotlight support

Testing:

  • Shortcuts appear in Shortcuts app
  • Siri recognizes suggested phrases
  • Spotlight returns app content
  • Activity continuation works (tap Spotlight result)

Related Skills

  • app-intents-ref — Complete App Intents API reference
  • app-shortcuts-ref — App Shortcuts implementation guide
  • core-spotlight-ref — Core Spotlight and NSUserActivity reference

Resources

WWDC: 260, 275, 2022-10170

Docs: /appintents/making-your-app-s-functionality-available-to-siri, /corespotlight

Skills: axiom-app-intents-ref, axiom-app-shortcuts-ref, axiom-core-spotlight-ref


Remember Discoverability isn't one API—it's a strategy. Feed the system metadata across App Intents, App Shortcuts, Core Spotlight, and NSUserActivity. Let iOS decide when to surface your app based on context and user behavior.

平台分布

Claude Code

30.04%
按下载量换算423

Codex

21.11%
按下载量换算297

OpenCode

16.18%
按下载量换算228

Antigravity

11.6%
按下载量换算163

Cursor

7.89%
按下载量换算111

Gemini CLI

3.12%
按下载量换算44

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills