hashiiiii-locale

hashiiiii-locale is a skill for Claude Code from hashiiiii/rules-for-ai. It costs 27 tokens per session (596 once invoked), scanned A, original, MIT.

Locale preference guidance for choosing the language settings used by a user, project, or Git worktree. A Git worktree is a separate working directory linked to a repository.

In plain words
What is it for?
It helps set or change language preferences for one user, one project, or one local worktree.
Why use it?
It prevents locale settings from being written to the wrong place or shared more widely than intended.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the rules-for-ai plugin — 11 skills, 2 hooks shipped together

Good fit It helps set or change language preferences for one user, one project, or one local worktree.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hashiiiii/rules-for-ai/hashiiiii-locale
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 hashiiiii/rules-for-ai --skill hashiiiii-locale
Clone the repo
git clone --depth 1 https://github.com/hashiiiii/rules-for-ai

Made for: Claude Code.

Or install rules-for-ai, the plugin that ships this one along with the rest of its 11 skills, 2 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 hashiiiii-locale

README.md
[![agentmods](https://agentmods.dev/badge/skills/hashiiiii/rules-for-ai/hashiiiii-locale/github.svg)](https://agentmods.dev/skills/hashiiiii/rules-for-ai/hashiiiii-locale)
Your own site
<a href="https://agentmods.dev/skills/hashiiiii/rules-for-ai/hashiiiii-locale"><img src="https://agentmods.dev/badge/skills/hashiiiii/rules-for-ai/hashiiiii-locale/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 hashiiiii-locale

Your own site · 80×15
<a href="https://agentmods.dev/skills/hashiiiii/rules-for-ai/hashiiiii-locale"><img src="https://agentmods.dev/badge/skills/hashiiiii/rules-for-ai/hashiiiii-locale.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 596 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 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.00027 $0.00596
Opus 5.5 $0.00011 $0.00238
Sonnet 5.5 $0.00005 $0.00119
Haiku 4.5 $0.00003 $0.00060

Measured 15d ago against content hash 0423e50a9b26, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hashiiiii-locale 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 15d 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/hashiiiii-locale/SKILL.md · 59 lines

How it starts

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

Locale Preferences

Write all five locale keys to the scope the user selects. Do not infer the scope from the current directory or plugin installation.

Scope

Accept user, project, or local, either as a bare argument or as scope=<scope>. If the user does not select a scope, ask before proceeding. Before writing, state the selected scope, exact target path, and sharing behavior.

Scope File Sharing
user ${XDG_CONFIG_HOME:-${HOME:-}/.config}/rules-for-ai/LOCALE.md All projects for this user
project <repo>/.rules-for-ai/LOCALE.md Anyone using the repository
local <absolute-git-dir>/rules-for-ai/LOCALE.md This Git worktree only

For project and local, get the repository with git rev-parse --show-toplevel. For local, get the directory with git rev-parse --absolute-git-dir. Stop if either command fails. Do not commit project files automatically or add local files to Git ignore rules.

Locale Values

A single POSIX-style locale tag, such as ja_JP, sets all five keys. Key-value arguments set individual keys. If no locale values are given, ask which locale to use for each artifact. Reject unknown scopes and keys. Keep each tag as supplied; do not translate or normalize it.

Key Applies to
issues Issues
pull-requests Pull requests
comments Code comments
logs Log messages
test-logs Test log messages

For a partial update, keep existing target values first. Fill missing keys only from lower-priority scopes:

Target Fallback order
local Project, user, bundled default, en_US
project User, bundled default, en_US
user Bundled default, en_US

Always write all five keys. Never copy local values into project or user settings. Locale resolution uses the first existing file as a whole; project instructions take precedence over locale keys.

Write the File

Use LF line endings and strict key=value lines with no spaces around =:

Read the full file on GitHub · 59 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. 15d ago Changed · -48 lines 0423e50a9b26
  2. 3mo ago First seen · 107 lines · 27 tokens per session scan A 443f249894ea

Subscribe to this mod's changes

hashiiiii-locale is a skill published in the GitHub repository hashiiiii/rules-for-ai (10 stars, last pushed 10d ago), licensed MIT. It adds 27 tokens to every session and 596 once invoked, about $0.0001 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.

Related

hashiiiii-locale compared with skills from other repositories

hashiiiii-locale next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hashiiiii-localehashiiiii/rules-for-aiSkill1010d agoMITA27Claude Code
yida-i18nopenyida/openyidaSkill234todayMITA87Claude Code, Codex
iflytek-text-proofreadiflytek/iFly-SkillsSkill2176d agoApache-2.0A88Claude Code, Codex
iflytek-translateiflytek/iFly-SkillsSkill2176d agoApache-2.0A65Claude Code, Codex
iflytek-video-translateiflytek/iFly-SkillsSkill2176d agoApache-2.0A91Claude Code, Codex
aso-marketingluongnv89/skillsSkill149todayMITA57Claude Code
translationlimecloud/limeSkill1.5k12d agoGPL-3.0A29Claude Code