crazyrouter-translate

AI-powered translation via Crazyrouter. Translate text between any languages using GPT-5, Claude, DeepSeek, or Qwen. Supports file translation and multi-model comparison. Use when user asks to translate text, documents, or compare translations. Requires environment variable CRAZYROUTER_API_KEY (get at https://crazyrouter.com).

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "crazyrouter-translate" with this command: npx skills add xujfcn/crazyrouter-translate

AI Translation via Crazyrouter

Translate text between any languages using the best AI models through Crazyrouter.

Script Directory

Agent Execution:

  1. SKILL_DIR = this SKILL.md file's directory
  2. Script path = ${SKILL_DIR}/scripts/main.mjs

Step 0: Check API Key ⛔ BLOCKING

[ -n "${CRAZYROUTER_API_KEY}" ] && echo "key_present" || echo "not_set"
ResultAction
key_presentContinue
not_setAsk user to set CRAZYROUTER_API_KEY. Get key at https://crazyrouter.com

Usage

# Basic translation
node ${SKILL_DIR}/scripts/main.mjs --text "Hello world" --to zh

# Translate file
node ${SKILL_DIR}/scripts/main.mjs --input article.md --to ja --output article_ja.md

# Use specific model
node ${SKILL_DIR}/scripts/main.mjs --text "Bonjour le monde" --to en --model deepseek-r1

# Specify source language
node ${SKILL_DIR}/scripts/main.mjs --text "你好世界" --from zh --to ko

# Keep formatting (Markdown)
node ${SKILL_DIR}/scripts/main.mjs --input README.md --to ja --output README_ja.md --format markdown

Options

OptionDescriptionDefault
--text <text>Text to translate
--input <file>Read from file
--output <file>Save to filestdout
--from <lang>Source languageauto-detect
--to <lang>Target language (required)
--model <id>AI modelgpt-4o-mini
--format <fmt>plain or markdownplain

Language Codes

en, zh, ja, ko, es, fr, de, pt, ru, ar, vi, th, id, tr, it, pl, nl, sv, hi, ...

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Polymarket Politics Random Buyer

Randomly finds a live Polymarket politics market, checks trading context, and buys 1 USDC by default with explicit dry-run and live modes for AION Market.

Registry SourceRecently Updated
General

DB Schenker

德国铁路集团旗下物流巨头,专注欧洲最大陆运网络及多式联运,提供空运、海运及合同物流服务。

Registry SourceRecently Updated
General

Secretary Memory

OpenClaw 秘书式多分区记忆系统 v3.0。仿生现代秘书的笔记本分类法,支持:(1) 多分区并发搜索 + 每分区3条上下文召回,(2) 会话自动摘要,(3) 偏好自动提取 + 用户关系图谱,(4) 记忆冲突主动检测,(5) 定时 consolidation + 会话结束 hook,(6) 精细化恢复/回溯,...

Registry SourceRecently Updated
General

Hunt

Digital bounty hunter skill for finding, tracking, and managing online hackathon opportunities. Trigger when the user says "hunt", "find hackathons", "show m...

Registry SourceRecently Updated