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 Hubpass
The PDF Translate skill translates local PDFs while preserving layout and formulas. The repository includes a self-updater for the application and fetches necessary AI models and fonts from project dependencies. Its primary security risk is indirect prompt injection, as the agent processes text from untrusted PDF files, though the skill provides instructions to mitigate this risk.
- Socketwarn
1 alert: gptSecurity
- 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>