MyClaw
HomeProductsUse CasesPricingSkillsResourcesCompany
HomeUse CasesPricingSkills
Sign In
Home
ProductsOpenClaw HostingHermes Agent Hosting
Use CasesPricingSkills
ResourcesCompareTutorialLearnBlogUpdatesResourcesCommunity
CompanyAboutSupport
Sign In
MyClaw.ai

Your AI agent, already running.

Product

OpenClaw HostingHermes Agent HostingUse CasesPricingCompareAlibaba Cloud

Resources

BlogUpdatesSkillsModelsSupportCommunityCapybara

Legal

TermsPrivacyCookieGDPRContact

© 2023 Cubo World Inc. All rights reserved.

← Back to Skills
Productivity & Tasks
📄

OCR and Documents

Extract text and structure from PDFs, scanned documents, DOCX files, and images — ready for summarization, search, or downstream analysis.

by v1.0.0
Connecting to VM...
Connecting to VM...
npx clawhub@latest install ocr-docu
31Current Installs
📦
v1.0.0Version

OCR and Documents Skill Overview

OCR and Documents extracts usable text and structure from PDFs, scanned documents, and common office formats like DOCX. It combines fast text extraction for born-digital PDFs with OCR pipelines for image-heavy or scanned inputs, outputting clean plain text or structured markdown. Install this skill when you need to feed document content into summarization, search, indexing, or any downstream workflow that requires readable text.

How to Use It

Step 1: Run in your terminal or install this skill on MyClaw

npx clawhub@latest install ocr-docu
or

Click the Install button at the top of this page for one-click setup

When to Use OCR and Documents

Best Fit

  • You have a PDF (digital or scanned) and need its text extracted for summarization, archival, or further analysis.
  • You need to OCR a scanned invoice, form, or photo of a document and pull out structured fields.
  • You want to convert a DOCX file into plain text or markdown for use by another skill or pipeline.
  • You are building a preprocessing step that feeds clean document text into search indexing or an LLM workflow.

When Not to Use

  • Your input is a PowerPoint/PPTX file — route those to a dedicated presentation skill instead.
  • Your scanned documents are very low resolution, heavily skewed, or in an unsupported language; OCR quality will be poor and results unreliable.
  • You need a no-dependency, zero-setup solution — this skill requires a Python environment and at least one document/OCR library.

Key Features

Fast text extraction for digital PDFs

Uses PyMuPDF or pdfminer to pull text directly from born-digital PDFs without OCR overhead, preserving layout as closely as possible.

OCR pipeline for scanned documents and image-heavy files

Routes scanned PDFs and document photos through Tesseract or a compatible OCR service to recover text from image-based content.

DOCX parsing

Reads Microsoft Word files via python-docx, extracting paragraph and heading structure into clean text or markdown output.

Markdown and plain-text export

Normalizes extracted content into either plain text or structured markdown, making output immediately consumable by summarization, indexing, or other downstream skills.

Smart routing between extraction modes

Automatically selects the appropriate extractor — direct text layer, OCR, or format-specific parser — based on the document type detected at runtime.

Use Cases

Invoice and form data extraction

OCR a scanned invoice or filled form and return structured fields such as vendor name, amount, and due date for downstream processing or storage.

Page-by-page PDF summarization

Extract text from a multi-page PDF and hand each page's content to a summarization skill, enabling document-wide summaries without manual copy-paste.

DOCX to markdown conversion

Parse a Word document and convert its content to markdown, making it ready for a knowledge base, static site, or further editing in a text-based workflow.

Document preprocessing for search indexing

Batch-extract text from a collection of mixed PDFs and DOCX files to produce clean, normalized text chunks suitable for vector or full-text search indexing.

Requirements

Python environment (or equivalent tooling) plus one or more of the following libraries depending on your document types:

  • PyMuPDF or pdfminer — for born-digital PDF text extraction
  • Tesseract or a compatible OCR service — for scanned PDFs and image-based documents
  • python-docx — for DOCX file parsing
Connecting to VM...
npx clawhub@latest install ocr-docu
31Current Installs
📦
v1.0.0Version

Reviews

0 reviews

Log in to write a review

No reviews yet. Be the first to share your experience!