FreeGitHubProductivity
Translate Visa Documents
Turn visa application document images into bilingual PDFs with original and English translation pages. It uses OCR methods and formats translations professionally for official submissions.
affaan-m on GitHub
Curated by PromptsEdge from a public repo · MIT license. All credit goes to the author.
What is this skill?
Automatically translate visa application documents from images to professional English PDFs.
Features
- Automatic OCR: Tries multiple OCR methods (macOS Vision, EasyOCR, Tesseract)
- Bilingual PDF: Original image + professional English translation
- Multi-language: Supports Chinese, and other languages
- Professional Format: Suitable for official visa applications
- Fully Automated: No manual intervention required
Supported Documents
- Bank deposit certificates (存款证明)
- Employment certificates (在职证明)
- Retirement certificates (退休证明)
- Income certificates (收入证明)
- Property certificates (房产证明)
- Business licenses (营业执照)
- ID cards and passports
Usage
bash
/visa-doc-translate <image-file>
Examples
bash
/visa-doc-translate RetirementCertificate.PNG
/visa-doc-translate BankStatement.HEIC
/visa-doc-translate EmploymentLetter.jpg
Output
Creates <filename>_Translated.pdf with:
- Page 1: Original document image (centered, A4 size)
- Page 2: Professional English translation
Requirements
Python Libraries
bash
pip install pillow reportlab
OCR (one of the following)
macOS (recommended):
bash
pip install pyobjc-framework-Vision pyobjc-framework-Quartz
Cross-platform:
bash
pip install easyocr
Tesseract:
bash
brew install tesseract tesseract-lang
pip install pytesseract
How It Works
- Converts HEIC to PNG if needed
- Checks and applies EXIF rotation
- Extracts text using available OCR method
- Translates to professional English
- Generates bilingual PDF
Perfect For
- Australia visa applications
- USA visa applications
- Canada visa applications
- UK visa applications
- EU visa applications
License
MIT
Install this skill
- 1
Get the skill — it’s free
Use the Get this skill panel. Unlocked skills stay in My skills. - 2
Download or clone the files
Download the zip, or clone the repo and copy theskills/visa-doc-translatefolder. - 3
Put it where your agent looks for skills
For Claude Code, use your personal skills folder (every project) or a project’s own folder:~/.claude/skills/visa-doc-translate/SKILL.md # all projects .claude/skills/visa-doc-translate/SKILL.md # this project only
- 4
Just ask
No command needed. The agent reads the skill’s description and loads it on its own when your request matches.
SKILL.md frontmatter
What your agent reads to decide when to load this skill.
--- name: visa-doc-translate description: Translate visa application documents (images) to English and create a bilingual PDF with original and translation. Use when visa application document images must be translated to English as a bilingual PDF. ---
Files
Open any Markdown file to read it here.
Related skills
View all →- Share Durable Agent MemoryFreeYour AI shares and resumes work state across different agents using the ECC Memory Vault. It stores and retrieves portable Markdown context files to hand off tasks and search project knowledge across sessions.
- Control Response LengthFreeYour AI offers you choices on how long or detailed its answers should be before responding. It estimates input complexity and token usage to suggest brief, medium, or exhaustive responses based on your request.
- Compose Agent TeamsFreeYour AI lets you browse and select multiple agent personas to form a team for a task. It organizes agents by domain folders or filename prefixes and shows descriptions to help you pick the right mix.
- Strategic Context CompactingFreeYour AI suggests manual context compaction at logical task boundaries to preserve important information through multi-phase workflows. It monitors token usage and prompts compaction after milestones or before major context shifts.