transtools

A translation tool that converts text from one language to another, with Chinese as the default source language when none is specified.

In plain words
What is it for?
Use it for Chinese-to-English translation, English-to-Chinese translation, or other language conversions by providing the text and language codes.
Why use it?
It avoids translating text manually and lets you state the source and target languages directly.

Skill for Claude CodeCodex

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 skills/coderwanfeng/python-office/transtools
Any agent
npx skills add CoderWanFeng/python-office --skill transtools
Clone the repo
git clone --depth 1 https://github.com/CoderWanFeng/python-office

Made for: Claude Code, Codex.

Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 295 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.00036 $0.00295
Opus 5 $0.00018 $0.00148
Sonnet 5 $0.00007 $0.00059
Haiku 4.5 $0.00004 $0.00030

Measured yesterday against content hash 7bdac3618f9f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

transtools 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (__init__.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/tools/transtools/SKILL.md · 54 lines

What it actually says

transtools Skill

将内容从一种语言翻译为另一种语言

功能描述

使用翻译引擎将内容从源语言翻译为目标语言。

所属分类

office/skills/tools/transtools/

调用方式

from skills.tools import transtools

result = transtools(
    to_lang='en',
    content='你好世界',
    from_lang='zh'
)
print(result)

参数说明

参数 类型 必填 默认值 说明
to_lang str - 目标语言
content str - 待翻译的内容
from_lang str 'zh' 源语言(默认中文)

返回值

str:翻译后的结果

使用示例

from skills.tools import transtools
result = transtools(to_lang='en', content='你好,世界!')
print(result)  # Hello, world!

原始函数

office.api.tools.transtools

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 54 lines · 36 tokens per session scan A 7bdac3618f9f

Subscribe to this mod's changes

transtools is a skill published in the GitHub repository CoderWanFeng/python-office (1,346 stars, last pushed 12d ago), licensed Apache-2.0. It adds 36 tokens to every session and 295 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-30.

Related

Other skills, from other repositories

airflow-translations

Add or update translations for the Apache Airflow UI. Guides through setting up locales, scaffolding translation files, translating with locale-specific guidelines, and validating results. Use when working with i18n tasks in airflow-core/src/airflow/ui/public/i18n/locales/.

apache/airflow · 60 tokens

docs-sync

Analyze main branch implementation and configuration to find missing, incorrect, or outdated documentation in docs/. Use when asked to audit doc coverage, sync docs with code, or propose doc updates/structure changes. Only update English docs under docs/ and never touch translated docs under docs/ja, docs/ko, or…

openai/openai-agents-python · 79 tokens

frontend-feature

Build a new page, view, or data-driven feature in the Next.js frontend. Use when adding a route under the dashboard/marketing area, wiring UI to a backend endpoint, adding client state, or creating a localized page. Covers App Router, data fetching, Zustand stores, and i18n.

vstorm-co/full-stack-ai-agent-template · 64 tokens

qiskit-to-cudaq

Use when porting Qiskit Python circuits to CUDA-Q kernels while preserving algorithms and validation fidelity.

NVIDIA/cuda-quantum · 28 tokens

youtube-cli

Searches YouTube and fetches video transcripts via the cli-web-youtube command-line tool — video search, video details (views, duration, description, keywords), trending by category, channel info, and timestamped transcripts/captions with language selection and translation. Use when the user asks about YouTube…

ItamarZand88/CLI-Anything-WEB · 105 tokens

jmcomic

Search, browse, inspect album-specific or site-wide comments, and download manga from JMComic (18comic), obtain the latest Android APK from hect0x7/JMComic-APK, and invoke the upstream jm-view-server jms command for local reading. Use for manga discovery, ranking, comment analysis, downloads, post-processing…

hect0x7/jmcomic-ai · 101 tokens