xberg-extracting-tables
Skill by xberg-io
Guides an assistant through extracting tables from PDFs, spreadsheets and images using the Xberg CLI. It covers layout-aware detection, table model choice, and markdown or JSON cell output.
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/plugin/.ai-rulez/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/plugin/.ai-rulez/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
xberg-extracting-tables is a skill that guides an assistant through extracting tabular data from PDFs, spreadsheets, and images with the Xberg CLI. Xberg detects tables with a layout model (RT-DETR v2) and rebuilds cell structure with a selectable table model such as tatr or the slanet variants. Output can be markdown tables inside the content or a structured tables array with cells, markdown, page number and bounding box.
Spreadsheet files such as xlsx, ods, csv and tsv use dedicated parsers and need no layout model. The skill covers command flags, a config file option, Python and Node.js access, and known limits. It is aimed at users who need structured data from financial statements, scientific tables, invoices or spreadsheet-style PDFs.
Written from the project's SKILL.md and checked against it.
What it can do
- Layout-aware table detectionUses the --layout flag so tables keep cell boundaries instead of plain text reflow.
- Table model selectionChooses a reconstruction backend with --layout-table-model, from tatr to slanet variants or disabled.
- Markdown table outputRenders tables inline in the content stream with --content-format markdown.
- Structured JSON tablesReturns a tables array with cells, markdown, page_number and bounding_box via --format json.
- Spreadsheet extractionReads xlsx, ods, csv and tsv files with dedicated parsers and no layout model.
- Config file setupSets output format and layout options in a TOML config file as an alternative to flags.
- Programmatic accessShows Python result.results[0].tables access and notes the Node.js equivalent.
- Confidence threshold tuningLowers --layout-confidence to catch tables the layout model misses.
What you need
- Xberg CLI
- ONNX Runtime for layout and table models
- Python or Node.js for programmatic access
Try asking
- Extract the tables from report.pdf as markdown
- Pull cell data from financials.pdf as structured JSON
- Convert workbook.xlsx into markdown tables
Good to know
- Merged cells are repeated across the spanned region, and the merge is not kept as metadata.
- Nested tables are flattened.
- Multi-page tables appear as separate entries per page.
- 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: plugin/.ai-rulez/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.md233 B
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 should I use?
The source lists tatr as the default and heaviest, with the slanet variants as lighter options. Wired and wireless slanet models suit bordered and borderless tables.
Why are my tables empty when --layout is on?
The source says the confidence threshold may be too high or the table model may not match. It suggests lowering --layout-confidence to 0.3 or trying --layout-table-model tatr.
Do spreadsheets need the layout model?
No. The source says xlsx, ods, csv and tsv files are handled by dedicated parsers and need no layout model.
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 90 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.
