home / skills / masayan1126 / masayan-uni-code-plugins / ocr
This skill extracts text from image files and copies it to the clipboard, speeding up documentation and data extraction workflows.
npx playbooks add skill masayan1126/masayan-uni-code-plugins --skill ocrReview the files below or copy the command above to add this skill to your agents.
---
name: ocr
description: 画像ファイルからテキストを抽出しクリップボードにコピー。「文字起こし」「OCR」などで使用。
---
# OCR Skill
画像ファイルからテキストを抽出し、クリップボードにコピーするスキル。
「文字起こし」「OCR」などのキーワードで実行。
## ワークフロー
1. 画像ファイルパスを受け取る
2. Readツールで画像を読み取り、テキスト抽出
3. `scripts/copy_to_clipboard.sh`でクリップボードにコピー
4. 抽出テキストを表示
This skill extracts text from image files and copies the result to the system clipboard. It is designed for quick OCR tasks like transcribing screenshots, scanned documents, or photos of printed text. Run it with keywords such as "OCR" or "transcribe" to initiate the workflow.
The skill accepts a path to an image file, uses a Read tool to perform OCR and extract text, then invokes a shell helper to place the extracted text into the clipboard. Finally, it displays the extracted text so you can verify the result. The flow is fully automated once the image path is provided.
What image formats are supported?
Common image formats like PNG, JPEG, and TIFF are supported; provide a file path to the image.
How do I get the extracted text into other apps?
The skill copies the extracted text to the system clipboard, so you can paste it into any application.