Agent skill

Visa Doc Translate

by affaan-m in affaan-m/ECC

ビザ申請書類(画像)を英語に翻訳し、原文と翻訳を含むバイリンガルPDFを作成する. An agent skill from affaan-m/ECC.

MITAuto-check passedDocuments & Office

Install Visa Doc Translate

skills CLI
$ npx skills add affaan-m/ECC --skill visa-doc-translate -a claude-code

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

GitHub CLI
$ gh skill install affaan-m/ECC visa-doc-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/affaan-m/ECC.git skills-src && mkdir -p .claude/skills && cp -r skills-src/docs/ja-JP/skills/visa-doc-translate .claude/skills/visa-doc-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
visa-doc-translate
GitHub stars
276k
Token cost
~594 tokens
SKILL.md length
109 words
Files
2
Skills in repo
683
Repo updated
First seen
Licence
MIT

At a glance

ビザ申請書類(画像)を英語に翻訳し、原文と翻訳を含むバイリンガルPDFを作成する. An agent skill from affaan-m/ECC.

  • Works in 6 steps: 画像変換:ファイルがHEIC形式の場合、sips -s format png… → 画像の回転 → OCRテキスト抽出 → …
  • Tasks that involve PDF
  • SKILL.md covers 手順, 対応ドキュメント, 技術実装 and 重要なガイドライン, plus 2 more sections
  • Calls pip and brew

What it does

Visa Doc Translate is an agent skill from affaan-m/ECC. ビザ申請書類(画像)を英語に翻訳し、原文と翻訳を含むバイリンガルPDFを作成する

Its SKILL.md is about 590 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).

It sits in Documents & Office, covering PDF. It works with macOS. The repository describes itself as: The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond. The licence is MIT.

When your agent uses it

  • Tasks that involve PDF

Example prompts

  • “/visa-doc-translate”

Requirements

  • Python 3

Workflow steps

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

  1. 画像変換:ファイルがHEIC形式の場合、sips -s format png --out を使用してPNGに変換する
  2. 画像の回転
  3. OCRテキスト抽出
  4. 翻訳
  5. PDF生成
  6. 出力:同じディレクトリに _Translated.pdf という名前のPDFファイルを作成する

What it can do on your machine

Read from SKILL.md and the folder at commit 4eb71d9. 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:

    • pip
    • brew

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

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    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

Visa Doc Translate loads about 594 tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 109 words of instructions outside code blocks.

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

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 affaan-m/ECC at commit 4eb71d9, republished under its MIT licence (© affaan-m). 109 words, ~594 tokens.

Download SKILL.mdSave it as .claude/skills/visa-doc-translate/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
visa-doc-translate
description
ビザ申請書類(画像)を英語に翻訳し、原文と翻訳を含むバイリンガルPDFを作成する

ビザ申請のためのビザ申請書類の翻訳を支援している。

手順

ユーザーが画像ファイルのパスを提供した場合、確認を求めずに以下の手順を自動的に実行する:

  1. 画像変換:ファイルがHEIC形式の場合、sips -s format png <input> --out <output> を使用してPNGに変換する

  2. 画像の回転:

    • EXIFの向きデータを確認する
    • EXIFデータに基づいて画像を自動的に回転させる
    • EXIFの向きが6の場合は、反時計回りに90度回転させる
    • 必要に応じて追加の回転を適用する(ドキュメントが上下逆に見える場合は180度をテストする)
  3. OCRテキスト抽出:

    • 複数のOCR方法を自動的に試みる:
      • macOS Visionフレームワーク(macOS優先)
      • EasyOCR(クロスプラットフォーム、tesseract不要)
      • Tesseract OCR(利用可能な場合)
    • ドキュメントからすべてのテキスト情報を抽出する
    • ドキュメントの種類を識別する(預金証明書、在職証明書、退職証明書など)
  4. 翻訳:

    • すべてのテキストコンテンツをプロフェッショナルに英語に翻訳する
    • 元のドキュメントの構造とフォーマットを維持する
    • ビザ申請に適した専門的な用語を使用する
    • 固有名詞は元の言語を保持し、括弧内に英語を追記する
    • 中国語の名前には拼音フォーマットを使用する(例:WU Zhengye)
    • すべての数字、日付、金額を正確に保持する
  5. PDF生成:

    • PILとreportlabライブラリを使用してPythonスクリプトを作成する
    • 第1ページ:回転後の元の画像を中央に配置し、A4ページに合わせてスケーリングして表示する
    • 第2ページ:適切なフォーマットで英語翻訳を表示する:
      • タイトルは中央揃えで太字
      • コンテンツは左揃え、適切な間隔
      • 公式文書に適したプロフェッショナルなレイアウト
    • 下部に注記を追加する:"This is a certified English translation of the original document"
    • スクリプトを実行してPDFを生成する
  6. 出力:同じディレクトリに <original_filename>_Translated.pdf という名前のPDFファイルを作成する

対応ドキュメント

  • 銀行預金証明書 (存款证明)
  • 収入証明書 (收入证明)
  • 在職証明書 (在职证明)
  • 退職証明書 (退休证明)
  • 不動産証明書 (房产证明)
  • 営業許可証 (营业执照)
  • 身分証明書とパスポート
  • その他の公式文書

技術実装

OCR方法(順番に試す)
  1. macOS Visionフレームワーク(macOSのみ):

    python
    import Vision
    from Foundation import NSURL
  2. EasyOCR(クロスプラットフォーム):

    bash
    pip install easyocr
  3. Tesseract OCR(利用可能な場合):

    bash
    brew install tesseract tesseract-lang
    pip install pytesseract
必要なPythonライブラリ
bash
pip install pillow reportlab

macOS Visionフレームワークの場合:

bash
pip install pyobjc-framework-Vision pyobjc-framework-Quartz

重要なガイドライン

  • 各ステップでユーザーに確認を求めない
  • 最適な回転角度を自動的に判断する
  • 1つのOCR方法が失敗した場合は複数の方法を試みる
  • すべての数字、日付、金額が正確に翻訳されることを確認する
  • 簡潔でプロフェッショナルなフォーマットを使用する
  • プロセス全体を完了し、最終PDFの場所を報告する

使用例

bash
/visa-doc-translate RetirementCertificate.PNG
/visa-doc-translate BankStatement.HEIC
/visa-doc-translate EmploymentLetter.jpg

出力例

このスキルは以下を行う:

  1. 利用可能なOCR方法を使用してテキストを抽出する
  2. プロフェッショナルな英語に翻訳する
  3. 以下を含む <filename>_Translated.pdf を生成する:
    • 第1ページ:元のドキュメント画像
    • 第2ページ:プロフェッショナルな英語翻訳

オーストラリア、米国、カナダ、英国およびその他の国のビザ申請で翻訳書類が必要な場合に最適。

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

Files

SKILL.md and 1 other file in docs/ja-JP/skills/visa-doc-translate of affaan-m/ECC.

  • SKILL.md
  • README.md

Open the folder on GitHubat commit 4eb71d9

Compare with similar skills

Visa Doc 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.

Visa Doc Translate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Visa Doc Translate this skillaffaan-m/ECC276k—~594Automated safety check: PassMIT
Huashu Md To PDFalchaincyf/huashu-skills1.7k—~824Automated safety check: PassMIT
Doc OCRdavepoon/buildwithclaude3.6k—~244Automated safety check: PassMIT
Compdf Conversion CLILeoYeAI/openclaw-master-skills2.2k—~5.9kAutomated safety check: PassProprietary
Scanned PDF To Epublonghaiqwe/scanned-pdf-to-epub161—~1.9kAutomated safety check: PassMIT
Rename Pdfsrealspqrk/autorename-pdf122—~541Automated safety check: PassMIT

Similar skills

  • Huashu Md To PDF

    alchaincyf/huashu-skills

    将 Markdown 文档转换为专业的 PDF 白皮书,采用苹果设计风格. An agent skill from alchaincyf/huashu-skills.

    1.7k GitHub stars~824 tokensUpdated 18 days ago
    Documents & OfficeAuto-check passed
  • Doc OCR

    davepoon/buildwithclaude

    文档文字识别。用户提供 PDF/扫描件/图片(合同、发票、书页、截图),需要提取文字、转成可编辑文本时使用。扫描件自动 OCR(macOS Vision,中英文)。Document OCR: extract editable text from PDFs, scans, and images (contracts, invoices, book pages, screenshots) via…

    3.6k GitHub stars~244 tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • Compdf Conversion CLI

    LeoYeAI/openclaw-master-skills

    MUST use for ANY PDF or image format conversion task — converting PDF and images (JPG/JPEG/PNG/BMP/TIFF/TIF/WEBP/JPEG2000) to 10 formats (Word, Excel, PPT, HTML, Image, TXT, JSON, Markdown, RTF…

    2.2k GitHub stars~5.9k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Scanned PDF To Epub

    longhaiqwe/scanned-pdf-to-epub

    A skill your agent uses when scanned Chinese PDFs or image-only books need text EPUB conversion on macOS, Windows, or Linux, especially when OCR text, original underlined proper names, 专名号, or…

    161 GitHub stars~1.9k tokensUpdated 26 days ago
    Documents & OfficeAuto-check passed
  • Rename Pdfs

    realspqrk/autorename-pdf

    [Dev] Rename PDF files using AI (Python, requires venv). An agent skill from realspqrk/autorename-pdf.

    122 GitHub stars~541 tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Omk PDF Gen

    KaimingWan/oh-my-kiro

    Generate professional PDF documents with correct CJK (Chinese/Japanese/Korean) rendering.

    107 GitHub stars~1.1k tokensUpdated 6 mo ago
    Documents & OfficeAuto-check passed

More from affaan-m/ECC

All 682 skills in this repo
  • Skill Stocktake

    affaan-m/ECC

    Audits your installed Claude skills and commands for quality, with a quick mode for recently changed skills and a full mode that evaluates all of them through subagents.

    277k GitHub starsUsed in 5 repos~3.1k tokens
    Auto-check passed
  • Ingests, indexes, searches, edits and monitors video, audio and live streams through the VideoDB Python SDK, returning stream links, clips and timestamps.

    277k GitHub starsUsed in 3 repos~3.5k tokens
    Auto-check: notes
  • Docs Governance

    affaan-m/ECC

    Route broad documentation-governance requests to existing ECC skills and run an opt-in, read-only audit of mapped documentation roles, links, ADR indexes, and evidence references.

    277k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Rules Distillation

    affaan-m/ECC

    Scans installed skills for principles that recur across them and proposes rule-file changes: append, revise, add a section, create a file or leave as covered.

    277k GitHub starsUsed in 2 repos~2.3k tokens
    Auto-check passed
  • Builds DRAFT counterparty agreements from one markdown template and a small JSON spec per party, with clauses picked by the party's role.

    277k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Set an ECC-specific frontend design direction for production UI work.

    277k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed

Works with

Questions about Visa Doc Translate

What does Visa Doc Translate do?

ビザ申請書類(画像)を英語に翻訳し、原文と翻訳を含むバイリンガルPDFを作成する. An agent skill from affaan-m/ECC. Visa Doc Translate is an agent skill from affaan-m/ECC.

When should I use Visa Doc Translate?

Visa Doc Translate fits situations like: tasks that involve PDF.

How do I install Visa Doc Translate in Claude Code?

Run `npx skills add affaan-m/ECC --skill visa-doc-translate -a claude-code`. Or copy the skill folder (docs/ja-JP/skills/visa-doc-translate in affaan-m/ECC) into .claude/skills/visa-doc-translate in your project. Claude Code loads it when a task matches its description.

How do I install Visa Doc Translate in Codex?

Run `npx skills add affaan-m/ECC --skill visa-doc-translate -a codex`. Or copy the skill folder (docs/ja-JP/skills/visa-doc-translate in affaan-m/ECC) into .agents/skills/visa-doc-translate in your project. Codex loads it when a task matches its description.

Can I use Visa Doc 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 affaan-m/ECC --skill visa-doc-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/visa-doc-translate, .gemini/skills/visa-doc-translate, .github/skills/visa-doc-translate and .opencode/skills/visa-doc-translate in your project.

What does Visa Doc Translate need to run?

Going by SKILL.md and its folder, Visa Doc Translate needs the command-line tools its instructions call (pip and brew). Our summary lists: Python 3.

Does Visa Doc Translate access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Visa Doc 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 Visa Doc Translate use?

Visa Doc Translate is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Visa Doc Translate use?

About 594 tokens (SKILL.md is roughly 2.4k 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 Visa Doc Translate?

Skills that share tags, products or a category with Visa Doc Translate: Huashu Md To PDF (alchaincyf/huashu-skills, 1.7k stars), Doc OCR (davepoon/buildwithclaude, 3.6k stars), Compdf Conversion CLI (LeoYeAI/openclaw-master-skills, 2.2k stars) and Scanned PDF To Epub (longhaiqwe/scanned-pdf-to-epub, 161 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Visa Doc Translate?

affaan-m (a GitHub user) maintains it in affaan-m/ECC, which has 276,111 GitHub stars. The repository holds 683 skills in this directory. The repository was last updated on October 10, 2026.

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