axiom-core-spotlight-ref

axiom-core-spotlight-ref is a skill for Claude Code, Codex from ComeOnOliver/skillshub. It costs 52 tokens per session (5,525 once invoked), scanned A, original, MIT.

A reference for making app content appear in Spotlight, Apple’s device-wide search, and for using NSUserActivity to support Siri suggestions and Handoff between devices.

In plain words
What is it for?
Use it to index documents, notes, orders, messages, and other app content; support Handoff; enable Siri predictions; and manage or debug indexed items.
Why use it?
It clarifies which Apple system to use for searchable content versus recently used activities. It also covers common choices for indexing, prediction, handoff, and diagnosing missing search results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to index documents, notes, orders, messages, and other app content; support Handoff; enable Siri predictions; and manage or debug indexed items.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/comeonoliver/skillshub/axiom-core-spotlight-ref
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 ComeOnOliver/skillshub --skill axiom-core-spotlight-ref
Clone the repo
git clone --depth 1 https://github.com/ComeOnOliver/skillshub

Made for: Claude Code, Codex.

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 axiom-core-spotlight-ref

README.md
[![agentmods](https://agentmods.dev/badge/skills/comeonoliver/skillshub/axiom-core-spotlight-ref/github.svg)](https://agentmods.dev/skills/comeonoliver/skillshub/axiom-core-spotlight-ref)
Your own site
<a href="https://agentmods.dev/skills/comeonoliver/skillshub/axiom-core-spotlight-ref"><img src="https://agentmods.dev/badge/skills/comeonoliver/skillshub/axiom-core-spotlight-ref/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 axiom-core-spotlight-ref

Your own site · 80×15
<a href="https://agentmods.dev/skills/comeonoliver/skillshub/axiom-core-spotlight-ref"><img src="https://agentmods.dev/badge/skills/comeonoliver/skillshub/axiom-core-spotlight-ref.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,525 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00052 $0.05525
Opus 5 $0.00026 $0.02763
Sonnet 5 $0.00010 $0.01105
Haiku 4.5 $0.00005 $0.00553

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

Security

Grade A, and why

axiom-core-spotlight-ref scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

if let item = try? await ItemService.shared.fetch(id: identifier) {
skills/CharlesWiltgen/Axiom/axiom-core-spotlight-ref/SKILL.md · 909 lines

How it starts

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

Core Spotlight & NSUserActivity Reference

Overview

Comprehensive guide to Core Spotlight framework and NSUserActivity for making app content discoverable in Spotlight search, enabling Siri predictions, and supporting Handoff. Core Spotlight directly indexes app content while NSUserActivity captures user engagement for prediction.

Key distinction Core Spotlight = indexing all app content; NSUserActivity = marking current user activity for prediction/handoff.


When to Use This Skill

Use this skill when:

  • Indexing app content (documents, notes, orders, messages) for Spotlight
  • Using NSUserActivity for Handoff or Siri predictions
  • Choosing between CSSearchableItem, IndexedEntity, and NSUserActivity
  • Implementing activity continuation from Spotlight results
  • Batch indexing for performance
  • Deleting indexed content
  • Debugging Spotlight search not finding app content
  • Integrating NSUserActivity with App Intents (appEntityIdentifier)

Do NOT use this skill for:

  • App Shortcuts implementation (use app-shortcuts-ref)
  • App Intents basics (use app-intents-ref)
  • Overall discoverability strategy (use app-discoverability)

  • app-intents-ref — App Intents framework including IndexedEntity
  • app-discoverability — Strategic guide for making apps discoverable
  • app-shortcuts-ref — App Shortcuts for instant availability

When to Use Each API

Use Case Approach Example
User viewing specific screen NSUserActivity User opened order details
Index all app content CSSearchableItem All 500 orders searchable
App Intents entity search IndexedEntity "Find orders where..."
Handoff between devices NSUserActivity Continue editing note on Mac
Background content indexing CSSearchableItem batch Index documents on launch

Apple guidance Use NSUserActivity for user-initiated activities (screens currently visible), not as a general indexing mechanism. For comprehensive content indexing, use Core Spotlight's CSSearchableItem.

Read the full file on GitHub · 909 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. 9d ago First seen · 909 lines · 52 tokens per session scan A 1ebcdb1584cd

Subscribe to this mod's changes

axiom-core-spotlight-ref is a skill published in the GitHub repository ComeOnOliver/skillshub (63 stars, last pushed 2mo ago), licensed MIT. It adds 52 tokens to every session and 5,525 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.