Tiandoufayale

pdf2zh-next翻译

Officev0.0.3
By TiandoufayaleUpdated 2026-05-112 versions · latest released 2026-03-14pdf2zh-translator@clawhub_mxingchtongaelofficial2568/pdf2zh-translator
PDFProcess Automation

According to AlphaMoat, as of 2026-09, pdf2zh-next翻译 has 1,588 downloads and 0 stars — ranked #4,711 of 5,078 AI skills overall, and #380 of 435 in Office.

Installs
224
Downloads
1.6K
Stars
-
Overall Rank
#4,711
Top 93% overall · Top 88% in Office
PlatformInstallsDownloadsStarsComments
ClawHub ↗24941--
SkillHub ↗2241.6K-—

Platforms count differently and update at different times.

What this skill does

Invocation looks like python skills/translator-pdf2zh/scripts/run_pdf2zh_pipeline.py --input-file "{PDF路径}" --output-dir "{输出目录}" --provider "{可选}" --config-path "skills/translator-pdf2zh/config.toml" --visible-monitor --workers 1; inputs support repeatable --input-file/--input-dir/--include-glob, --workers N (N>=1), and --visible-monitor for live progress. Provider rules: without --provider, everything follows config.toml; with it, the wrapper first validates the provider exists at the top level of config.toml, then validates the main program has an official --<Services> parameter, and only passes official parameters after both checks pass. Security boundaries: only skills/translator-pdf2zh/config.toml may be read; reading openclaw.json or any agent-internal config is forbidden, as is reading or writing the global ~/.config/pdf2zh/config.v3.toml; subprocesses must isolate HOME/USERPROFILE/XDG_CONFIG_HOME, and no runtime pip install is performed. The script itself contains no external download logic, though pdf2zh-next/babeldoc may download models/fonts/cmap on first run as upstream behavior. When parameters are unclear, run the main program with -h or consult the official docs. The skill card warns that selected PDF contents may be sent to the configured translation provider, so sensitive documents should review config.toml and choose a local or trusted provider; an untrusted executable path could run unexpected code through the wrapper.

Profile published 2026-10-27

What you can do with it

  • Translate single or multiple PDFs into Chinese
  • Batch-process directories with glob filtering
  • Parallel translation with live progress monitoring
  • Select translation services via config.toml or an explicit provider

When to use it

  • When PDF files or batches need translating from an agent workflow
  • When pdf2zh-next should be invoked with controlled security boundaries

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Translate this PDF into Chinese and output to the given directory
Batch-translate the PDFs in this directory in parallel
Translate these files using the provider configured in config.toml

Monthly Trend

Downloads1.6K
2529701.7K2026-03 · Downloads 3512026-05 · Downloads 7282026-06 · Downloads 8582026-07 · Downloads 1.1K2026-08 · Downloads 1.2K2026-09 · Downloads 1.6K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-06 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-091.6K—-
2026-081.2K+12.8%-
2026-071.1K+26.2%-
2026-06858+17.9%-
2026-05728—-
2026-03351—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

1.9 KB · ClawHub v0.0.3
---
name: translator-pdf2zh
description: 用统一脚本执行 pdf2zh-next。支持单/多PDF、目录批处理、按 glob 筛选;未指定 provider 时按 config.toml 生效;指定 provider 时按官方 --<Services> 参数传给主程序;支持实时监控与并行翻译。
---

# translator-pdf2zh

## 1) 强制安全边界
1. 只允许读取 `skills/translator-pdf2zh/config.toml`(相对路径,跨电脑可识别)。
2. 禁止读取 `openclaw.json` 或任何 agent 内部配置。
Show all (44 lines)
3. 禁止读写全局 `~/.config/pdf2zh/config.v3.toml`。
4. 运行子进程时必须隔离 HOME/USERPROFILE/XDG_CONFIG_HOME。
5. 不做运行时 `pip install`。

## 2) 审计声明(避免误判“隐式下载”)
- 本脚本不内置外部下载逻辑。
- `pdf2zh-next/babeldoc` 首次运行可能下载模型/字体/cmap(上游行为)。

## 3) 输入能力
- `--input-file`(可重复)
- `--input-dir`(可重复)
- `--include-glob`(可重复)
- `--workers N`(并行,N>=1)
- `--visible-monitor`(实时进度)

## 4) Provider 规则
- 不传 `--provider`:完全按 `config.toml`。
- 传 `--provider`:
  - 先校验 provider 在 `config.toml` 顶层存在;
  - 再校验主程序存在官方 `--<Services>` 参数;
  - 通过后仅传官方参数。

## 5) 命令模板
```bash
python skills/translator-pdf2zh/scripts/run_pdf2zh_pipeline.py \
  --input-file "{PDF路径}" \
  --output-dir "{输出目录}" \
  --provider "{可选: openai|deepseek|siliconflow|openaicompatible|...}" \
  --config-path "skills/translator-pdf2zh/config.toml" \
  --visible-monitor \
  --workers 1
```
## 6) 帮助
- 如果Agent无法将用户的需求正确转化为pdf2zh_next主程序所能读懂的参数,Agent需要使用参数`-h`功能运行主程序,读取pdf2zh_next主程序输出的参数说明,确定参数的正确用法。或者是读取官方参考文档`https://pdf2zh-next.com/zh/advanced/advanced.html`

Popular in Office

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.