pdf-translate
Installation
SKILL.md
PDF Translate
Translate a PDF with the bundled Code4Life engine. Keep the source file unchanged and produce a separate PDF with the same page structure.
When this skill runs inside the repository, first read
agent-knowledge/index.md. For preservation or
layout work, load its PDF engine, regression, and validation routes. These are
the shared project instructions for Codex and Claude; do not duplicate them in
this entrypoint.
Resolve the skill root
This skill may be installed globally while the user's files live elsewhere. Resolve the absolute directory containing this SKILL.md before running anything. Call its scripts and dependency files by absolute path; do not assume the current working directory is the skill directory.
Use the interpreter inside <skill-root>/.venv:
- Windows:
<skill-root>\.venv\Scripts\python.exe - macOS/Linux:
<skill-root>/.venv/bin/python