xberg-extracting-tables
Skill by xberg-io
Extracts tabular data from PDFs, spreadsheets and image-based files into markdown tables or structured JSON cells. It is for users who need financial statements, scientific tables or invoices in usable form.
Install xberg-extracting-tables
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-extracting-tables ~/.claude/skills/xberg-extracting-tablesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install xberg-extracting-tables in Claude Code
git clone --depth 1 https://github.com/xberg-io/xberg /tmp/xberg && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/xberg/skills/xberg-extracting-tables ~/.gemini/antigravity-cli/skills/xberg-extracting-tablesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install xberg-extracting-tables in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The xberg-extracting-tables skill guides an AI assistant through pulling tabular data out of PDFs, spreadsheets and images using the Xberg CLI or its Python and Node.js APIs. Xberg detects tables with a layout model (RT-DETR v2) and rebuilds cell structure with a selectable table model. The default is tatr, and other options include several slanet variants and a disabled mode for layout detection only.
Output comes either as markdown tables inside the content or as a structured tables array with cells, markdown, page number and bounding box. Spreadsheet formats such as xlsx, ods, csv and tsv use dedicated parsers and do not need the layout model. The skill suits users who work with financial statements, scientific tables, invoices or spreadsheet-style PDFs. It also lists known limits, such as flattened nested tables and merged cells that are not kept as metadata.
Written from the project's SKILL.md and checked against it.
What it can do
- Layout-aware table detectionDetects tables in PDFs and images with a layout model when the --layout flag is set.
- Table model selectionChooses a reconstruction backend such as tatr, slanet_wired, slanet_wireless or slanet_plus.
- Markdown table outputRenders tables inline as markdown blocks in the extracted content, suited to LLM ingestion.
- Structured JSON cellsReturns a tables array with cells as rows and columns, plus page number and bounding box.
- Spreadsheet extractionConverts xlsx, ods, csv and tsv files into markdown or structured tables without a layout model.
- Confidence threshold tuningLowers the layout confidence threshold when the layout model misses tables in noisy scans.
- Config file setupSets layout confidence, table model and output format in a TOML config file.
What you need
- Xberg CLI
- ONNX Runtime for layout and table models on native targets
Try asking
- Extract the tables from this bank statement PDF as markdown.
- Pull the financial tables from report.pdf into JSON with cell access.
- Convert workbook.xlsx into markdown tables for my summary.
Good to know
- Merged cells are repeated across the spanned region and the merge is not kept as metadata.
- Nested tables are flattened, so their structure is lost.
- Multi-page tables produce separate entries per page and must be stitched by hand.
- Layout and table models are unavailable in WASM builds and on the Android x86_64 emulator.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/xberg-extracting-tables/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
index.md476 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-extracting-tables
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
xberg-extracting-tables: common questions
Which table model does Xberg use by default?
The source says tatr is the default. It is the heaviest option and gives the highest accuracy on dense complex tables.
Can it extract tables from spreadsheets without a layout model?
Yes. The source says xlsx, ods, csv and tsv files are handled by dedicated parsers and need no layout model.
What happens to merged cells in extracted tables?
The source says merged cells are reconstructed as repeated values across the spanned region, and the merge itself is not preserved as metadata.
How do I install xberg-extracting-tables?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is xberg-extracting-tables free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is xberg-extracting-tables safe to use?
It scores 92 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-extracting-tables?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
