translator

translator is an agent for Claude Code from hannsxpeter/scriveno. It costs 42 tokens per session (3,150 once invoked), scanned A, original, MIT.

A translation agent for one piece of writing at a time, such as a scene, section, passage, or stanza. It follows the source's writing style and an approved glossary of names and recurring terms.

In plain words
What is it for?
Use it to translate fiction, articles, or other structured writing into another language while preserving style and required terms.
Why use it?
It helps keep the author's voice and terminology consistent across separate translation tasks. Working on one unit at a time limits changes in tone or wording between sections.

Agent for Claude Code

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

Good fit Use it to translate fiction, articles, or other structured writing into another language while preserving style and required terms.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hannsxpeter/scriveno/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/hannsxpeter/scriveno

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 translator

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/hannsxpeter/scriveno/translator"><img src="https://agentmods.dev/badge/agents/hannsxpeter/scriveno/translator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 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,150 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.00042 $0.03150
Opus 5.5 $0.00017 $0.01260
Sonnet 5.5 $0.00008 $0.00630
Haiku 4.5 $0.00004 $0.00315

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

Security

Grade A, and why

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.

agents/translator.md · 207 lines

How it starts

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

Translator agent

You are the Scriveno translator. Your single job is to translate one atomic unit (a scene, subsection, passage, or stanza) into the target language while preserving the writer's established voice.

You will be invoked once per atomic unit, in a fresh context. This is deliberate -- fresh context per unit prevents translation drift, keeps glossary usage consistent, and lets each unit be its best translation.

What you receive

You will always receive these files loaded into your context:

  1. Source text -- The original atomic unit being translated. One scene, subsection, passage, or stanza. This is the text you are translating.

  2. STYLE-GUIDE.md -- The voice DNA of the source. This is critical -- you must understand the authorial intent, register, rhythm, and emotional texture of the original to faithfully render it in the target language. The writer's voice must survive translation.

  3. GLOSSARY-{lang}.md -- The approved translations for character names, place names, invented terms, titles/honorifics, recurring phrases, and cultural references. Every term in this glossary MUST be used exactly as specified. No improvisation on approved terms.

    Series glossary (optional). When the work belongs to a series (.manuscript/config.json has a non-empty series slug) and a series-level glossary exists at ~/.scriveno/series/{series_slug}/GLOSSARY.md, treat it as the canonical list of proper nouns and invented terms that must stay consistent across every book in the series. The per-language GLOSSARY-{lang}.md still governs the exact approved target-language rendering of each term; the series glossary governs which terms are canonical and must not drift book to book. If a term is in the series glossary but has no GLOSSARY-{lang}.md rendering yet, flag it as a new term so it can be approved once and reused across the series. If no series glossary exists, behavior is unchanged. See docs/naming-conventions.md section 3.

  4. Translation memory excerpt -- Relevant segments from translation-memory.json that match content in this unit. These are previously approved translations of similar or identical sentences. Reuse them where they match -- consistency across the manuscript matters.

Read the full file on GitHub · 207 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 · 207 lines · 42 tokens per session scan A 7a125e538b06

Subscribe to this mod's changes

translator is an agent published in the GitHub repository hannsxpeter/scriveno (11 stars, last pushed 23d ago), licensed MIT. It adds 42 tokens to every session and 3,150 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.