Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

xberg

Skill by xberg-io

Xberg extracts text, tables, metadata, and images from 107 document formats. It is a guide for developers writing code that calls Xberg APIs in Python, Node.js/TypeScript, Rust, or the CLI.

  • Score 94
  • 9.6k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install xberg

Built from the published package, never by AI.

git clone --depth 1 https://github.com/xberg-io/xberg /tmp/xberg && mkdir -p ~/.claude/skills && cp -r /tmp/xberg/skills/xberg ~/.claude/skills/xberg

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install xberg in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant the reference it needs to write code with Xberg, a document intelligence library with a Rust core and bindings for several languages. It covers extraction from 107 formats, including PDF, Office documents, images, HTML, email, archives, and academic files. It explains the extract and extract_batch entry points and the result envelope that holds each document's content, tables, and metadata.

The skill also covers installation with pip, npm, cargo, and Homebrew, plus configuration for OCR, chunking, and output format. It describes OCR backends, batch processing, error handling, and plugins. It is intended for developers who want their code or assistant to call Xberg APIs correctly.

Written from the project's SKILL.md and checked against it.

What it can do

  • Text and metadata extractionExtracts text, tables, metadata, and images from 107 document formats.
  • Batch processingRuns extract_batch on a list of inputs and reports per-input errors.
  • OCR configurationRuns OCR on images and scanned PDFs, with Tesseract as the default backend.
  • Extraction configurationSets output format, chunking, OCR, and PDF password options in code or TOML.
  • Error handlingShows how to catch extraction errors in Python, Node.js, and Rust.
  • PluginsExplains how to implement custom post-processors, validators, and OCR backends.

What you need

  • Python, Node.js, Rust, or the Xberg CLI, depending on the binding used
  • pip, npm, or cargo to install the library
  • Homebrew or a prebuilt binary to install the CLI

Try asking

  • Write Python code that extracts text and tables from a PDF with Xberg
  • Show me how to batch process a folder of DOCX files with Xberg in Node.js
  • Configure Xberg OCR with English and German for a scanned PDF

Good to know

  • Python and Node.js bindings are async-only.
  • The Node.js binding throws plain Error objects and does not export typed error subclasses.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/xberg/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md18 KB
  • index.md642 B
  • references/advanced-features.md18 KB
  • references/cli-reference.md12 KB
  • references/configuration.md33 KB
Show all 10 files
  • references/nodejs-api.md13 KB
  • references/other-bindings.md9 KB
  • references/python-api.md31 KB
  • references/rust-api.md12 KB
  • references/supported-formats.md21 KB

Alternatives to xberg

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

xberg: common questions

Which document formats does Xberg support?

The source says Xberg extracts from 107 formats across 140 file extensions, including PDF, Office documents, images, HTML, email, archives, and academic formats.

Which languages can I use with Xberg?

The source lists bindings for Python, TypeScript/Node.js, Rust, and the CLI in its usage guidance, plus other languages such as Ruby, Go, Java, and WebAssembly in its overview.

Does Xberg need an external OCR install?

The source says Tesseract is the default OCR backend and is a native binding that requires no external install.

How do I install xberg?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is xberg free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is xberg safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to xberg?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

Add to stack

Loading.