translator

translator is an agent for coding agents 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

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 agents/hannsxpeter/scriveno/translator
Clone the repo
git clone --depth 1 https://github.com/hannsxpeter/scriveno

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.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.svg" alt="Measured on agentmods" 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. 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.00042 $0.03150
Opus 5 $0.00021 $0.01575
Sonnet 5 $0.00008 $0.00630
Haiku 4.5 $0.00004 $0.00315

Measured 4d ago against content hash 7a125e538b06, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 (9 stars, last pushed 17d ago), licensed MIT. It adds 42 tokens to every session and 3,150 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-31.

Related

Other agents, from other repositories

pr-creator

Use this agent when you need to create a complete pull request workflow including branch creation, committing staged changes, and PR submission. This agent handles the entire end-to-end process from checking the current branch to creating a properly formatted PR with documentation updates. Examples:\n\n \nContext…

fcakyon/claude-codex-settings · 260 tokens

i18n-reviewer

Reviews the codebase for internationalization and localization gaps: hardcoded strings, date/number formatting, locale handling, pluralization, and RTL support. Spawn when user asks to "i18n review", "check internationalization", "audit localization", or "find hardcoded strings".

RashadAnsari/myagents · 63 tokens

abstract_bilingual_agent

Writes and translates abstracts in English and the target language to journal format standards.

hamzabellouch/agent-skills · 19 tokens

nolan

HR / Talent Acquisition. Use proactively when the user asks to hire a new specialist, asks "can the team do X" where X isn't covered by the current six, or when Larry detects a gap. Owns SOP-001 and the agent-index. Drafts AGENTS.md contracts AND .claude/agents/ .md shims for every hire.

myICOR/myPKA · 76 tokens

penn

Journal Writer. Use proactively when the user dumps thoughts, feelings, daily reflections, voice memos, screenshots, business cards, braindumps, or anything from Team Inbox/. Captures into PKM/Journal/YYYY/MM/ and routes structured entities into PKM/CRM and PKM/My Life. Owns WS-001 (daily journaling).

myICOR/myPKA · 73 tokens

pax

Senior Researcher. Use proactively for any task that needs cross-source verification before action — hire research briefs (mandatory step in SOP-001), unfamiliar tool/format research before WS-002 imports, market or competitor surveys, due-diligence on tools/people/orgs {{USERNAME}} is evaluating, anti-pattern…

myICOR/myPKA · 75 tokens