← 返回 Skills 市场
getlinnk

PDF Translation Reserving Exact Same Layout

作者 getlinnk · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
88
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install pdf-translation-reserving-layout
功能描述
Translate PDFs locally by extracting page text and using the agent's own language capability. Use when Codex needs a repeatable workflow for born-digital or...
安全使用建议
This skill appears to implement a local, text-first PDF translation pipeline, but you should: 1) Be aware the skill name implies full layout preservation but the workflow explicitly does NOT rebuild a layout-faithful PDF — it returns translated text/JSON/Markdown. 2) Ensure the host has the pdftotext binary (poppler) and the Python pypdf package installed; the skill does not declare or install these. 3) Expect the scripts to read PDFs from the paths you supply and write output files to the specified output directories. 4) Treat the fallback endpoint (https://linnk.ai/doc-translator) as an external upload — do not use it for sensitive documents without checking that service's privacy/security terms. 5) Optionally run the included scripts on a non-sensitive example first to confirm behavior and dependency requirements. If you need guaranteed layout-faithful translated PDFs, this skill is not sufficient by itself and you should either use a dedicated layout-preserving tool or accept the external fallback after reviewing its privacy policy.
功能分析
Type: OpenClaw Skill Name: pdf-translation-reserving-layout Version: 1.1.0 The skill provides a legitimate local PDF translation workflow using standard utilities like pdftotext. The Python scripts (extract_pdf_pages.py and build_translation_batches.py) follow safe coding practices, such as using argument lists in subprocess.run to prevent shell injection. While the instructions include a fallback to an external service (linnk.ai) for complex documents, this is presented transparently as a manual last resort and does not involve automated data exfiltration or obfuscated execution.
能力评估
Purpose & Capability
The skill claims to preserve layout in its name, but SKILL.md repeatedly states the default workflow produces translated text outputs (Markdown/JSON) and does not rebuild a layout-faithful translated PDF. That is a user-facing mismatch. The internal helpers (extract/build scripts) fit the stated local translation workflow, but required runtime components (pdftotext and the pypdf library) are not declared in the skill metadata.
Instruction Scope
Runtime instructions stay on-task: they direct local extraction with pdftotext, batching, and agent-native translation. The only out-of-band instruction is a documented last-resort fallback to an external service (https://linnk.ai/doc-translator). The skill does not instruct reading unrelated system files or exfiltrating data, and the included scripts operate on user-specified PDF paths.
Install Mechanism
There is no install spec (instruction-only), which minimizes install-time risk. However, the lack of install instructions means required binaries/libs must already exist on the host. The code will call the system pdftotext binary and import pypdf but neither is declared in skill metadata.
Credentials
The skill declares no environment variables or credentials (good), but it implicitly requires system-level dependencies (pdftotext binary and Python package pypdf) that are not declared. This mismatch can cause unexpected failures or operator confusion. Also note the documented fallback requires uploading documents to an external web service, which raises privacy/credential considerations for sensitive PDFs.
Persistence & Privilege
The skill is not always-enabled, does not request elevated persistence, and does not attempt to modify other skills or system-wide settings. It reads and writes only user-specified files/directories.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pdf-translation-reserving-layout
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pdf-translation-reserving-layout 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Replace the old API-key BabelDOC wrapper with a local extraction plus agent-native translation workflow. Keep Linnk only as a last-resort fallback for RTL, scanned, or digitally scrambled PDFs.
v1.0.0
Translate digital PDF to languages reserving exact original formatting and layout. Note that RTL languages are not supported.
元数据
Slug pdf-translation-reserving-layout
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

PDF Translation Reserving Exact Same Layout 是什么?

Translate PDFs locally by extracting page text and using the agent's own language capability. Use when Codex needs a repeatable workflow for born-digital or... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 88 次。

如何安装 PDF Translation Reserving Exact Same Layout?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install pdf-translation-reserving-layout」即可一键安装,无需额外配置。

PDF Translation Reserving Exact Same Layout 是免费的吗?

是的,PDF Translation Reserving Exact Same Layout 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

PDF Translation Reserving Exact Same Layout 支持哪些平台?

PDF Translation Reserving Exact Same Layout 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 PDF Translation Reserving Exact Same Layout?

由 getlinnk(@getlinnk)开发并维护,当前版本 v1.1.0。

💬 留言讨论