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.
npx skills add fullstack-phoenix/saas_kit --skill locale-pickergit clone --depth 1 https://github.com/fullstack-phoenix/saas_kitWrote 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.
[](https://agentmods.dev/skills/fullstack-phoenix/saas_kit/locale-picker)<a href="https://agentmods.dev/skills/fullstack-phoenix/saas_kit/locale-picker"><img src="https://agentmods.dev/badge/skills/fullstack-phoenix/saas_kit/locale-picker/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.
<a href="https://agentmods.dev/skills/fullstack-phoenix/saas_kit/locale-picker"><img src="https://agentmods.dev/badge/skills/fullstack-phoenix/saas_kit/locale-picker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00040 | $0.01071 |
| Opus 5.5 | $0.00016 | $0.00428 |
| Sonnet 5.5 | $0.00008 | $0.00214 |
| Haiku 4.5 | $0.00004 | $0.00107 |
Grade A, and why
locale-picker 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Locale Picker
Adds a runtime language switcher. Generates a MyAppWeb.Locale plug + LiveView
on_mount hook that resolves the active locale (query param → cookie/session →
current user → default), a LocalePickerLive dropdown rendered through a portal,
and a JS hook to redirect on selection. Locale choice persists in a cookie and
flows into Gettext for every request and LiveView.
When to use
- The app ships UI in more than one language and users should pick their own.
- You already use (or are willing to use) Gettext for translations.
- Don't reach for this for a single-language app, or when locale is fixed per
tenant and never user-selectable — a static
Gettext.put_locale/2is enough.
Dependencies
- Requires: None.
- Recommended: None. The
layoutsboilerplate option lets the installer drop the picker into the generatedapp,public, andsessionlayouts automatically.
Install
mix saaskit.feature.install locale_picker
No interactive decisions. Layout injection (instructions g–i) only runs when
the boilerplate was generated with the layouts option; otherwise mount the
picker target yourself (see Tweaking). The install also runs mix gettext.extract.
What it generates
lib/my_app_web/locale.ex— theMyAppWeb.Localemodule:set_locale/2plug,on_mount(:set_locale, ...), plusknown_locales/0andcurrent_locale/0.lib/my_app_web/live/locale_picker_live.ex—LocalePickerLive, the dropdown rendered via<.portal target="#locale-target">.assets/js/hooks/locale_picker.js—LocalePickerhook (registered inassets/js/hooks/index.js) that reports the current URL and handles redirects.test/my_app_web/live/locale_picker_live_test.exs— LiveView tests.- Router wiring: imports
set_locale/2, addsplug :set_localeto the browser pipeline, and prepends{MyAppWeb.Locale, :set_locale}to the LiveViewon_mountlist. - Mounts
live_render(@conn, MyAppWeb.LocalePickerLive, ...)at the end ofroot.html.heexand adds<div id="locale-target">to the layouts.
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.
- 2mo ago First seen · 108 lines · 40 tokens per session scan A c41d0d767988
locale-picker is a skill published in the GitHub repository fullstack-phoenix/saas_kit (2 stars, last pushed 4mo ago), licensed MIT. It adds 40 tokens to every session and 1,071 once invoked, about $0.0002 per session on Opus 5.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.
Other skills, from other repositories
intl-expansion
Use when expanding to a new country: market selection, entry mode, localization, regulation and regional go-to-market.
azure-ai-translation-text-py
Azure AI Text Translation SDK for real-time text translation, transliteration, language detection, and dictionary lookup. Use for translating text content in applications. Triggers: "text translation", "translator", "translate text", "transliterate", "TextTranslationClient".
chinese-documentation
A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.
harden
Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready. Use when the user asks to harden, make production-ready, handle edge cases, add error states, or fix overflow and i18n issues.
edit-site
Plans, coordinates and customizes PAC CLI-downloaded Standard or Enhanced data model non-SPA Power Pages sites created from Microsoft templates or manually in Design Studio. Use for requests involving pages, localized content, navigation, assets, snippets, site markers, Liquid/web templates, page layouts, or styling.…
asc-subscription-localization
Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.