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 ariaramin/flutter-skills --skill flutter-drift-persistence-engineeringgit clone --depth 1 https://github.com/ariaramin/flutter-skillsWrote 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/ariaramin/flutter-skills/flutter-drift-persistence-engineering)<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/flutter-drift-persistence-engineering"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/flutter-drift-persistence-engineering/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/ariaramin/flutter-skills/flutter-drift-persistence-engineering"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/flutter-drift-persistence-engineering.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.00186 | $0.01980 |
| Opus 5.5 | $0.00074 | $0.00792 |
| Sonnet 5.5 | $0.00037 | $0.00396 |
| Haiku 4.5 | $0.00019 | $0.00198 |
Grade A, and why
flutter-drift-persistence-engineering 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 22d 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 — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flutter Drift Persistence Engineering
Treat Drift as a typed SQLite persistence system with generated APIs, reactive invalidation, platform-specific executors, and irreversible schema evolution—not as a generic key-value store.
Reference routing
Read only what the task requires:
| Need | Reference |
|---|---|
| Dependencies, database declaration, connection ownership, DAOs, generated-code layout | references/01-setup-and-architecture.md |
| Tables, constraints, relationships, indexes, Dart/SQL queries, joins, pagination | references/02-schema-and-queries.md |
| Writes, transactions, batches, streams, invalidation, profiling, large datasets | references/03-writes-streams-and-performance.md |
Native isolates, driftDatabase, NativeDatabase, WAL/read pools, Web/WASM |
references/04-platforms-and-concurrency.md |
| Migrations, migration tests, ordinary tests, backup, diagnostics, security, reviews | references/05-migrations-testing-and-operations.md |
| Version baseline and authoritative URLs | references/06-authoritative-sources.md |
The bundled research was checked on 2026-08-11 against Drift 2.34.3, drift_flutter 0.3.1, and current official Drift/SQLite documentation. Always inspect the project’s pubspec.lock, SDK constraints, generated code, and installed package source before relying on a signature or default.
Inspect before changing code
Inspect:
pubspec.yaml,pubspec.lock,build.yaml, Flutter/Dart versions, and shipped platforms.- Database classes, tables,
.driftfiles, DAOs, repositories, generated parts, and schema snapshots. - Every database constructor and owner; locate all opens, providers, overrides, and
close()calls. schemaVersion,migration, generated migration steps/tests, and historical schema files.- Hot queries, watched streams, indexes, write paths, transaction boundaries, and large result materializations.
- Native/Web connection setup, worker/WASM assets, headers, database path, pragmas, isolate sharing, and backup behavior.
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 243 B
- references/01-setup-and-architecture.md 5.0 KB
- references/02-schema-and-queries.md 5.8 KB
- references/03-writes-streams-and-performance.md 5.7 KB
- references/04-platforms-and-concurrency.md 5.9 KB
- references/05-migrations-testing-and-operations.md 8.1 KB
- references/06-authoritative-sources.md 4.4 KB
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.
- 22d ago First seen · 150 lines · 186 tokens per session scan A 8ae43313ccb0
flutter-drift-persistence-engineering is a skill published in the GitHub repository ariaramin/flutter-skills (8 stars, last pushed 2d ago), licensed MIT. It adds 186 tokens to every session and 1,980 once invoked, about $0.0007 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-11.
Other skills, from other repositories
persistence-setup
Generates SwiftData or CoreData persistence layer with optional iCloud sync. Use when user wants to add local storage, data persistence, or cloud sync.
mobile-storage-sqlite-powersync
PowerSync offline-first sync engine on SQLite for React Native - schema definition, watched queries, CRUD operations, backend connectors, sync rules, conflict resolution, attachments.
persistence-drift
Governs the on-device Drift/SQLite data layer: package:drift and package:sqlite3 confined to lib/data/ behind DAOs that map rows to immutable value objects (no Drift symbol leaks past the repository), invariants pushed into the schema (STRICT tables, CHECK/FK/partial-UNIQUE indexes), foreignkeys/WAL pragmas…
mobile-storage-watermelondb
WatermelonDB reactive local database for React Native - schema, models, decorators, reactive queries, relations, writers/readers, batch operations, migrations, sync.
core-data-pro
Use when working with Core Data — modeling entities, NSPersistentContainer setup, background contexts, fetch requests, batch operations, and migrations.
swiftdata-pro
Use when modeling data with SwiftData (@Model), writing @Query, configuring ModelContainer, performing migrations, or enabling CloudKit sync on iOS 17+.