language-mode-commands

A command that sets the language used in all system responses. The setting supports named languages and language codes and remains active across sessions.

In plain words
What is it for?
Use it to choose a supported output language, such as English, Turkish, Spanish, French, German, Portuguese, Japanese, Chinese, Korean, Arabic, Dutch, Italian, or Russian.
Why use it?
It lets users receive analyses, questions, instructions, templates, and system messages in a preferred language.

Command for Claude Code

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/fatihguner/foreman/language-command
Clone the repo
git clone --depth 1 https://github.com/fatihguner/foreman

Made for: Claude Code.

Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,763 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 $0.00030 $0.01763
Opus 5 $0.00015 $0.00881
Sonnet 5 $0.00006 $0.00353
Haiku 4.5 $0.00003 $0.00176

Measured 2d ago against content hash 3e9374e7104f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

language-mode-commands 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/language-command.md · 228 lines

How it starts

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

/language

Sets the language for all system outputs. Every response — skill applications, diagnostic questions, playbook instructions, output templates, system messages — switches to the specified language. Internal processing remains in English; the system thinks in English but speaks in the target language.


/language [language]

Description

Sets the output language. Accepts full language names (case-insensitive) or ISO 639-1 codes. The change takes effect immediately and persists across sessions.

Syntax

/language [language-name-or-code]

Accepted Inputs

Input Resolved Language
english, en, default English
turkish, tr, türkçe Turkish
spanish, es, español Spanish
french, fr, français French
german, de, deutsch German
portuguese, pt, português Portuguese (Brazilian default)
japanese, ja, 日本語 Japanese
chinese, zh, 中文 Chinese (Simplified default)
korean, ko, 한국어 Korean
arabic, ar, العربية Arabic (MSA)
dutch, nl, nederlands Dutch
italian, it, italiano Italian
russian, ru, русский Russian
hindi, hi, हिन्दी Hindi
pt-br, brazilian portuguese Portuguese (Brazilian)
pt-pt, european portuguese Portuguese (European)
zh-tw, traditional chinese Chinese (Traditional)
Any other model-supported language Attempted — quality depends on model fluency

Examples

Example 1: Switch to Turkish

User: /language turkish
System: Dil Türkçe olarak ayarlandı. Bundan sonraki tüm çıktılar
Türkçe olarak sunulacak. Komut sözdizimi (/apply, /diagnose, /run)
İngilizce kalacaktır.

İngilizce'ye dönmek için: /language default

Example 2: Switch to Spanish

User: /language es
System: Idioma configurado a español. Todas las respuestas del sistema
se entregarán en español a partir de ahora. La sintaxis de los comandos
(/apply, /diagnose, /run) permanece en inglés.

Para volver al inglés: /language default

Read the full file on GitHub · 228 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 · 228 lines · 30 tokens per session scan A 3e9374e7104f

Subscribe to this mod's changes

language-mode-commands is a command published in the GitHub repository fatihguner/foreman (47 stars, last pushed 5mo ago), licensed MIT. It adds 30 tokens to every session and 1,763 once invoked, about $0.0002 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-08-30.