← Back to Skills Marketplace
pdf2zh-next翻译
by
Tiandoufayale
· GitHub ↗
· v0.0.3
· MIT-0
271
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install pdf2zh-translator
Description
用统一脚本执行 pdf2zh-next。支持单/多PDF、目录批处理、按 glob 筛选;未指定 provider 时按 config.toml 生效;指定 provider 时按官方 --<Services> 参数传给主程序;支持实时监控与并行翻译。
Usage Guidance
This skill appears to do what it says: it is a local wrapper that runs your installed pdf2zh-next CLI using the included config.toml and isolates the child process environment to avoid leaking provider keys. Before installing, consider: (1) the wrapper will execute whatever pdf2zh-next binary it finds on PATH or in common user locations — only use this skill if you trust the installed pdf2zh-next binary; (2) the helper probes some user-home paths to find the binary (a small deviation from the SKILL.md's strict 'only read config.toml' wording); (3) first-run of the upstream pdf2zh-next/babeldoc tool may download models/assets — if you want to avoid network activity, pre-install and initialize pdf2zh-next offline; (4) review the included config.toml to ensure no API keys or endpoints are set to values you do not trust. If you need a stricter sandbox, run the wrapper in an environment where pdf2zh-next is preinstalled in a controlled location or modify the script to require an explicit --exe-path.
Capability Analysis
Type: OpenClaw Skill
Name: pdf2zh-translator
Version: 0.0.3
The skill is a well-structured wrapper for the pdf2zh-next translation utility. It demonstrates strong security practices, including explicit environment isolation in `scripts/run_pdf2zh_pipeline.py` (stripping sensitive environment variables and redirecting HOME/APPDATA to the skill directory) and strict path validation to ensure only the local `config.toml` is accessed. No evidence of data exfiltration, malicious execution, or prompt injection was found.
Capability Assessment
Purpose & Capability
The skill's name/description match the included script and config.toml: it wraps and invokes the pdf2zh-next CLI with provider/config handling and parallel translation. One minor mismatch: SKILL.md states a strict read-only boundary (only skills/translator-pdf2zh/config.toml), but the script probes common user home paths (~/.local/bin, AppData) when locating an installed pdf2zh binary. Probing for an executable is reasonable for this wrapper but does slightly exceed the 'only read config.toml' claim.
Instruction Scope
The SKILL.md instructions are implemented by the script. The script enforces the declared rules: it requires the config path to equal the bundled config.toml, avoids writing global configs, and isolates subprocess env. It executes the external pdf2zh CLI (including running it with -h to parse help text) which is expected for this purpose. The script does not read agent internals or other config files.
Install Mechanism
There is no install spec (instruction-only + a small helper script). Nothing is downloaded or extracted by the skill itself. The script intentionally avoids runtime pip installs.
Credentials
The skill declares no required environment variables or credentials. The helper creates an isolated child environment that strips provider/API secrets by design and sets HOME/XDG_CONFIG_HOME to the skill directory before launching the CLI, which reduces risk. The wrapper preserves PATH and other minimal runtime keys so it can find/launch the pdf2zh binary.
Persistence & Privilege
The skill does not request permanent presence (always=false) and does not modify other skills or global agent config. It runs as a normal, user-invoked wrapper and does not persist credentials or settings beyond the included config.toml.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install pdf2zh-translator - After installation, invoke the skill by name or use
/pdf2zh-translator - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.0.3
Version 0.0.3
v0.0.2
translator-pdf2zh v0.0.2
- 新增 config.toml 配置文件,增强 provider 配置和可移植性
- 强制只读写 skills/translator-pdf2zh/config.toml,禁止读取 agent/全局配置,提升安全性
- 支持官方 --<Services> 参数格式,并支持并行与实时监控
- 明确 provider 规则及输入参数校验,提升执行安全与可控性
- 更新帮助文档。完整参考文档见https://github.com/mxingchtongaelofficial2568/openclaw-skills/blob/main/translator-pdf2zh/README.md
Metadata
Frequently Asked Questions
What is pdf2zh-next翻译?
用统一脚本执行 pdf2zh-next。支持单/多PDF、目录批处理、按 glob 筛选;未指定 provider 时按 config.toml 生效;指定 provider 时按官方 --<Services> 参数传给主程序;支持实时监控与并行翻译。 It is an AI Agent Skill for Claude Code / OpenClaw, with 271 downloads so far.
How do I install pdf2zh-next翻译?
Run "/install pdf2zh-translator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is pdf2zh-next翻译 free?
Yes, pdf2zh-next翻译 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does pdf2zh-next翻译 support?
pdf2zh-next翻译 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created pdf2zh-next翻译?
It is built and maintained by Tiandoufayale (@mxingchtongaelofficial2568); the current version is v0.0.3.
More Skills