← 返回 Skills 市场
pdf2zh-next翻译
作者
Tiandoufayale
· GitHub ↗
· v0.0.3
· MIT-0
271
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install pdf2zh-translator
功能描述
用统一脚本执行 pdf2zh-next。支持单/多PDF、目录批处理、按 glob 筛选;未指定 provider 时按 config.toml 生效;指定 provider 时按官方 --<Services> 参数传给主程序;支持实时监控与并行翻译。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install pdf2zh-translator - 安装完成后,直接呼叫该 Skill 的名称或使用
/pdf2zh-translator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
元数据
常见问题
pdf2zh-next翻译 是什么?
用统一脚本执行 pdf2zh-next。支持单/多PDF、目录批处理、按 glob 筛选;未指定 provider 时按 config.toml 生效;指定 provider 时按官方 --<Services> 参数传给主程序;支持实时监控与并行翻译。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 271 次。
如何安装 pdf2zh-next翻译?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install pdf2zh-translator」即可一键安装,无需额外配置。
pdf2zh-next翻译 是免费的吗?
是的,pdf2zh-next翻译 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
pdf2zh-next翻译 支持哪些平台?
pdf2zh-next翻译 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 pdf2zh-next翻译?
由 Tiandoufayale(@mxingchtongaelofficial2568)开发并维护,当前版本 v0.0.3。
推荐 Skills