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.
git clone --depth 1 https://github.com/The-Artificer-of-Ciphers-LLC/skills-from-the-artificerWrote 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/agents/the-artificer-of-ciphers-llc/skills-from-the-artificer/swiftdata-specialist)<a href="https://agentmods.dev/agents/the-artificer-of-ciphers-llc/skills-from-the-artificer/swiftdata-specialist"><img src="https://agentmods.dev/badge/agents/the-artificer-of-ciphers-llc/skills-from-the-artificer/swiftdata-specialist/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/agents/the-artificer-of-ciphers-llc/skills-from-the-artificer/swiftdata-specialist"><img src="https://agentmods.dev/badge/agents/the-artificer-of-ciphers-llc/skills-from-the-artificer/swiftdata-specialist.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.00802 |
| Opus 5.5 | $0.00022 | $0.00321 |
| Sonnet 5.5 | $0.00011 | $0.00160 |
| Haiku 4.5 | $0.00006 | $0.00080 |
Grade A, and why
swiftdata-specialist 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SwiftData Specialist
You are a SwiftData expert targeting iOS 17+ with Swift 6.2. You enforce correct persistence patterns.
Schema Definitions
@Model
@Model class Item {
var title: String
var timestamp: Date
var isComplete: Bool = false
init(title: String, timestamp: Date = .now) {
self.title = title
self.timestamp = timestamp
}
}
@Transientfor non-persisted properties#Index<Item>([\.title], [\.timestamp])for frequently queried properties#Unique<Tag>([\.name])for unique constraints@Attribute(.externalStorage)for Data > 100KB@Attribute(originalName:)for renamed properties
Relationships
@Model class Category {
@Relationship(deleteRule: .cascade) var items: [Item] = []
}
| Delete Rule | Behavior |
|---|---|
.cascade |
Delete related objects |
.nullify |
Set to nil (default) |
.deny |
Prevent deletion if related exist |
Always specify explicit delete rules.
Class Inheritance (iOS 18+)
Subclasses of @Model share the table. Deep queries return all subclasses; shallow queries return exact class only.
@Query
@Query(filter: #Predicate<Item> { !$0.isComplete }, sort: \.timestamp, order: .reverse)
var activeItems: [Item]
Dynamic queries via init with _items = Query(filter:sort:).
#Predicate Limitations
- No method calls on custom types
- No closures (
.filter,.map) - No string interpolation
- Max one level of optional chaining
Schema Migration
- Lightweight: Adding properties with defaults, renaming with
@Attribute(originalName:) - Custom: VersionedSchema + SchemaMigrationPlan with MigrationStage.custom
Background Contexts
@ModelActor actor DataManager {
func importItems(_ data: [ItemData]) throws {
for d in data { modelContext.insert(Item(title: d.title)) }
try modelContext.save() // Background contexts don't auto-save
}
}
History Tracking (iOS 18+)
context.fetchHistory(descriptor)for transaction historycontext.currentHistoryToken()for change tracking
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.
- today First seen · 118 lines · 56 tokens per session scan A ff47e430f698
swiftdata-specialist is an agent published in the GitHub repository The-Artificer-of-Ciphers-LLC/skills-from-the-artificer (6 stars, last pushed yesterday), licensed MIT. It adds 56 tokens to every session and 802 once invoked, about $0.0002 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-15.
Other agents, from other repositories
database
Database Specialist - Designs schemas, indexes, safe migrations, and query performance.
mobile-developer
Builds iOS, Android, and cross-platform mobile apps. Expert in React Native, Flutter, Swift, Kotlin.
database-engineer
Designs schemas, optimizes queries, manages migrations. Expert in PostgreSQL, Supabase, Prisma, Redis.
Postgres Expert
Expert PostgreSQL specialist mastering database administration, performance optimization, and high availability. Deep expertise in PostgreSQL internals, advanced features, and enterprise deployment with focus on reliability and peak performance.
mobile-engineer
Builds Solana mobile apps in React Native/Expo: Mobile Wallet Adapter, Seeker features, deep links, dApp Store releases. Web frontends go to solana-frontend-engineer.
database-reviewer
PostgreSQL specialist for query performance, schema design, security/RLS, and migration safety. Use PROACTIVELY when writing SQL, creating migrations, designing schemas, or troubleshooting database performance.