glmocr-table

Convert tables from images and PDFs into Markdown tables.

458|40|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/zai-org/GLM-skills --skill glmocr-table
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: glmocr-table
Source: https://github.com/zai-org/GLM-skills/tree/main/skills/glmocr-table
Command: npx skills add https://github.com/zai-org/GLM-skills --skill glmocr-table

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables you to extract complex tables from images and PDFs and convert them into clean Markdown tables for editing, analysis, and reporting.

Core Features & Use Cases

  • Complex table support: handles merged cells, nested tables, and multi-page documents.
  • Markdown output: produces ready-to-edit Markdown tables that can be copied into reports or notebooks.
  • URL and local file support: accept both remote images/PDFs and local documents for flexible workflows.
  • Use cases include extracting financial tables from reports, invoices with tabular data, or research datasets from scanned papers.

Quick Start

Provide a table image or PDF to the GLM-OCR API and obtain a Markdown table output.

Frequently Asked Questions about glmocr-table

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

FAQPage Schema
How do I extract tables from a PDF to Markdown?

To extract tables from a PDF to Markdown, provide the document to the parsing API. The skill processes the file and outputs clean, ready-to-edit Markdown tables for analysis.

Can I extract complex tables with merged cells from images?

Yes, you can extract complex tables with merged cells from images. The skill handles merged cells, nested tables, and multi-page documents, converting them into structured Markdown tables.

Do I need a ZHIPU_API_KEY to convert image tables to Markdown?

Yes, you need a ZHIPU_API_KEY to convert image tables to Markdown. The skill relies on the fixed GLM-OCR layout parsing API endpoint, which requires this key for authentication and processing.

Does the table extraction tool support local files and URLs?

Yes, the table extraction tool supports both local files and URLs. You can process remote images or PDFs and provide local documents to extract tabular data into Markdown format.

What are the limitations of extracting tables from scanned PDFs?

When extracting tables from scanned PDFs, limitations may arise from severely degraded image quality or highly irregular layouts. The GLM-OCR API works best with structured financial tables, invoices, and research datasets.