docutranslate

docutranslate is a skill for Claude Code, Codex from znlgis/opengis-skills. It costs 47 tokens per session (3,153 once invoked), scanned A, original, MIT.

A local translation tool for PDF, Word, Excel, Markdown, subtitle, and other files that uses language models while preserving supported document formatting. It also offers a web interface, API, software libraries, and an MCP server for programmatic use.

In plain words
What is it for?
Use it to translate documents and subtitles, create glossaries, process academic PDFs with tables and formulas, and connect translation to applications through an API or SDK. PDF translation converts the document to Markdown, so its original layout is not preserved.
Why use it?
It reduces the manual work of translating many file types and helps keep terminology and supported layouts consistent across the translated files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it to translate documents and subtitles, create glossaries, process academic PDFs with tables and formulas, and connect translation to applications through an API or SDK. PDF translation converts the document to Markdown, so its original layout is not preserved.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/znlgis/opengis-skills/docutranslate
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.

Any agent
npx skills add znlgis/opengis-skills --skill docutranslate
Clone the repo
git clone --depth 1 https://github.com/znlgis/opengis-skills

Made for: Claude Code, Codex.

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 docutranslate

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/docutranslate"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/docutranslate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,153 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 74
    Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
    Fix: Pin the image: image:tag or image@sha256:abc123
  • medium MCP Rug Pull · line 76
    Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
    Fix: Pin the image: image:tag or image@sha256:abc123
  • medium Data Exfiltration · line 108
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 202
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.00047 $0.03153
Opus 5.5 $0.00019 $0.01261
Sonnet 5.5 $0.00009 $0.00631
Haiku 4.5 $0.00005 $0.00315

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

Security

Grade A, and why

docutranslate 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.

ai/docutranslate/SKILL.md · 261 lines

How it starts

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

项目地址: https://github.com/xunbu/docutranslate

PyPI: https://pypi.org/project/docutranslate/

官方文档: GitHub README(中/英/日/越)|API文档:启动后 http://127.0.0.1:8010/docs(Swagger UI)

最新发布: 参见 GitHub Releases

许可证: Mozilla Public License 2.0 (MPL-2.0) 最新版本: GitHub Release v1.7.10 / PyPI 1.7.9(GitHub 已发布 v1.7.10,PyPI 仍为 1.7.9;见 GitHub Releases 与 PyPI)

概述

DocuTranslate 是一款基于大语言模型(LLM)的本地文件翻译工具,主打「多格式 + 保留排版 + 可编程集成」。

  • 多格式支持:pdf、docx、xlsx、md、txt、json、epub、srt、ass 等。
  • PDF 智能解析:接入 MinerU(在线或本地部署),识别学术论文中的表格、公式、代码。
  • 术语表自动生成:确保专业术语在全文中翻译一致。
  • 格式保留:docx/xlsx 翻译后保留原始格式(暂不支持旧版 doc/xls)。
  • 多 AI 平台:兼容 OpenAI 兼容协议的主流平台,支持高并发翻译与自定义提示词。
  • 多种使用形态:开箱即用的 Web UI、RESTful API、Client SDK、MCP Server,以及 Windows/Mac 便携整合包(<40MB)。

注意: 翻译 pdf 时会先转换为 markdown,会丢失原始版式。对版式有严格要求者请注意。

DocuTranslate 迭代很快,命令、字段与参数请以当前版本的 docutranslate --help、Web 界面、http://127.0.0.1:8010/docs 及仓库最新代码为准。


环境与安装

前置要求

  • Python 3.11+(源码/包安装方式)
  • AI 平台的 API Key(OpenAI 兼容协议)
  • 翻译 PDF 需 MinerU:在线(申请 Token)或本地部署

安装方式

# pip 安装
pip install docutranslate
# 安装 MCP 扩展
pip install "docutranslate[mcp]"

# uv 安装(推荐)
uv init
uv add docutranslate
uv add "docutranslate[mcp]"

# 源码
git clone https://github.com/xunbu/docutranslate.git
cd docutranslate
uv sync --no-dev            # uv sync --no-dev --extra mcp / --all-extras

Docker:

docker run -d -p 8010:8010 xunbu/docutranslate:latest
# 请从 GitHub Releases 获取最新标签:https://github.com/xunbu/docutranslate/releases
docker run -it -p 8010:8010 xunbu/docutranslate:latest

便携整合包: 从 GitHub Releases 下载 Windows/Mac 整合包,解压后填入 API-Key 即可使用。


Web UI 与 API 服务

Read the full file on GitHub · 261 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. 10d ago Changed 88d82802b1ea
  2. 11d ago Changed · +7 lines 9ce1cde45511
  3. 1mo ago Changed d800e5ba3a66
  4. 1mo ago First seen · 254 lines · 47 tokens per session scan A 5f979a754a56

Subscribe to this mod's changes

docutranslate is a skill published in the GitHub repository znlgis/opengis-skills (72 stars, last pushed 6d ago), licensed MIT. It adds 47 tokens to every session and 3,153 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-30.

Related

Other skills, from other repositories

markitdown

Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.

synthetic-sciences/openscience · 53 tokens

active-directory-attacks

Assess Active Directory attack paths using scoped configuration review and controlled synthetic lab validation; identify prerequisites, evidence and mitigations.

ranbot-ai/awesome-skills · 28 tokens

figures

Makes publication-quality plots from data with matplotlib, learning curves, scaling laws, benchmark and ablation comparisons, Pareto trade-offs, heatmaps and confusion matrices, sized for the page, vector, with uncertainty shown. Use whenever results are plotted, charted or visualized for a paper, report or answer, or…

synthetic-sciences/openscience · 99 tokens

liteparse

Use this skill when the user asks to parse, perform multi-format document conversion or spatially extract text from an unstructured file (PDF, DOCX, PPTX, XLSX, images, etc.) locally without cloud dependencies.

synthetic-sciences/openscience · 49 tokens

docetl

Build and run LLM-powered data processing pipelines with DocETL. Use when users say "docetl", want to analyze unstructured data, process documents, extract information, or run ETL tasks on text. Helps with data collection, pipeline creation, execution, and optimization.

ucbepic/docetl · 59 tokens

ade

Parse documents and extract schema-shaped data with the ADE (Agentic Document Extraction) v2 APIs through the ade CLI. A local job-item store makes every run idempotent, resumable, and citable — repeat runs are free, interrupted runs resume, and every answer can cite element ids with visual evidence.

landing-ai/ade-cli · 65 tokens