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-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.

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

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-tables

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

Step-by-step: install xberg-extracting-tables in Claude Code

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

A

No 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 →

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.

xberg-extracting-tables Install

Add to stack

Loading.