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 agentmods add skills/yendangn/flutter-app-builder/flutter-storagenpx skills add yendangn/flutter-app-builder --skill flutter-storagegit clone --depth 1 https://github.com/yendangn/flutter-app-builderWrote 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/yendangn/flutter-app-builder/flutter-storage)<a href="https://agentmods.dev/skills/yendangn/flutter-app-builder/flutter-storage"><img src="https://agentmods.dev/badge/skills/yendangn/flutter-app-builder/flutter-storage.svg" alt="Measured on agentmods" 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 | $0.00062 | $0.00470 |
| Opus 5 | $0.00031 | $0.00235 |
| Sonnet 5 | $0.00012 | $0.00094 |
| Haiku 4.5 | $0.00006 | $0.00047 |
Grade A, and why
flutter-storage 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 3d 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.
What it actually says
Flutter Storage
Full reference: template.md
Key rules
- Three storage tiers, each behind an app-owned interface:
SecureStorage— wrapsflutter_secure_storage. Tokens, credentials, sensitive data only.KeyValueStore— wrapsshared_preferences. Non-sensitive settings, flags, simple values.AppDatabase— Drift ORM over SQLite. Structured data, offline cache, sync queue.
- Never import
flutter_secure_storage,shared_preferences, ordriftoutside their designated wrapper/impl files. - Drift tables are defined in
app_database.dartwith@DriftDatabase(tables: [...]). DAOs are separate files per entity. - DAO files annotated
@DriftAccessor(tables: [...]). Each DAO exposes typed CRUD methods — never raw SQL in repository code. AppDatabaseis aLazyDatabasebacked bysqlite3_flutter_libs. Always created once as a singleton.- Run
dart run build_runner build --delete-conflicting-outputsafter any Drift schema change.
Files
lib/src/core/storage/
secure_storage.dart ← interface
secure_storage_impl.dart ← only import of flutter_secure_storage
key_value_store.dart ← interface
key_value_store_impl.dart ← only import of shared_preferences
lib/src/core/database/
app_database.dart ← @DriftDatabase, table definitions, LazyDatabase
app_database.g.dart ← generated
daos/
<entity>_dao.dart ← @DriftAccessor, typed CRUD
<entity>_dao.g.dart ← generated
Co-load with
flutter-di— register aslazySingletonflutter-offline— Drift is the offline cache backendflutter-auth—SecureStoragestores tokens
What ships with it
6 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.
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.
- 3d ago First seen · 43 lines · 62 tokens per session scan A 29da70684977
flutter-storage is a skill published in the GitHub repository yendangn/flutter-app-builder (5 stars, last pushed 2mo ago), licensed MIT. It adds 62 tokens to every session and 470 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-31.
Other skills, from other repositories
offline-first-expert
Expert guidance for offline-first KMP and Android architectures using Store5, Room, SQLDelight, Ktor. Always trigger this skill when designing repositories, databases, caching, offline sync, Fetchers, SourceOfTruth, Updaters, Bookkeepers.
flutter-caching-data
Implements caching strategies for Flutter apps to improve performance and offline support. Use when retaining app data locally to reduce network requests or speed up startup.
caching-strategies
Apply read-through, write-through, TTL, LRU, and encrypted caches correctly across memory, disk, and secure storage on mobile.
rn-state-and-storage
State management and storage choice in React Native. State libs work mostly the same as web (Zustand, Jotai, Redux Toolkit, TanStack Query, Context); storage choice is RN-specific — AsyncStorage, MMKV, SecureStore, Keychain. Hydration patterns, splash screen handling, secrets discipline. Use this skill to: Pick state…
mobile-storage-mmkv
MMKV high-performance key-value storage for React Native - synchronous JSI-based reads/writes, encryption, typed hooks, multiple instances, listeners, persistence middleware adapters.
redis-js
Work with the Upstash Redis JavaScript/TypeScript SDK for serverless Redis operations. Use for caching, session storage, rate limiting, leaderboards, full-text search (querying, filtering, aggregating with @upstash/redis search extension), and all Redis data structures. Supports automatic serialization/deserialization…