Long Image OCR Skill — Development skill for Claude Code
Claude Code skill: Accurately transcribe text from long/tall screenshots by splitting into overlapping segments.
How to install Long Image OCR Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open IvyYang1999/long-image-ocr-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Long Image OCR Skill does
Claude Code skill: Accurately transcribe text from long/tall screenshots by splitting into overlapping segments.
Alternatives in Development
- Transcribe — Transcribe audio files to text with optional speaker diarization 14.6k ★
- Market Segments — Identify 3-5 customer segments with JTBD and product fit 7.8k ★
- Post Everywhere — Publish one piece of content — text, image, or video — to every connected platform (or a chosen subset) in a s 212 ★
README
long-image-ocr
A Claude Code skill that accurately transcribes text from long/tall screenshots by splitting them into overlapping segments.
Problem
LLMs struggle with very tall images (chat screenshots, long articles, scrolling captures). Text recognition accuracy degrades significantly as image height increases.
Solution
This skill:
- Splits the image into small overlapping vertical segments (auto-calculated optimal size)
- Reads each segment individually where OCR accuracy is high
- Merges results intelligently by removing duplicated overlap content
Install
As a Claude Code Skill (recommended)
# Clone to your personal skills directory
git clone https://github.com/yytyyf/long-image-ocr-skill.git ~/.claude/skills/long-image-ocr
As a Claude Code Plugin
Add to your `.claude/plugins.json`:
{
"plugins": [
"https://github.com/yytyyf/long-image-ocr-skill"
]
}
Usage
Automatic
Simply paste or reference a long screenshot in your Claude Code conversation. Claude will detect the need and invoke the skill automatically.
Manual
/long-image-ocr /path/to/your/long-screenshot.png
With custom output path:
/long-image-ocr /path/to/image.png /path/to/output.md
Requirements
- Python 3.8+
- Pillow (
pip install Pillow)
How it works
The splitting algorithm:
- Auto-calculates optimal segment height based on image dimensions (600-2000px)
- Uses 200px overlap between segments to prevent cutting through text lines
- Wider images get shorter segments to stay within vision model token limits
The merging algorithm:
- Claude reads each segment and transcribes the text
- Adjacent segments share ~200px of overlapping content
- Claude identifies and removes duplicate content from overlap zones
- Result is a clean, continuous transcription
Supported content types
- Chat/messaging screenshots (WeChat, Slack, Discord, etc.)
- Long article screenshots
- Code screenshots
- Document
Related Skills
Stt System
Transcribe this voice message accurately. Output ONLY the transcribed text.
Transcribe Summarize
Claude Code / Codex skill for local-first meeting transcription. Runs Whisper on your own machine across macOS
Text To Comic
把文字、对话、日记、照片笔记变成漫画 / 绘本 / 信息图 / 图文长图的 agent skill,自带分镜规划与 11 种画风预设。Turn text, dialog, diary entries, or photo
UltraSplitter
自适应策略的图像主体拆分SKILL Content-aware image splitting for multimodal coding agents
Audio Transcribe
音视频转文字 CLI + Claude Code Skill —— 阿里云百炼录音文件识别,说话人分离,长音频免切片,微信语音 SILK 原生支持。 Audio/video transcription CLI + Cla
Video Editing Suite
Seven Claude Code / Cowork skills that turn a long recording into finished short-form video: transcribe, find
Related Agents
Observer
Visual analysis specialist. Interprets images, screenshots, PDFs, and diagrams; extracts exact text via OCR (n
OCR Evaluator
Measures how accurately reads real documents — photographed prescriptions, lab reports, discharge summaries, i
Pixypup AI Engineer
Editor for PixyPup's Meta Model API boundary and screen perception: SAM 3.1, Muse Image, Muse Spark 1.3, Voice