Agent skill

Localization

by yqlay in yqlay/flclash-tui

A skill your agent uses when changing FlClash UI text, scanning for hardcoded Chinese strings, updating ARB localization, or fixing generated locale output in this repository.

GPL-3.0Auto-check passedFrontend & Design

Install Localization

skills CLI
$ npx skills add yqlay/flclash-tui --skill localization -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install yqlay/flclash-tui localization --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/yqlay/flclash-tui.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/localization .claude/skills/localization && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
localization
GitHub stars
119
Token cost
~440 tokens
SKILL.md length
176 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
GPL-3.0

At a glance

A skill your agent uses when changing FlClash UI text, scanning for hardcoded Chinese strings, updating ARB localization, or fixing generated locale output in this repository.

  • Works in 8 steps: Confirm pubspec.yaml still uses… → Scan user-facing Dart text before… → Inspect the smallest relevant call sites… → …
  • Changing FlClash UI text
  • SKILL.md covers When To Use, Workflow and Pitfalls
  • Calls rg, dart and flutter

What it does

Localization is an agent skill from yqlay/flclash-tui. Use when changing FlClash UI text, scanning for hardcoded Chinese strings, updating ARB localization, or fixing generated locale output in this repository.

Its SKILL.md is about 440 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering Internationalization. It works with Dart. The repository describes itself as: Linux/SSH/headless Mihomo TUI. Default silent: only flc COMMAND uses the proxy. The licence is GPL-3.0.

When your agent uses it

  • Changing FlClash UI text
  • Scanning for hardcoded Chinese strings
  • Updating ARB localization
  • Fixing generated locale output in this repository

Example prompts

  • “/localization”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Confirm pubspec.yaml still uses flutter_intl, source ARBs under arb/, and generated output under lib/l10n/.
  2. Scan user-facing Dart text before opening many files
  3. Inspect the smallest relevant call sites and nearby ARB keys.
  4. Add or update every source ARB
  5. Replace inline strings with existing project accessors
  6. Regenerate
  7. Verify changed Dart files with flutter analyze when practical.
  8. Re-run the Han-text scan for targeted strings.

What it can do on your machine

Read from SKILL.md and the folder at commit 89df3cf. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • rg
    • dart
    • flutter

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Localization loads about 440 tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 176 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~440

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from yqlay/flclash-tui at commit 89df3cf, republished under its GPL-3.0 licence (© yqlay). 176 words, ~440 tokens.

Download SKILL.mdSave it as .claude/skills/localization/SKILL.md (or your agent's skills folder).
name
localization
description
Use when changing FlClash UI text, scanning for hardcoded Chinese strings, updating ARB localization, or fixing generated locale output in this repository.

Localization

When To Use

Use this for localization work inside /Users/Shared/follow/FlClash, especially hardcoded UI text in lib/, ARB updates, missing translations, or generated lib/l10n/ output that does not match source ARB values.

Do not use this for README translation sync or manual edits to generated localization Dart.

Workflow

  1. Confirm pubspec.yaml still uses flutter_intl, source ARBs under arb/, and generated output under lib/l10n/.

  2. Scan user-facing Dart text before opening many files:

    bash
    rg -n "[\\p{Han}]" lib -g '!lib/l10n/intl/**' -g '!lib/**/generated/**'
  3. Inspect the smallest relevant call sites and nearby ARB keys.

  4. Add or update every source ARB:

    • arb/intl_en.arb
    • arb/intl_zh_CN.arb
    • arb/intl_ja.arb
    • arb/intl_ru.arb
  5. Replace inline strings with existing project accessors:

    • Widgets with BuildContext: context.appLocalizations.key from common.dart.
    • Controllers/providers/non-widget code: currentAppLocalizations.key from app_localizations.dart.
  6. Regenerate:

    bash
    dart run intl_utils:generate
  7. Verify changed Dart files with flutter analyze when practical.

  8. Re-run the Han-text scan for targeted strings.

Pitfalls

  • If ja/ru still show English, fix ja/ru source ARB values and regenerate. Do not edit generated Dart.
  • Ignore lib/l10n/intl/** and lib/**/generated/** during text scans.
  • If generator or analyzer hits local cache permission friction, rerun serially before treating it as a code issue.

© yqlay, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/localization of yqlay/flclash-tui.

Open the folder on GitHubat commit 89df3cf

Compare with similar skills

Localization next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Localization compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Localization this skillyqlay/flclash-tui119—~440Automated safety check: PassGPL-3.0
InternationalizationVeryGoodOpenSource/vgv-ai-flutter-plugin169—~1.6kAutomated safety check: PassMIT
Impeccablebestofjs/bestofjs3.1k27 repos~2.6kAutomated safety check: PassMIT
Chatbox i18n Translatorchatboxai/chatbox42k—~508Automated safety check: PassGPL-3.0
Internationalization Workflow with i18niOfficeAI/AionUi33k1 repos~1.9kAutomated safety check: PassApache-2.0
Enforce Rules For I18nmoeru-ai/airi50k—~1.5kAutomated safety check: PassMIT

Similar skills

  • Internationalization

    VeryGoodOpenSource/vgv-ai-flutter-plugin

    Best practices for internationalization (i18n) and localization (l10n) in Flutter, using the built-in flutterlocalizations and intl setup with ARB files as the single source of truth.

    169 GitHub stars~1.6k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Impeccable

    bestofjs/bestofjs

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    3.1k GitHub starsUsed in 27 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • Chatbox i18n Translator

    chatboxai/chatbox

    Translates new or changed i18n keys from a Chatbox Pro diff, staged changes or a commit range, writing the locale JSON files directly with a built-in glossary.

    42k GitHub stars~508 tokensUpdated 13 days ago
    Frontend & DesignAuto-check passed
  • Standards for keeping all user-facing text translatable: read the i18n config first, use namespaced keys, reuse shared strings and follow the key naming rules.

    33k GitHub starsUsed in 1 repo~1.9k tokens
    Frontend & DesignAuto-check passed
  • Review pending AIRI translations on Crowdin in a batch, then sync them into the repository.

    50k GitHub stars~1.5k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Claude Desktop Chinese Localization

    javaht/claude-desktop-zh-cn

    Adds missing Simplified and Traditional Chinese translations to the Claude Desktop Chinese patch across three layers, then checks how many mappings actually hit.

    7.5k GitHub stars~1.6k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed

More from yqlay/flclash-tui

  • Provider Tests

    yqlay/flclash-tui

    A skill your agent uses when adding or updating FlClash Riverpod provider tests, notifier tests, or state-management tests in this repository.

    119 GitHub stars~363 tokensUpdated 2 days ago
    Auto-check passed
  • UI Work

    yqlay/flclash-tui

    A skill your agent uses when changing FlClash Flutter UI, widgets, screens, Material You styling, navigation surfaces, or user-facing interactions.

    119 GitHub stars~302 tokensUpdated 2 days ago
    Auto-check passed
  • Ssh Tui UX

    yqlay/flclash-tui

    A skill your agent uses when changing Linux TUI/CLI SSH Capture copy, empty states, picker labels, SSH dashboard hints, or the Connect vs Capture vs ssh -D vs ssh -R user flow.

    119 GitHub stars~815 tokensUpdated 2 days ago
    Auto-check passed
  • Core Platform

    yqlay/flclash-tui

    A skill your agent uses when changing FlClash core integration, platform managers, Go core communication, desktop/mobile platform behavior, or Windows helper flow.

    119 GitHub stars~376 tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Localization

What does Localization do?

A skill your agent uses when changing FlClash UI text, scanning for hardcoded Chinese strings, updating ARB localization, or fixing generated locale output in this repository. Localization is an agent skill from yqlay/flclash-tui. Use when changing FlClash UI text, scanning for hardcoded Chinese strings, updating ARB localization, or fixing generated locale output in this repository.

When should I use Localization?

Localization fits situations like: changing FlClash UI text; scanning for hardcoded Chinese strings; updating ARB localization; fixing generated locale output in this repository.

How do I install Localization in Claude Code?

Run `npx skills add yqlay/flclash-tui --skill localization -a claude-code`. Or copy the skill folder (.agents/skills/localization in yqlay/flclash-tui) into .claude/skills/localization in your project. Claude Code loads it when a task matches its description.

How do I install Localization in Codex?

Run `npx skills add yqlay/flclash-tui --skill localization -a codex`. Or copy the skill folder (.agents/skills/localization in yqlay/flclash-tui) into .agents/skills/localization in your project. Codex loads it when a task matches its description.

Can I use Localization in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yqlay/flclash-tui --skill localization -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/localization, .gemini/skills/localization, .github/skills/localization and .opencode/skills/localization in your project.

What does Localization need to run?

Going by SKILL.md and its folder, Localization needs the command-line tools its instructions call (rg, dart and flutter).

Does Localization access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Localization safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Localization use?

Localization is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Localization use?

About 440 tokens (SKILL.md is roughly 1.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Localization?

Skills that share tags, products or a category with Localization: Internationalization (VeryGoodOpenSource/vgv-ai-flutter-plugin, 169 stars), Impeccable (bestofjs/bestofjs, 3.1k stars), Chatbox i18n Translator (chatboxai/chatbox, 42k stars) and Internationalization Workflow with i18n (iOfficeAI/AionUi, 33k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Localization?

yqlay (a GitHub user) maintains it in yqlay/flclash-tui, which has 119 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 5, 2026.

Source: yqlay/flclash-tui on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.