Agent skill

PDF Translate

by breslee1707 in breslee1707/VI-Translate

Translate or diagnose local text-based PDFs in this repository while preserving layout, formulas, tables, figures, styles, rotation, and technical glyphs.

AGPL-3.0Auto-check passedDocuments & Office

Install PDF Translate

skills CLI
$ npx skills add breslee1707/VI-Translate --skill pdf-translate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install breslee1707/VI-Translate pdf-translate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/breslee1707/VI-Translate.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/pdf-translate .claude/skills/pdf-translate && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pdf-translate
GitHub stars
676
Token cost
~269 tokens
SKILL.md length
93 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Translate or diagnose local text-based PDFs in this repository while preserving layout, formulas, tables, figures, styles, rotation, and technical glyphs.

  • Works in 3 steps: Read ../../../SKILL.md completely and… → Read ../../../agent-knowledge/index.md,… → Resolve commands from the repository…
  • PDF translation
  • Calls bash
  • Incomplete output

What it does

PDF Translate is an agent skill from breslee1707/VI-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.

Its SKILL.md is about 270 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering PDF, Translation and Visual regression testing. The licence is AGPL-3.0.

When your agent uses it

  • PDF translation
  • Incomplete output
  • Visual regressions
  • Preservation fixes

Example prompts

  • “/pdf-translate”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Read ../../../SKILL.md completely and follow its workflow and boundaries.
  2. Read ../../../agent-knowledge/index.md, then its routed PDF engine,
  3. Resolve commands from the repository root containing pdf2zh/ and

What it can do on your machine

Read from SKILL.md and the folder at commit 302a6da. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

PDF Translate loads about 269 tokens when it runs. Until then it costs about 76 tokens; SKILL.md has 93 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~76
When it runs · the whole SKILL.md, loaded when a task matches
~269

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from breslee1707/VI-Translate at commit 302a6da, republished under its AGPL-3.0 licence (© breslee1707). 93 words, ~269 tokens.

Download SKILL.mdSave it as .claude/skills/pdf-translate/SKILL.md (or your agent's skills folder).
name
pdf-translate
description
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.

PDF Translate Project Skill

This is the Claude Code adapter for the canonical cross-agent skill.

Before acting:

  1. Read ../../../SKILL.md completely and follow its workflow and boundaries.
  2. Read ../../../agent-knowledge/index.md, then its routed PDF engine, regression, and validation files relevant to the request.
  3. Resolve commands from the repository root containing pdf2zh/ and scripts/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.

© breslee1707, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/pdf-translate of breslee1707/VI-Translate.

Open the folder on GitHubat commit 302a6da

Compare with similar skills

PDF Translate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

PDF Translate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
PDF Translate this skillbreslee1707/VI-Translate676—~269Automated safety check: PassAGPL-3.0
Translate Bookdeusyu/translate-book2.1k—~5.5kAutomated safety check: NotesMIT
PDF Translatelxsssssss/pdf-translate102—~1.6kAutomated safety check: PassMIT
Print Compatible Book LayoutSaberOnGo/public-domain-books-translation267—~4.1kAutomated safety check: PassNone
Media Processoravibebuilder/claude-prime120—~1.2kAutomated safety check: NotesMIT
PDF To HTMLdaymade/claude-code-skills1.4k—~1.8kAutomated safety check: PassMIT

Similar skills

  • Translate Book

    deusyu/translate-book

    Translate books (PDF/DOCX/EPUB) into any language using parallel sub-agents.

    2.1k GitHub stars~5.5k tokensUpdated 16 days ago
    Documents & OfficeAuto-check: notes
  • PDF Translate

    lxsssssss/pdf-translate

    A skill your agent uses when translating PDF documents between languages while strictly preserving original layout, formatting, typography, tables, and signatures.

    102 GitHub stars~1.6k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • Print Compatible Book Layout

    SaberOnGo/public-domain-books-translation

    A skill your agent uses when designing, translating, reviewing, or fixing LifeBook book/page layout, including print-compatible EPUB typography, Chinese title hierarchy, body rhythm, paragraph…

    267 GitHub stars~4.1k tokensUpdated 5 days ago
    Documents & OfficeAuto-check passed
  • Media Processor

    avibebuilder/claude-prime

    Specialized visual and multimedia processing tools. An agent skill from avibebuilder/claude-prime.

    120 GitHub stars~1.2k tokensUpdated 4 mo ago
    Documents & OfficeAuto-check: notes
  • PDF To HTML

    daymade/claude-code-skills

    Converts a PDF into one self-contained, readable HTML file that preserves images, tables, charts and reading order — optionally translating it into another language while keeping every figure.

    1.4k GitHub stars~1.8k tokensUpdated today
    Documents & OfficeAuto-check passed
  • PDF Math Translate Guide

    wentorai/research-plugins

    Translate scientific PDFs with preserved math formatting via PDFMathTranslate

    298 GitHub starsUsed in 1 repo~1.5k tokens
    Documents & OfficeAuto-check passed

More from breslee1707/VI-Translate

  • PDF Translate

    breslee1707/VI-Translate

    Translate local PDFs, including safe prose on image-only scans, into Vietnamese or another supported Latin-script language while preserving layout, formulas, tables, and figures.

    676 GitHub stars~2k tokensUpdated 9 days ago
    Auto-check passed

Questions about PDF Translate

What does PDF Translate do?

Translate or diagnose local text-based PDFs in this repository while preserving layout, formulas, tables, figures, styles, rotation, and technical glyphs. PDF Translate is an agent skill from breslee1707/VI-Translate. Translate or diagnose local text-based PDFs in this repository while preserving layout, formulas, tables, figures, styles, rotation, and technical glyphs.

When should I use PDF Translate?

PDF Translate fits situations like: PDF translation; incomplete output; visual regressions; preservation fixes.

How do I install PDF Translate in Claude Code?

Run `npx skills add breslee1707/VI-Translate --skill pdf-translate -a claude-code`. Or copy the skill folder (.claude/skills/pdf-translate in breslee1707/VI-Translate) into .claude/skills/pdf-translate in your project. Claude Code loads it when a task matches its description.

How do I install PDF Translate in Codex?

Run `npx skills add breslee1707/VI-Translate --skill pdf-translate -a codex`. Or copy the skill folder (.claude/skills/pdf-translate in breslee1707/VI-Translate) into .agents/skills/pdf-translate in your project. Codex loads it when a task matches its description.

Can I use PDF Translate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add breslee1707/VI-Translate --skill pdf-translate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pdf-translate, .gemini/skills/pdf-translate, .github/skills/pdf-translate and .opencode/skills/pdf-translate in your project.

What does PDF Translate need to run?

Going by SKILL.md and its folder, PDF Translate needs the command-line tools its instructions call (bash).

Does PDF Translate access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is PDF Translate safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does PDF Translate use?

PDF Translate is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does PDF Translate use?

About 269 tokens (SKILL.md is roughly 1.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to PDF Translate?

Skills that share tags, products or a category with PDF Translate: Translate Book (deusyu/translate-book, 2.1k stars), PDF Translate (lxsssssss/pdf-translate, 102 stars), Print Compatible Book Layout (SaberOnGo/public-domain-books-translation, 267 stars) and Media Processor (avibebuilder/claude-prime, 120 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains PDF Translate?

breslee1707 (a GitHub user) maintains it in breslee1707/VI-Translate, which has 676 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 1, 2026.

Source: breslee1707/VI-Translate on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.