boutique-store

boutique-store is a skill for Claude Code from mergesort/Boutique. It costs 52 tokens per session (1,727 once invoked), scanned A, original, MIT.

A Swift data-storage tool for saving arrays of items on iOS and macOS. It supports data controllers, create/read/update/delete operations, chained operations, and detailed storage events.

In plain words
What is it for?
Use it to persist models such as notes or photos, connect stored data to observable Swift controllers, and monitor storage changes.
Why use it?
It handles the storage work needed to keep app data between launches instead of making you build that system yourself.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the boutique plugin — 4 skills shipped together

Good fit Use it to persist models such as notes or photos, connect stored data to observable Swift controllers, and monitor storage changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mergesort/boutique/boutique-store
About the project

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.

mergesort/Boutique · 1,133 stars · on GitHub · build.ms

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 mergesort/Boutique --skill boutique-store
Clone the repo
git clone --depth 1 https://github.com/mergesort/Boutique

Made for: Claude Code.

Or install boutique, the plugin that ships this one along with the rest of its 4 skills.

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 boutique-store

README.md
[![agentmods](https://agentmods.dev/badge/skills/mergesort/boutique/boutique-store/github.svg)](https://agentmods.dev/skills/mergesort/boutique/boutique-store)
Your own site
<a href="https://agentmods.dev/skills/mergesort/boutique/boutique-store"><img src="https://agentmods.dev/badge/skills/mergesort/boutique/boutique-store/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 boutique-store

Your own site · 80×15
<a href="https://agentmods.dev/skills/mergesort/boutique/boutique-store"><img src="https://agentmods.dev/badge/skills/mergesort/boutique/boutique-store.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 1,727 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.01727
Opus 5 $0.00026 $0.00864
Sonnet 5 $0.00010 $0.00345
Haiku 4.5 $0.00005 $0.00173

Measured 10d ago against content hash 4649d09d93b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

boutique-store 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 10d 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.

plugins/boutique/skills/boutique-store/SKILL.md · 283 lines

How it starts

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

Boutique Store

Use this skill when you need to persist arrays of items using Boutique's Store, build @Observable data controllers with @Stored, chain store operations, or monitor granular store events.

Prerequisites

  • Boutique added as a dependency via Swift Package Manager.
  • Models conform to Codable, Sendable, and Identifiable (recommended).
  • iOS 17+ / macOS 14+ deployment target.
  • Swift 6.2+ (Boutique uses @MainActor default isolation).

Item Requirements

All items stored in a Store must conform to StorableItem, which is a typealias for Codable & Sendable.

struct Note: Codable, Sendable, Identifiable {
    let id: String
    let text: String
    let createdAt: Date
}

Creating a Store

Shortest form (Identifiable with String ID)

When your item conforms to Identifiable with ID == String, the cacheIdentifier is inferred automatically.

let store = Store<Note>(
    storage: SQLiteStorageEngine.default(appendingPath: "Notes")
)

Identifiable with UUID ID

When ID == UUID, the store automatically converts to a string identifier.

struct Photo: Codable, Sendable, Identifiable {
    let id: UUID
    let url: URL
}

let store = Store<Photo>(
    storage: SQLiteStorageEngine.default(appendingPath: "Photos")
)

Custom cache identifier

For items that are not Identifiable or need a custom key, provide a KeyPath<Item, String>.

struct Bookmark: Codable, Sendable {
    let url: URL
    let title: String
}

let store = Store<Bookmark>(
    storage: SQLiteStorageEngine.default(appendingPath: "Bookmarks"),
    cacheIdentifier: \.url.absoluteString
)

Custom storage directory

let store = Store<Note>(
    storage: SQLiteStorageEngine(directory: .documents(appendingPath: "Notes"))!
)

Async initialization (items loaded before returning)

let store = try await Store<Note>(
    storage: SQLiteStorageEngine.default(appendingPath: "Notes")
)
// store.items is already populated here

Read the full file on GitHub · 283 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. 10d ago First seen · 283 lines · 52 tokens per session scan A 4649d09d93b7

Subscribe to this mod's changes

boutique-store is a skill published in the GitHub repository mergesort/Boutique (1,133 stars, last pushed 1mo ago), licensed MIT. It adds 52 tokens to every session and 1,727 once invoked, about $0.0003 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.

Related

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.

personamanagmentlayer/pcl · 76 tokens

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.

mhaviv/Swift-FocusEngine-Agent-Skill · 74 tokens

room-patterns

Room persistence for the Android target (androidx.room) - @Entity, @Dao, RoomDatabase, migrations, TypeConverters, and Flow-returning queries. Android-side database. For shared/multiplatform persistence in commonMain use sqldelight-patterns. For the broader Android data layer (Repository pattern, Room plus remote…

TalissonVitorino/kmp-ios-skills · 85 tokens

core-data

Core Data for iOS persistence. Data models, fetch requests, background contexts, and SwiftData migration.

TalissonVitorino/kmp-ios-skills · 24 tokens

sqldelight-patterns

SQLDelight for Kotlin Multiplatform shared persistence - .sq files in commonMain, platform drivers (AndroidSqliteDriver on Android, NativeSqliteDriver on iOS), type adapters, migrations, and a shared database accessed from common code. Use for multiplatform or shared persistence. For Android-only Room use…

TalissonVitorino/kmp-ios-skills · 73 tokens

swiftdata

Apple SwiftData for iOS 17+ persistence - the @Model macro, ModelContainer and ModelContext, the @Query property wrapper with.

TalissonVitorino/kmp-ios-skills · 31 tokens