Home / Commands / xberg-io/xberg

xberg-ocr

Extract scanned documents with OCR

commandLicense: MIT Source: xberg-io/xberg

Install

Copy this folder into your Claude Code project (needs Node.js):

curl -fsSL --create-dirs -o .claude/commands/xberg-ocr.md https://raw.githubusercontent.com/xberg-io/xberg/HEAD/plugin/.ai-rulez/commands/xberg-ocr.md

Or install it for every project:

curl -fsSL --create-dirs -o ~/.claude/commands/xberg-ocr.md https://raw.githubusercontent.com/xberg-io/xberg/HEAD/plugin/.ai-rulez/commands/xberg-ocr.md

File content

Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗

---
type: Reference
title: Xberg Ocr
description: Extract scanned documents with OCR
x-ai-rulez:
  kind: command
  id: xberg-ocr
---

OCR this document: $ARGUMENTS

Read the extracting-with-ocr skill. Confirm the document needs OCR and language packs are installed. Use `xberg extract <file> --force-ocr=true` when forced OCR is appropriate. Preserve paths as separate arguments and report OCR failures.