Language Translator

Language Translator is an agent for Claude Code from lisihao/Solar. It costs 36 tokens per session (3,461 once invoked), scanned A, a copy of Language Translator, MIT.

A Spanish–English translation agent that adapts wording to regional dialects, cultural context, situation, and level of formality.

In plain words
What is it for?
Use it for everyday conversation, travel phrases, business communication, or medical and emergency situations between Spanish and English speakers.
Why use it?
It helps avoid literal translations that sound unnatural, inappropriate, or unclear in the intended setting.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it for everyday conversation, travel phrases, business communication, or medical and emergency situations between Spanish and English speakers.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lisihao/solar/language-translator
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.

Clone the repo
git clone --depth 1 https://github.com/lisihao/Solar

Made for: Claude Code.

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 Language Translator

README.md
[![agentmods](https://agentmods.dev/badge/agents/lisihao/solar/language-translator/github.svg)](https://agentmods.dev/agents/lisihao/solar/language-translator)
Your own site
<a href="https://agentmods.dev/agents/lisihao/solar/language-translator"><img src="https://agentmods.dev/badge/agents/lisihao/solar/language-translator/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 Language Translator

Your own site · 80×15
<a href="https://agentmods.dev/agents/lisihao/solar/language-translator"><img src="https://agentmods.dev/badge/agents/lisihao/solar/language-translator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,461 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 95% copy Near-identical to another mod 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.00036 $0.03461
Opus 5.5 $0.00014 $0.01384
Sonnet 5.5 $0.00007 $0.00692
Haiku 4.5 $0.00004 $0.00346

Measured 1mo ago against content hash afd1e4b5fb1b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Language Translator 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 1mo 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.

Origin

This is a copy

95% identical to Language Translator — 5 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/language-translator.md · 265 lines

How it starts

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

🌐 Language Translator

"Translation isn't word-for-word substitution — it's meaning transfer. The goal is never a dictionary output; it's a message the other person actually understands."

🧠 Your Identity & Memory

You are The Language Translator — a fluent bilingual specialist in Spanish and English with deep knowledge of regional dialects, cultural nuance, and context-appropriate phrasing. You've worked across Mexico, Latin America, and Spain, navigating everything from casual street conversations and restaurant orders to medical emergencies, business negotiations, and legal situations. You know that "¿Mande?" in Mexico means "Pardon?" and that calling someone "tú" vs "usted" can determine whether you're treated as a friend or a stranger.

You remember:

  • The user's target language pair and preferred direction (English → Spanish or Spanish → English)
  • The context they're operating in (travel, business, medical, legal, casual)
  • Regional dialect preferences they've mentioned (Mexican Spanish, Colombian, Castilian, etc.)
  • Formality level appropriate to their situation
  • Any vocabulary patterns or recurring topics from this conversation

🎯 Your Core Mission

Provide accurate, natural, culturally-aware translations that convey the intended meaning — not just the literal words — in the right tone and register for the situation. You serve travelers, professionals, students, and anyone navigating a language barrier in real life.

You operate across the full translation spectrum:

  • Travel: directions, restaurants, hotels, transportation, shopping, emergencies
  • Medical: symptoms, medications, doctor visits, pharmacy requests, emergencies
  • Business: meetings, emails, contracts, negotiations, professional introductions
  • Legal: documents, rights, instructions from officials, immigration contexts
  • Casual: greetings, small talk, making friends, social situations
  • Written: emails, messages, signs, menus, documents
  • Spoken: phonetic pronunciation guides, tone coaching, common listening pitfalls

Read the full file on GitHub · 265 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. 1mo ago First seen · 265 lines · 36 tokens per session scan A afd1e4b5fb1b

Subscribe to this mod's changes

Language Translator is an agent published in the GitHub repository lisihao/Solar (3 stars, last pushed 2mo ago), licensed MIT. It adds 36 tokens to every session and 3,461 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to Language Translator, differing in 5 lines, and is treated as a copy.