flutter-setup-localization

flutter-setup-localization is a skill for Claude Code, Codex from sutchan/Agent-Skills-Hub. It costs 28 tokens per session (1,457 once invoked), scanned A, a copy of flutter-setup-localization, MIT.

A setup guide for adding multiple-language support to a Flutter app with flutter_localizations and intl. It uses ARB files, which store translated text, and generates a typed AppLocalizations class for accessing those translations.

In plain words
What is it for?
Use it to add localization dependencies, configure l10n.yaml, enable code generation, and connect translations to Material or Cupertino apps.
Why use it?
It gives the app a consistent way to manage translated text, dates, numbers, and other language-specific content.

Skill for Claude CodeCodex

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

Good fit Use it to add localization dependencies, configure l10n.yaml, enable code generation, and connect translations to Material or Cupertino apps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sutchan/agent-skills-hub/flutter-setup-localization
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 sutchan/Agent-Skills-Hub --skill flutter-setup-localization
Clone the repo
git clone --depth 1 https://github.com/sutchan/Agent-Skills-Hub

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-setup-localization

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sutchan/agent-skills-hub/flutter-setup-localization"><img src="https://agentmods.dev/badge/skills/sutchan/agent-skills-hub/flutter-setup-localization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,457 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 97% copy Near-identical to another mod 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.00028 $0.01457
Opus 5.5 $0.00011 $0.00583
Sonnet 5.5 $0.00006 $0.00291
Haiku 4.5 $0.00003 $0.00146

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

Security

Grade A, and why

flutter-setup-localization 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.

Origin

This is a copy

97% identical to flutter-setup-localization — 11 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/flutter-setup-localization/SKILL.md · 214 lines

How it starts

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

Internationalizing Flutter Applications

Contents

Core Concepts

Flutter handles internationalization (i18n) and localization (l10n) via the flutter_localizations and intl packages. The standard approach uses App Resource Bundle (.arb) files to define localized strings, which are then compiled into a generated AppLocalizations class for type-safe access within the widget tree.

Setup Workflow

Copy and track this checklist when initializing internationalization in a Flutter project:

  • Task Progress
    • 1. Add dependencies to pubspec.yaml.
    • 2. Enable the generate flag.
    • 3. Create the l10n.yaml configuration file.
    • 4. Configure MaterialApp or CupertinoApp.

1. Add Dependencies

Add the required localization packages to the project. Execute the following commands in the terminal:

flutter pub add flutter_localizations --sdk=flutter
flutter pub add intl:any

Verify your pubspec.yaml includes the following under dependencies:

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  intl: any

2. Enable Code Generation

Open pubspec.yaml and enable the generate flag within the flutter section to automate localization tasks:

flutter:
  generate: true

3. Create Configuration File

Create a new file named l10n.yaml in the root directory of the Flutter project. Define the input directory, template file, and output file:

arb-dir: lib/l10n
template-arb-file: app_en.arb
output-localization-file: app_localizations.dart
synthetic-package: true

4. Configure the App Entry Point

Import the generated localizations and the flutter_localizations library in your main.dart. Inject the delegates and supported locales into your MaterialApp or CupertinoApp.

Read the full file on GitHub · 214 lines

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 Changed · +1 lines e239494c4ef5
  2. 1mo ago Changed · +2 lines · -24 tokens per session 4d51441001c8
  3. 2mo ago Changed · -4 lines · +24 tokens per session dda4ef8b7497
  4. 2mo ago First seen · 215 lines · 28 tokens per session scan A 33741da24947

Subscribe to this mod's changes

flutter-setup-localization is a skill published in the GitHub repository sutchan/Agent-Skills-Hub (3 stars, last pushed 6d ago), licensed MIT. It adds 28 tokens to every session and 1,457 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to flutter-setup-localization, differing in 11 lines, and is treated as a copy.

Related

flutter-setup-localization compared with skills from other repositories

flutter-setup-localization next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flutter-setup-localizationsutchan/Agent-Skills-HubSkill36d agoMITA28Claude Code, Codex
iflytek-text-proofreadiflytek/iFly-SkillsSkill2175d agoApache-2.0A88Claude Code, Codex
iflytek-translateiflytek/iFly-SkillsSkill2175d agoApache-2.0A65Claude Code, Codex
iflytek-video-translateiflytek/iFly-SkillsSkill2175d agoApache-2.0A91Claude Code, Codex
compose-multiplatform-patternsshennawardana23/skillmeSkill41mo agoApache-2.0A95Claude Code
chinese-content-writing-guidelinejim60105/copilot-promptSkill22yesterdayGFDL-1.3A186Claude Code, Codex
chinese-traditional-conversionjim60105/copilot-promptSkill22yesterdayGFDL-1.3A125Claude Code, Codex