localization-check

localization-check is a command for Claude Code from TheBeardedBearSAS/claude-craft. It costs 6 tokens per session (2,045 once invoked), scanned A, original, MIT.

A Flutter translation checker for mobile applications. It compares localisation files, such as ARB files, to find missing or inconsistent translation keys.

In plain words
What is it for?
Use it to inspect Flutter internationalisation settings, generate localisation code, and check translations across one or more languages.
Why use it?
It helps prevent users from seeing missing text or different translations depending on the selected language.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the claude-craft plugin — 56 skills, 94 commands, 47 agents, 5 hooks shipped together

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 commands/thebeardedbearsas/claude-craft/localization-check
Clone the repo
git clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craft

Made for: Claude Code.

Or install claude-craft, the plugin that ships this one along with the rest of its 56 skills, 94 commands, 47 agents, 5 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/localization-check.svg)](https://agentmods.dev/commands/thebeardedbearsas/claude-craft/localization-check)
Your own site
<a href="https://agentmods.dev/commands/thebeardedbearsas/claude-craft/localization-check"><img src="https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/localization-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,045 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.00006 $0.02045
Opus 5 $0.00003 $0.01022
Sonnet 5 $0.00001 $0.00409
Haiku 4.5 $0.00001 $0.00204

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

Security

Grade A, and why

localization-check 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 2d 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.

.claude/commands/flutter/localization-check.md · 317 lines

How it starts

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

Vérification des Traductions

Tu es un développeur Flutter senior. Tu dois vérifier la complétude et la cohérence des traductions (i18n) du projet.

Arguments

$ARGUMENTS

Arguments :

  • (Optionnel) Langue à vérifier (ex: fr, en, all)

Exemple : /flutter:localization-check all

MISSION

Étape 1 : Identifier la Configuration i18n

# pubspec.yaml
dependencies:
  flutter_localizations:
    sdk: flutter
  intl: ^0.19.0

flutter:
  generate: true

# l10n.yaml
arb-dir: lib/l10n
template-arb-file: app_en.arb
output-localization-file: app_localizations.dart
output-class: AppLocalizations

Étape 2 : Analyser les Fichiers ARB

# Lister les fichiers de traduction
ls -la lib/l10n/

# Générer les fichiers Dart
flutter gen-l10n

Étape 3 : Vérifier les Clés

// Script de vérification (à exécuter manuellement ou via test)
import 'dart:convert';
import 'dart:io';

void main() {
  final arbFiles = Directory('lib/l10n')
      .listSync()
      .whereType<File>()
      .where((f) => f.path.endsWith('.arb'));

  final Map<String, Map<String, dynamic>> translations = {};

  for (final file in arbFiles) {
    final lang = file.path.split('app_').last.replaceAll('.arb', '');
    final content = jsonDecode(file.readAsStringSync()) as Map<String, dynamic>;
    translations[lang] = content;
  }

  // Trouver la langue de référence (template)
  final reference = translations['en']!;
  final referenceKeys = reference.keys
      .where((k) => !k.startsWith('@'))
      .toSet();

  print('Reference language: en');
  print('Keys count: ${referenceKeys.length}');
  print('');

  for (final entry in translations.entries) {
    if (entry.key == 'en') continue;

    final keys = entry.value.keys
        .where((k) => !k.startsWith('@'))
        .toSet();

    final missing = referenceKeys.difference(keys);
    final extra = keys.difference(referenceKeys);

    print('Language: ${entry.key}');
    print('  Keys: ${keys.length}');
    print('  Missing: ${missing.length}');
    print('  Extra: ${extra.length}');

    if (missing.isNotEmpty) {
      print('  Missing keys:');
      for (final key in missing) {
        print('    - $key');
      }
    }
    print('');
  }
}

Read the full file on GitHub · 317 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. 2d ago First seen · 317 lines · 6 tokens per session scan A 0c8b4c26b6c3

Subscribe to this mod's changes

localization-check is a command published in the GitHub repository TheBeardedBearSAS/claude-craft (105 stars, last pushed 3d ago), licensed MIT. It adds 6 tokens to every session and 2,045 once invoked, about $0.0000 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.