pdf-translate
Translate or diagnose local text-based PDFs in this repository while preserving layout, formulas, tables, figures, styles, rotation, and technical glyphs. Use for PDF translation, incomplete output, visual regressions, or preservation fixes; not for OCR-only scans or complex-script targets.
How do I install this agent skill?
npx skills add https://github.com/breslee1707/vi-translate --skill pdf-translateIs this agent skill safe to install?
- Gen Agent Trust Hubwarn
This skill translates local PDF documents while preserving layout. It features a sophisticated engine that interacts deeply with the host system, including a self-update mechanism that downloads binaries from GitHub, the use of PowerShell with execution policy bypasses for file management, and unsafe data deserialization via the pickle module. It also sends document text to Google Translate, which may have privacy implications for sensitive documents.
- Socketwarn
1 alert: gptAnomaly
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
PDF Translate Project Skill
This is the Claude Code adapter for the canonical cross-agent skill.
Before acting:
- Read
../../../SKILL.mdcompletely and follow its workflow and boundaries. - Read
../../../agent-knowledge/index.md, then its routed PDF engine, regression, and validation files relevant to the request. - Resolve commands from the repository root containing
pdf2zh/andscripts/translate_pdf.py, not from this adapter directory.
On macOS use .venv/bin/python and bash build-macos.sh; on Windows use
.venv\Scripts\python.exe and build.ps1. The preservation behavior and tests
are shared across platforms. Keep the source unchanged, validate rendered
output, and report partial fallbacks honestly.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/breslee1707/vi-translate/pdf-translate">View pdf-translate on skillZs</a>