Translator Overlay — AI skill for Claude Code
即時辨識畫面中的文字並透過 AI 翻譯,然後以 Overlay 的形式顯示在原文上.
How to install Translator Overlay
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open OKTW-Network/Translator-Overlay and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Translator Overlay does
即時辨識畫面中的文字並透過 AI 翻譯,然後以 Overlay 的形式顯示在原文上。 Recognizes on-screen text in real time, translates it with AI, and displays the translation as an overlay on top of the original text.
Alternatives in AI
- Ccstatusline — by sirmalloc - A highly customizable status line formatter for Claude Code CLI that displays model info, git b 5.5k ★
- Manifest — Real-time cost observability for OpenClaw agents — track tokens, costs, messages, and model usage 4.1k ★
- Sentrux — Real-time architectural sensor that helps AI agents close the feedback loop, enabling recursive self-improveme 2.9k ★
README
Translator Overlay [](https://github.com/OKTW-Network/Translator-Overlay/actions/workflows/ci.yml) [](https://github.com/OKTW-Network/Translator-Overlay/releases) [](https://github.com/OKTW-Network/Translator-Overlay/releases/latest)
繁體中文 | [English](README.en.md)
Windows 桌面即時翻譯 Overlay:選取目標視窗 → 擷取畫面 → PP-OCRv6 辨識文字 → 用內建模型、OpenAI 相容 API 或本機 CLI 翻譯 → 在原位置以點擊可穿透的 Overlay 顯示譯文。
功能
- 視窗擷取:Windows Graphics Capture。可在目標視窗上框選多個 OCR 區域,或辨識整窗;區域可存成具名設定集
- 本機 OCR:PP-OCRv6(tiny / small / medium),ONNX Runtime + WebGPU 或 DirectML(失敗時回退 CPU)。畫面穩定後才送翻譯(文字一直變動時可設定強制翻譯時間);可過濾單字元雜訊、動畫誤辨識
- 多行合併:關閉 / 位置規則 / 智慧偵測(PP-DocLayoutV3 版面分析)/ 整區合併;分隔可選無、空白或換行;閱讀順序可選橫排或直排,直排文字一律由右至左讀
- LLM 翻譯:內建模型(本機執行)、OpenAI 相容 API(Chat Completions 或 Responses),或本機 Grok / OpenCode / Codex / Claude Code。串流時 Overlay 與翻譯視窗會隨譯文即時更新;可自訂 System prompt(只取代風格,輸出格式與語言不變)
- API 選項:Structured outputs、串流、回送 reasoning、Temperature / Top P / Top K / Max tokens / Reasoning effort、Priority 模式;逾時、重試次數與退避;Model 欄位可從 Provider 清單自動完成。翻譯失敗時控制視窗的工作列按鈕會閃爍
- 翻譯對照:可把原文→譯文詞條存成具名設定檔並送給模型;詞條愈多 Token 消耗愈多
- 翻譯記憶與上下文:同一句原文本會話只翻一次(LFU 快取,可調大小、手動清空,關閉程式後清空);多輪歷史維持用語一致,可 Clear history 重新開始
- 顯示:點擊可穿透的 Overlay(跟隨目標視窗與捲動的文字,目標最小化時隱藏;譯文不重疊,必要時加寬、縮小或換行)+ 獨立置頂翻譯視窗(拖曳移動、邊緣縮放)。文字與背景色可含透明度;Overlay 字級可自動貼合原文或固定大小
- 控制列:置頂的 Start / Pause / Stop 與狀態列,可拖曳。Pause 會暫停並隱藏譯文,Stop 會停止並清除
- 快捷鍵:Start / Pause、Stop、框選區域、Retry、Clear history,可限定只在目標視窗有焦點時生效。預設關閉、未綁定
- 設定 UI:Dashboard + API / Tran
Related Skills
AI Meeting Assistant Copilot
Open-source AI meeting assistant and meeting copilot for Zoom, Google Meet and Teams. An overlay hidden from s
Hammerspoon AI Translator
AI translation plugin for Hammerspoon — select text, hotkey, paste. Chinese ↔ English auto-detected.
Bayloob
A local status overlay for AI coding agents. Watch Claude Code, Codex and Gemini CLI sessions from the top of
Localizing Video
Claude Code skill: make a foreign-language video (Mandarin/JP talking-head + slides) watchable in English — sy
Open Researcher
🔥 Visual AI research assistant that displays real-time thinking, provides split-view analysis, and automatic
Total War LLM General
Claude commands the enemy army in Napoleon: Total War and Empire: Total War. A Lua battle script streams the b
Related Agents
Translator
Translates JSON content to target languages for the FS25_UsedPlus mod. Use for bulk translation tasks via rose
Journey Translator
Triages and translates Journey Builder journeys into MC Next flow specs, Chrome build prompts and cutover runb
English Enforcer
Checks the project for non-English text (source comments, docs, string literals, commit-facing text) and trans