flutter-path-provider-production-storage

flutter-path-provider-production-storage is a skill for Claude Code, Codex from ariaramin/flutter-skills. It costs 100 tokens per session (4,320 once invoked), scanned A, original, MIT.

A guide for choosing and using filesystem locations in Flutter through path_provider. It explains where temporary files, caches, downloads, documents, and app data belong on different operating systems.

In plain words
What is it for?
Use it to design file persistence, caches, offline files, downloads, exports, local databases, migrations, cleanup, access control, and safe file operations on mobile and desktop.
Why use it?
It prevents treating a directory path as if it automatically provided storage rules, encryption, backups, cleanup, or database behavior. It helps avoid data loss, privacy problems, and platform-specific mistakes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to design file persistence, caches, offline files, downloads, exports, local databases, migrations, cleanup, access control, and safe file operations on mobile and desktop.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ariaramin/flutter-skills/flutter-path-provider-production-storage
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 ariaramin/flutter-skills --skill flutter-path-provider-production-storage
Clone the repo
git clone --depth 1 https://github.com/ariaramin/flutter-skills

Made for: Claude Code, Codex.

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 flutter-path-provider-production-storage

README.md
[![agentmods](https://agentmods.dev/badge/skills/ariaramin/flutter-skills/flutter-path-provider-production-storage/github.svg)](https://agentmods.dev/skills/ariaramin/flutter-skills/flutter-path-provider-production-storage)
Your own site
<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/flutter-path-provider-production-storage"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/flutter-path-provider-production-storage/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 flutter-path-provider-production-storage

Your own site · 80×15
<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/flutter-path-provider-production-storage"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/flutter-path-provider-production-storage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,320 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.
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.00100 $0.04320
Opus 5.5 $0.00040 $0.01728
Sonnet 5.5 $0.00020 $0.00864
Haiku 4.5 $0.00010 $0.00432

Measured 1mo ago against content hash 78cc43177b6c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

flutter-path-provider-production-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 1mo 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.

skills/flutter-path-provider-production-storage/SKILL.md · 485 lines

How it starts

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

Flutter path_provider Production Storage Engineering

Treat path_provider as a directory-location resolver, not as a storage policy, filesystem, database, encryption layer, cache manager, sharing API, or durability guarantee. Choose storage from data semantics first:

lifecycle
+ recoverability
+ ownership
+ user visibility
+ backup policy
+ sensitivity
+ size
+ platform support
→ directory category
→ I/O strategy
→ cleanup/migration/security policy

Reference routing

Read only what the task needs:

Need Reference
Directory semantics, support matrix, Android/iOS/macOS/Windows/Linux mappings references/01-storage-semantics-platforms.md
Portable paths, directory creation, async/stream I/O, reliable writes, cache, DBs, downloads, media references/02-portable-paths-io-cache.md
Path traversal, symlinks, secrets, privacy, cleanup, multi-account, updates, migrations, sharing, errors, concurrency references/03-security-privacy-lifecycle-migrations.md
Startup/performance, architecture, state management, tests, failure tests, desktop/mobile UX references/04-performance-architecture-testing.md
Anti-patterns, review checklists, implementation workflow, completion and source-reconciliation notes references/05-antipatterns-checklists-workflow.md

1. Inspect before changing storage

Before editing, inspect:

  • pubspec.yaml and pubspec.lock;
  • Flutter/Dart SDK constraints;
  • resolved path_provider and federated implementation versions;
  • target platforms/minimum OS versions;
  • Android storage permissions and Gradle/manifest setup;
  • Apple entitlements and document/file-sharing settings;
  • desktop sandbox/packaging;
  • existing database, cache, secure-storage, download/export, migration, logout, and account-cleanup code;
  • tests and CI. Search for:
getTemporaryDirectory
getApplicationSupportDirectory
getApplicationDocumentsDirectory
getApplicationCacheDirectory
getLibraryDirectory
getDownloadsDirectory
getExternalStorageDirectory
getExternalCacheDirectories
getExternalStorageDirectories
Directory.systemTemp
readAsBytes / readAsString / writeAsBytes / writeAsString
*Sync
listSync
recursive:
/storage/ /sdcard/ /Users/ C:\Users\ /home/

Read the full file on GitHub · 485 lines

Files

What ships with it

5 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.

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. 1mo ago First seen · 485 lines · 100 tokens per session scan A 78cc43177b6c

Subscribe to this mod's changes

flutter-path-provider-production-storage is a skill published in the GitHub repository ariaramin/flutter-skills (11 stars, last pushed 23d ago), licensed MIT. It adds 100 tokens to every session and 4,320 once invoked, about $0.0004 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.

Related

flutter-path-provider-production-storage compared with skills from other repositories

flutter-path-provider-production-storage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flutter-path-provider-production-storageariaramin/flutter-skillsSkill1123d agoMITA100Claude Code, Codex
omh-apple-designrlaope/oh-my-hermesSkill6.2ktodayMITA21Claude Code
platform-conventionsOwl-Listener/designer-skillsSkill3.5k11d agoMITA55Claude Code, Codex
redteam-mobile-detail-packNetw0rkNoob/VulnClawSkill4.0k1mo agoMITA57Claude Code, Codex
android-pentestNetw0rkNoob/VulnClawSkill4.0k1mo agoMITA32Claude Code, Codex
offline-syncWrongStack/WrongStackSkill444todayMITA85Claude Code, Codex
flutter-mobileWrongStack/WrongStackSkill444todayMITA86Claude Code