flutter

flutter is a skill for Claude Code, Codex from kouroshez/coding-os. It costs 107 tokens per session (849 once invoked), scanned A, original, Apache-2.0.

Project guidance for building Flutter mobile apps with Dart, including screens, reusable interface components, app state, services, navigation, and tests.

In plain words
What is it for?
Use it when editing Flutter screens, widgets, state providers, services, navigation, or related tests.
Why use it?
It keeps the app's interface, state, and data-access code separated, making changes easier to test and reducing accidental dependencies between layers.

Skill for Claude CodeCodex

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

Good fit Use it when editing Flutter screens, widgets, state providers, services, navigation, or related tests.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kouroshez/coding-os/flutter"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/flutter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 849 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.00107 $0.00849
Opus 5 $0.00053 $0.00425
Sonnet 5 $0.00021 $0.00170
Haiku 4.5 $0.00011 $0.00085

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

Security

Grade A, and why

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

src/templates/flutter/skills/flutter/SKILL.md · 77 lines

How it starts

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

REQUIRED BACKGROUND: You MUST also follow clean-code (naming, structure, error paths), frontend-fundamentals (three-state async UI), and a11y (screen-reader semantics). This skill adds Flutter-specific patterns on top.

Anatomy reference: references/anatomy.md. Read that file BEFORE writing any new screen / widget / provider.

flutter

Layer contract (matches structure.tree)

Layer May import Never
screens/ (ConsumerWidget) the feature provider, widgets services, other screens
state/ (provider / notifier) services, other providers Flutter widgets/material, BuildContext
services/ HTTP client, storage, platform channels providers, widgets
widgets/ the data + callbacks passed in services, providers it does not render
core/ (error mapper, router, theme) providers (for routing guards) services

State stays widget-free — a notifier never imports BuildContext — so it is unit-testable and a transport swap (REST → GraphQL → local DB) is a service-layer-only change.

State & DI

  • One feature = one provider file (health_provider.dart) exposing the service binding plus the AsyncValue the screen watches.
  • ProviderScope is mounted once in main.dart; tests override it per case.
  • Inject services through a Provider; never HealthService() inside build() — that bypasses overrides and breaks testing.
  • Prefer FutureProvider / AsyncNotifier for async data — the AsyncValue carries loading/error/data so the screen cannot forget a state.

Widgets (dumb)

  • A screen watches a provider → renders value.when(loading, error, data) → emits intents via callbacks. No business logic in build().
  • Extract reusable presentational pieces into widgets/; they take data in and call back out, owning no transport.
  • const constructor wherever the widget allows — it is the cheapest rebuild win.
  • ONE declarative router in core/router.dart (go_router). Widgets navigate by name/path through the router; never Navigator.push(MaterialPageRoute(...)) from deep in the tree.

Read the full file on GitHub · 77 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. 5d ago First seen · 77 lines · 107 tokens per session scan A ae2bc3fd088f

Subscribe to this mod's changes

flutter is a skill published in the GitHub repository kouroshez/coding-os (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 107 tokens to every session and 849 once invoked, about $0.0005 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-09-03.

Related

Other skills, from other repositories