Xberg
Extract text, tables, metadata, and images from 107 document formats (PDF, Office, images, HTML, email, archives, academic) using Xberg. Use when writing code that calls Xberg APIs in Python, Node.js/TypeScript, Rust, or CLI. Covers installation, extraction (sync/async), configuration (OCR, chunking, output format), batch processing, error handling, and plugins.
Install
npx skills add xberg-io/xberg --skill xberggit clone --depth 1 https://github.com/xberg-io/xberg.git /tmp/xberg
mkdir -p ~/.claude/skills
cp -r /tmp/xberg/plugin/skills/xberg ~/.claude/skills/xbergPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Xberg Document Extraction
Xberg is a document intelligence library with a Rust core and bindings for Python, TypeScript/Node.js, Ruby, PHP, Go, Java, C#, Elixir, WebAssembly, Dart, Kotlin Android, Swift, Zig, and C. It extracts text, tables, metadata, and images from 107 formats across 140 unique file extensions and accepts 53 compatibility MIME aliases, including PDF, Office documents, images, HTML, email, archives, and academic formats.
Use this skill when writing code that:
- Extracts text or metadata from documents
- Performs OCR on scanned documents or images
- Batch-processes multiple files
- Configures extraction options (output format, chunking, OCR, language detection)
- Implements custom plugins (post-processors, validators, OCR backends)
> If the `xberg` MCP server is registered in this session, prefer its tools over shelling out to the CLI — they expose the same extraction surface with structured arguments and results.
## Installation
### Python
```bash
pip install xberg
```
### Node.js
```bash
npm install @xberg-io/xberg
```
### Rust
```bash
cargo add xberg
```
```toml
# Cargo.toml
[dependencies]
xberg = { version = "1.1.0", features = ["full"] }
tokio = { version = "1", features = ["full"] }
# feature flags: pdf, ocr, chunking, embeddings, language-detection, keywords, api, mcp
# (or "formats" / "full" aggregates); tokio-runtime is on by default
```
### CLIDetails
- Skill name
xberg- Repository
- xberg-io/xberg
- Path
plugin/skills/xberg/SKILL.md- License
- MIT
- Repo updated
- 31 October 2026
- Listed in
- VoltAgent/awesome-agent-skills
FAQ
What does the Xberg skill do?
Extract text, tables, metadata, and images from 107 document formats (PDF, Office, images, HTML, email, archives, academic) using Xberg. Use when writing code that calls Xberg APIs in Python, Node.js/TypeScript, Rust, or CLI. Covers installation, extraction (sync/async), configuration (OCR, chunking, output format), batch processing, error handling, and plugins.
How do I install the Xberg skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add xberg-io/xberg --skill xberg. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Xberg popular?
It lives in xberg-io/xberg, which has 9,471 GitHub stars and 607 forks, and is included in 1 curated skill list.
Related skills
Altitude Horizon Framework
7.8kdeanpeters/Product-Manager-Skills
Understand the PM-to-Director transition through altitude and horizon thinking. Use when diagnosing scope, time-horizon, or leadership-level gaps.
Zhihu Upload
16kdreammis/social-auto-upload
使用 social-auto-upload 的 sau CLI 登录知乎、发布文章或视频,并按作品链接核对结果;支持原稿位置配图与视频领域、声明选项。
Prd Development
7.8kdeanpeters/Product-Manager-Skills
Build a structured PRD that connects problem, users, solution, and success criteria. Use when turning discovery notes into an engineering-ready document for a major initiative.
Xueqiu Upload
16kdreammis/social-auto-upload
通过 social-auto-upload 的 sau CLI 登录和核验雪球账号,发布 HTML、Markdown 或 TXT 长文,保留原稿段间配图、原生文字结构与独立封面,并查询原作品确认结果。适用于雪球创作者平台,不支持定时或视频。
Prioritization Advisor
7.8kdeanpeters/Product-Manager-Skills
Choose a prioritization framework based on stage, team context, and stakeholder needs. Use when deciding between RICE, ICE, value/effort, or another scoring approach.
Meta Upload
16kdreammis/social-auto-upload
使用 sau CLI 登录 Facebook Page,发布视频或图文、设置北京时间排期、查询原作品并删除。
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.