Boutique is a Swift persistence library that stores app state through property wrappers and a memory-and-disk caching layer. It helps developers build state-driven SwiftUI, UIKit, and AppKit apps with offline storage. The catalogue add-ons provide coding-agent workflows for using or developing with Boutique.
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 mergesort/Boutique --skill boutique-swiftuigit clone --depth 1 https://github.com/mergesort/BoutiqueWrote 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/mergesort/boutique/boutique-swiftui)<a href="https://agentmods.dev/skills/mergesort/boutique/boutique-swiftui"><img src="https://agentmods.dev/badge/skills/mergesort/boutique/boutique-swiftui/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/mergesort/boutique/boutique-swiftui"><img src="https://agentmods.dev/badge/skills/mergesort/boutique/boutique-swiftui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00045 | $0.01588 |
| Opus 5 | $0.00023 | $0.00794 |
| Sonnet 5 | $0.00009 | $0.00318 |
| Haiku 4.5 | $0.00005 | $0.00159 |
Grade A, and why
boutique-swiftui 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 261 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Boutique SwiftUI Integration
Use this skill when building SwiftUI views that display or react to data from Boutique's Store, @StoredValue, or @SecurelyStoredValue.
Displaying Store Items in a View
Inject an @Observable controller as @State and access items directly.
struct NotesListView: View {
@State var notesController: NotesController
var body: some View {
List(self.notesController.notes) { note in
Text(note.text)
}
}
}
Reacting to Store Changes with onChange
Use .onChange(of:initial:) to run code whenever the stored items change. The initial: true parameter ensures the closure also fires on first appearance.
struct NotesListView: View {
@State var notesController: NotesController
@State private var filteredNotes: [Note] = []
var body: some View {
List(self.filteredNotes) { note in
Text(note.text)
}
.onChange(of: self.notesController.notes, initial: true) { _, newValue in
self.filteredNotes = newValue.filter({ $0.text.count < 280 })
}
}
}
Waiting for Store to Load with onStoreDidLoad
When a Store is initialized synchronously, items load in a background task. Use onStoreDidLoad to show loading states or trigger actions once items are ready.
Callback-based
struct NotesView: View {
@State var notesController: NotesController
@State private var isLoaded = false
var body: some View {
Group {
if self.isLoaded {
NotesList(notes: self.notesController.notes)
} else {
ProgressView()
}
}
.onStoreDidLoad(self.notesController.$notes, onLoad: {
self.isLoaded = true
}, onError: { error in
print("Failed to load notes:", error)
})
}
}
Binding-based
struct NotesView: View {
@State var notesController: NotesController
@State private var hasLoaded = false
var body: some View {
Group {
if self.hasLoaded {
NotesList(notes: self.notesController.notes)
} else {
ProgressView()
}
}
.onStoreDidLoad(self.notesController.$notes, update: self.$hasLoaded)
}
}
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.
- 11d ago First seen · 261 lines · 45 tokens per session scan A b7994d688908
boutique-swiftui is a skill published in the GitHub repository mergesort/Boutique (1,133 stars, last pushed 1mo ago), licensed MIT. It adds 45 tokens to every session and 1,588 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-30.
Other skills, from other repositories
swift-expert
Expert-level Swift development for iOS, macOS with SwiftUI, Combine, and modern Swift 5.9+. Use when the user mentions iOS, macOS, SwiftUI, Combine, async await, or Apple platforms, or when the task involves Modern Swift Features, Basics and Optionals, Functions and Closures, or Structs and Classes.
swift-focusengine-pro
Reviews, writes, and fixes focus management code for all Apple platforms (tvOS, iOS/iPadOS, watchOS, visionOS, macOS), covering SwiftUI, UIKit, AppKit, and RealityKit. Use when reading, writing, or reviewing apps that handle focus, hover, key view loops, or Digital Crown navigation.
apple-design
Complete Apple Human Interface Guidelines (HIG) and Apple Design System standard. Use when designing, building, or auditing UI/UX for iOS, iPadOS, macOS, watchOS, visionOS, or Apple-styled web and mobile applications.
storescreens
Set up and run storescreens-cli to automate App Store screenshot capture for iOS apps: render captioned/framed App Store-ready screenshots with device bezels, markdown captions, and panoramic backgrounds; upload screenshots + per-locale metadata (name, subtitle, description, keywords, what's new, promotional text) to…
Apple Shortcuts Integration
Create and trigger Apple Shortcuts for iOS/macOS automation and cross-platform workflows.
Swift Patterns
Use this skill when working on Swift projects (SwiftPM packages, iOS/macOS apps) and you want consistent patterns for concurrency, structure, and safety.