flutter-flavors

flutter-flavors is a skill for Claude Code, Codex from yendangn/flutter-app-builder. It costs 66 tokens per session (462 once invoked), scanned A, original, MIT.

A set of rules for managing separate development, testing, and production environments in a Flutter mobile or web app.

In plain words
What is it for?
Use it to create dev, UAT (user acceptance testing), and production builds, define environment-specific configuration, override an API address, and set launch configurations.
Why use it?
It keeps environment-specific settings, such as API addresses, app names, logging, and time limits, organized and testable instead of scattered through the code.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/yendangn/flutter-app-builder/flutter-flavors
Any agent
npx skills add yendangn/flutter-app-builder --skill flutter-flavors
Clone the repo
git clone --depth 1 https://github.com/yendangn/flutter-app-builder

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-flavors

README.md
[![agentmods](https://agentmods.dev/badge/skills/yendangn/flutter-app-builder/flutter-flavors.svg)](https://agentmods.dev/skills/yendangn/flutter-app-builder/flutter-flavors)
Your own site
<a href="https://agentmods.dev/skills/yendangn/flutter-app-builder/flutter-flavors"><img src="https://agentmods.dev/badge/skills/yendangn/flutter-app-builder/flutter-flavors.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 462 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00066 $0.00462
Opus 5 $0.00033 $0.00231
Sonnet 5 $0.00013 $0.00092
Haiku 4.5 $0.00007 $0.00046

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

Security

Grade A, and why

flutter-flavors 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.

skills/flutter-flavors/SKILL.md · 38 lines

What it actually says

Flutter Flavors

Full reference: template.md

Key rules

  • Three environments: Env.dev, Env.uat, Env.prod. Each has its own entry point.
  • Env is a simple enum (dev | uat | prod) with helper getters (isDev, isUat, isProd).
  • EnvConfig maps Env → config values (API base URL, app title, logging enabled, timeouts).
  • AppConfig.fromEnv(env) is the single config object. Created once in main_*.dart and passed to appBootstrap().
  • Three entry points: lib/main_dev.dart, lib/main_uat.dart, lib/main_prod.dart. Each calls appBootstrap(Env.x).
  • API_BASE_URL env var overrides the config — useful for pointing a dev build at a local server: --dart-define=API_BASE_URL=http://localhost:3000.
  • No kDebugMode or kReleaseMode checks — use AppConfig.env instead (testable, not build-mode-coupled).

Files

lib/
  main_dev.dart         ← appBootstrap(Env.dev)
  main_uat.dart         ← appBootstrap(Env.uat)
  main_prod.dart        ← appBootstrap(Env.prod)
lib/src/core/config/
  env.dart              ← enum Env { dev, uat, prod }
  env_config.dart       ← EnvConfig.fromEnv(env) → base config values
  app_config.dart       ← AppConfig(env, apiBaseUrl, appTitle, …)

Co-load with

  • flutter-app-shell — entry point wiring
  • flutter-diAppConfig registered first in service_locator
  • flutter-logging — log level depends on env
Files

What ships with it

4 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. 5d ago First seen · 38 lines · 66 tokens per session scan A 06d6cba3dce1

Subscribe to this mod's changes

flutter-flavors is a skill published in the GitHub repository yendangn/flutter-app-builder (5 stars, last pushed 2mo ago), licensed MIT. It adds 66 tokens to every session and 462 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.

Related

Other skills, from other repositories

agent-browser

Browser automation via Chrome/Chromium CDP — open, snapshot, click, screenshot. For testing web apps, mobile layouts, and automated interactions without Playwright/Puppeteer.

x-cmd/x-cmd · 39 tokens

odevio

Take a Flutter project to an iPhone or the App Store with Odevio - build, sign and publish iOS apps from Windows, Linux or macOS with no Mac and no Xcode. Handles Apple setup, certificates, provisioning profiles, code signing, the .ipa, TestFlight and App Store submission, and fixes build failures automatically. Use…

Odevio/Odevio-CLI · 0 tokens

fastly-compute-well-known-spa-fallback

Fix .well-known files (apple-app-site-association, assetlinks.json) being served as HTML by the @fastly/compute-js-static-publish SPA fallback instead of JSON. Use when: (1) iOS Universal Links or Android App Links are broken because the verification files return text/html instead of application/json, (2)…

divinevideo/divine-mobile · 151 tokens

expo-deployment

Deploying Expo apps to iOS App Store, Android Play Store, web hosting, and API routes.

zai-org/Synapse · 24 tokens

expo-deployment

Deploying Expo apps to iOS App Store, Android Play Store, web hosting, and API routes.

openai/plugins · 24 tokens

capawesome-cloud

Guides the agent through setting up and using Capawesome Cloud for Capacitor and Cordova apps. Covers three core workflows: (1) Native Builds — cloud builds for iOS and Android (Capacitor, Cordova, or native projects), signing certificates, environments, Trapeze configuration, and build artifacts; (2) Live Updates …

capawesome-team/skills · 162 tokens