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.
npx skills add ComeOnOliver/skillshub --skill axiom-swiftdatagit clone --depth 1 https://github.com/ComeOnOliver/skillshubWrote 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.
[](https://agentmods.dev/skills/comeonoliver/skillshub/axiom-swiftdata)<a href="https://agentmods.dev/skills/comeonoliver/skillshub/axiom-swiftdata"><img src="https://agentmods.dev/badge/skills/comeonoliver/skillshub/axiom-swiftdata/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.
<a href="https://agentmods.dev/skills/comeonoliver/skillshub/axiom-swiftdata"><img src="https://agentmods.dev/badge/skills/comeonoliver/skillshub/axiom-swiftdata.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00056 | $0.07194 |
| Opus 5.5 | $0.00022 | $0.02878 |
| Sonnet 5.5 | $0.00011 | $0.01439 |
| Haiku 4.5 | $0.00006 | $0.00719 |
Grade A, and why
axiom-swiftdata 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 2mo 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.
let rockTracks = try modelContext.fetch(descriptor) How it starts
The opening of the file, as written. The whole thing — 1,111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SwiftData
Overview
Apple's native persistence framework using @Model classes and declarative queries. Built on Core Data, designed for SwiftUI.
Core principle Reference types (class) + @Model macro + declarative @Query for reactive SwiftUI integration.
Requires iOS 17+, Swift 5.9+ Target iOS 26+ (this skill focuses on latest features) License Proprietary (Apple)
When to Use SwiftData
Choose SwiftData when you need
- ✅ Native Apple integration with SwiftUI
- ✅ Simple CRUD operations
- ✅ Automatic UI updates with
@Query - ✅ CloudKit sync (iOS 17+)
- ✅ Reference types (classes) with relationships
Use SQLiteData instead when
- Need value types (structs)
- CloudKit record sharing (not just sync)
- Large datasets (50k+ records) with specific performance needs
Use GRDB when
- Complex raw SQL required
- Fine-grained migration control needed
For migrations See the axiom-swiftdata-migration skill for custom schema migrations with VersionedSchema and SchemaMigrationPlan. For migration debugging, see axiom-swiftdata-migration-diag.
Example Prompts
These are real questions developers ask that this skill is designed to answer:
Basic Operations
1. "I have a notes app with folders. I need to filter notes by folder and sort by last modified. How do I set up the @Query?"
→ The skill shows how to use @Query with predicates, sorting, and automatic view updates
2. "When a user deletes a task list, all tasks should auto-delete too. How do I set up the relationship?"
→ The skill explains @Relationship with deleteRule: .cascade and inverse relationships
3. "I have a relationship between User → Messages → Attachments. How do I prevent orphaned data when deleting?"
→ The skill shows cascading deletes, inverse relationships, and safe deletion patterns
CloudKit & Sync
4. "My chat app syncs messages to other devices via CloudKit. Sometimes messages conflict. How do I handle sync conflicts?"
→ The skill covers CloudKit integration, conflict resolution strategies (last-write-wins, custom resolution), and sync patterns
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.
- 2mo ago First seen · 1,111 lines · 56 tokens per session scan A b56a88e88b82
axiom-swiftdata is a skill published in the GitHub repository ComeOnOliver/skillshub (67 stars, last pushed 5mo ago), licensed MIT. It adds 56 tokens to every session and 7,194 once invoked, about $0.0002 per session on Opus 5.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.
axiom-swiftdata compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| axiom-swiftdataComeOnOliver/skillshub | Skill | 67 | 5mo ago | MIT | A | 56 | Claude Code, Codex |
| swift-actor-persistenceaffaan-m/ECC | Skill | 314k | yesterday | MIT | A | 29 | Claude Code, Kiro |
| firebase-databaseevanca/flutter-ai-rules | Skill | 677 | 19d ago | MIT | A | 38 | Claude Code |
| react-native-nitro-sqlitemargelo/react-native-skills | Skill | 185 | yesterday | none | A | 66 | Claude Code, Codex |
| stale-sweepgoogleapis/mcp-toolbox | Skill | 17k | today | Apache-2.0 | A | 159 | Claude Code, Codex |
| triage-issuesgoogleapis/mcp-toolbox | Skill | 17k | today | Apache-2.0 | A | 164 | Claude Code, Codex |
| docsite-link-sweepgoogleapis/mcp-toolbox | Skill | 17k | today | Apache-2.0 | A | 148 | Claude Code, Codex |