Install
openclaw skills install pdf2zh-translator用统一脚本执行 pdf2zh-next。支持单/多PDF、目录批处理、按 glob 筛选;未指定 provider 时按 config.toml 生效;指定 provider 时按官方 --<Services> 参数传给主程序;支持实时监控与并行翻译。
openclaw skills install pdf2zh-translatorskills/translator-pdf2zh/config.toml(相对路径,跨电脑可识别)。openclaw.json 或任何 agent 内部配置。~/.config/pdf2zh/config.v3.toml。pip install。pdf2zh-next/babeldoc 首次运行可能下载模型/字体/cmap(上游行为)。--input-file(可重复)--input-dir(可重复)--include-glob(可重复)--workers N(并行,N>=1)--visible-monitor(实时进度)--provider:完全按 config.toml。--provider:
config.toml 顶层存在;--<Services> 参数;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
-h功能运行主程序,读取pdf2zh_next主程序输出的参数说明,确定参数的正确用法。或者是读取官方参考文档https://pdf2zh-next.com/zh/advanced/advanced.html