flutter-caching

flutter-caching is a skill for Claude Code, Codex from ariaramin/flutter-skills. It costs 143 tokens per session (2,424 once invoked), scanned A, original, MIT.

A guide to designing and measuring caches in Flutter and Dart apps across mobile, web, and desktop platforms.

In plain words
What is it for?
Use it to design, implement, review, test, debug, and measure caches for HTTP responses, images, local data, or offline features.
Why use it?
It helps reduce repeated work without treating cached data as the authoritative source. It also addresses stale data, expiration, invalidation, cache keys, offline behavior, and account changes.

Skill for Claude CodeCodex

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

Good fit Use it to design, implement, review, test, debug, and measure caches for HTTP responses, images, local data, or offline features.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ariaramin/flutter-skills/flutter-caching-engineering
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-caching-engineering
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-caching

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

agentmods 80×15 button for flutter-caching

Your own site · 80×15
<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/flutter-caching-engineering"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/flutter-caching-engineering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 143 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,424 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.00143 $0.02424
Opus 5.5 $0.00057 $0.00970
Sonnet 5.5 $0.00029 $0.00485
Haiku 4.5 $0.00014 $0.00242

Measured 8d ago against content hash 08a7afc8dd9a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

flutter-caching 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 8d 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-caching-engineering/SKILL.md · 215 lines

How it starts

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

Flutter Caching

Make data correct first, then reduce repeated work. A cache is a derived copy; it is not durable user data or a source of truth unless the feature explicitly defines a local replica.

Scope and evidence

Classify claims while working:

  • Documented: a framework, protocol, or platform contract.
  • Platform/package-dependent: verify the exact SDK, package, and target.
  • Engineering choice: explain the product trade-off.
  • Measured: report a reproducible before/after metric; never call a size or policy optimal without it.

Read authoritative-sources.md when a claim affects implementation, platform behavior, or a version-sensitive API.

Inspect before adding or changing a cache

  1. Inspect the Flutter/Dart versions, target platforms, lockfile, current repositories/data sources, HTTP clients, persistence, image loading, and observability.
  2. Search all readers, writers, cache constructors, keys, eviction, refresh, logout/account-switch, and lifecycle paths. Reuse the existing owner and policy when sound; do not add a parallel cache.
  3. Define per resource: authoritative source, identity, account/tenant scope, sensitivity, maximum staleness, offline contract, mutation consistency, size, access frequency, and recovery after eviction/corruption.
  4. Capture a baseline with representative data, device/build mode, network state, and cold/warm cache state. Choose the smallest mechanism that fixes a measured or clearly material cost.
  5. Define freshness, invalidation, limits, and failure behavior before persisting or serving a cache hit. A cache hit is not proof the value is valid.

Choose the layer deliberately

Need Default Important constraint
Repeat work only during one process/session Bounded in-memory cache Lost on restart and must have eviction.
Small, simple app setting Key-value persistence Not a general query store or secret vault.
Offline structured domain data Local database/local source Model schema, sync, and conflict policy.
Reconstructible blobs/documents File cache Treat cache locations as purgeable.
HTTP resource with server support HTTP freshness + validators Do not assume Dart client adds persistence.
Repeated identical in-flight load Single-flight request map Remove failed/completed requests correctly.
Images Use Flutter image cache plus correctly sized source See flutter-image-performance for pipeline details.
Payment, balance, inventory, permission, or critical auth state Network-first/online-only as required Never silently accept stale fallback.

Read the full file on GitHub · 215 lines

Files

What ships with it

1 file 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. 8d ago First seen · 215 lines · 143 tokens per session scan A 08a7afc8dd9a

Subscribe to this mod's changes

flutter-caching is a skill published in the GitHub repository ariaramin/flutter-skills (6 stars, last pushed 8d ago), licensed MIT. It adds 143 tokens to every session and 2,424 once invoked, about $0.0006 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.