ocr

Convert text in images to editable strings using the glm-4v-flash model.

5|1|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/Wcowin/zhipu-OCR-skill --skill ocr-wcowin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ocr
Source: https://github.com/Wcowin/zhipu-OCR-skill/tree/main
Command: npx skills add https://github.com/Wcowin/zhipu-OCR-skill --skill ocr-wcowin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires zhipuai, and includes scripts (resource) components.

What problem does it solve?

Converting text inside photos, screenshots, and scanned images into usable editable text without manual retyping.

Core Features & Use Cases

  • Accurate OCR with GLM-4V-Flash: Uses a vision model to read and transcribe text from images.
  • Flexible prompting for different documents: Lets you specify instructions to extract full text, tables, or specific content.
  • Batch recognition: Processes multiple image files in one run for faster workflows.
  • Agent Skill friendly: Works in an agent flow where users send an image and ask for OCR.

Quick Start

Run OCR on an image by calling the skill with the image path, for example: "Recognize the text in /path/to/image.jpg."

Frequently Asked Questions about ocr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract text from images using an agent skill?

You can extract text from images using an agent skill by passing an image path to the OCR tool, which uses the glm-4v-flash model to convert document scans, screenshots, or photos into editable strings.

Do I need a ZhipuAI API key to perform optical character recognition on screenshots?

Yes, performing optical character recognition on screenshots requires an accessible ZhipuAI API key configured via the ZHIPUAI_API_KEY environment variable to authenticate requests to the glm-4v-flash model.

Can I process multiple image files for document digitization in a single run?

Yes, you can process multiple image files for document digitization in a single run because the OCR skill supports batch recognition, validating file extensions and existence for multiple images simultaneously.

What is the best way to digitize table-heavy content from scanned documents?

The best way to digitize table-heavy content from scanned documents is using flexible prompting within the OCR skill, allowing you to specify instructions to extract full text, tables, or specific content accurately.

What image file extensions are supported for image-to-text conversion?

The image-to-text conversion process validates supported file extensions before processing, ensuring that only accessible and compatible image files are sent to the vision model for accurate transcription.