obsidian-gemini-helper: Command for Claude Code

.claude/commands/translate.md

translate is a command for Claude Code from takeshy/obsidian-gemini-helper. It costs 0 tokens per session (524 once invoked), scanned A, original, MIT.

A documentation translation command for creating German, Spanish, French, Italian, Japanese, Korean, Portuguese, and Simplified Chinese versions of selected files.

In plain words
What is it for?
Translating README.md, WORKFLOW_NODES.md, and the English interface text file into the listed languages while preserving formatting.
Why use it?
It avoids translating every file manually and helps keep existing translations while updating only new or changed content.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is takeshy/obsidian-gemini-helper's own configuration. It tells Claude Code how to work on obsidian-gemini-helper itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything obsidian-gemini-helper configures →

Reuse

Borrowing it

Nothing to install: this file belongs to takeshy/obsidian-gemini-helper. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/takeshy/obsidian-gemini-helper/master/.claude/commands/translate.md
Clone the repo
git clone --depth 1 https://github.com/takeshy/obsidian-gemini-helper

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 translate

README.md
[![agentmods](https://agentmods.dev/badge/commands/takeshy/obsidian-gemini-helper/translate/github.svg)](https://agentmods.dev/commands/takeshy/obsidian-gemini-helper/translate)
Your own site
<a href="https://agentmods.dev/commands/takeshy/obsidian-gemini-helper/translate"><img src="https://agentmods.dev/badge/commands/takeshy/obsidian-gemini-helper/translate/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 translate

Your own site · 80×15
<a href="https://agentmods.dev/commands/takeshy/obsidian-gemini-helper/translate"><img src="https://agentmods.dev/badge/commands/takeshy/obsidian-gemini-helper/translate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 524 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.00000 $0.00524
Opus 5 $0.00000 $0.00262
Sonnet 5 $0.00000 $0.00105
Haiku 4.5 $0.00000 $0.00052

Measured 10d ago against content hash 3f72047bf741, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

translate 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 10d 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

Copies of this mod

1 near-identical copy found in the catalogue:

  • translate — 100% identical, 0 lines differ
.claude/commands/translate.md · 48 lines

What it actually says

Translate Documentation Files

Translate the following documentation files to all supported languages:

Target Languages

  • de (German)
  • es (Spanish)
  • fr (French)
  • it (Italian)
  • ja (Japanese)
  • ko (Korean)
  • pt (Portuguese)
  • zh (Chinese Simplified)

Files to Translate

1. README.md

  • Source: README.md
  • Targets: README_de.md, README_es.md, README_fr.md, README_it.md, README_ja.md, README_ko.md, README_pt.md, README_zh.md

2. WORKFLOW_NODES.md

  • Source: WORKFLOW_NODES.md
  • Targets: WORKFLOW_NODES_de.md, WORKFLOW_NODES_es.md, WORKFLOW_NODES_fr.md, WORKFLOW_NODES_it.md, WORKFLOW_NODES_ja.md, WORKFLOW_NODES_ko.md, WORKFLOW_NODES_pt.md, WORKFLOW_NODES_zh.md

3. i18n/en.ts

  • Source: src/i18n/en.ts
  • Targets: src/i18n/de.ts, src/i18n/es.ts, src/i18n/fr.ts, src/i18n/it.ts, src/i18n/ja.ts, src/i18n/ko.ts, src/i18n/pt.ts, src/i18n/zh.ts

Translation Instructions

  1. Read the source file and compare with existing translations
  2. Identify changes - Find sections that are new or modified
  3. Translate incrementally - Only translate changed/new content, preserve existing translations
  4. Maintain formatting - Keep markdown structure, code blocks, links, and image references intact
  5. Technical terms - Keep technical terms like "Obsidian", "Canvas", "YAML", "API", node type names (command, if, while, etc.) in English
  6. Code examples - Do not translate code, variable names, or file paths inside code blocks

Workflow

For each target language:

  1. Read the source English file
  2. Read the existing translation (if exists)
  3. Compare and identify what needs to be translated
  4. Translate only the new/changed sections
  5. Write the updated translation file

Start with one language at a time. Ask which language to translate first, or translate all if specified.

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. 10d ago First seen · 48 lines · 0 tokens per session scan A 3f72047bf741

Subscribe to this mod's changes

translate is a command published in the GitHub repository takeshy/obsidian-gemini-helper (114 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 524 tokens. 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.