- Home
- Skills
- APIs & Backend
- CleanTable — HTML Table, Grid & List Extractor
Works with the AI Agents you already use
CleanTable — HTML Table, Grid & List Extractor
by Conver Man
Extract HTML tables, ARIA grids, and repeating lists into formula-safe UTF-8 CSV, Markdown, JSON, and Excel XML.
$5
CleanTable — HTML Table, Grid & List Extractor
Example session with this skill installed
Extract the pricing comparison table from pricing.html, guard formula cells, and output clean Markdown and UTF-8 CSV.
- Read your context and instructions
- Compiled the cleantable
- Generated the data export
CleanTable Extraction Summary
- Tables Detected: 1 across 4 columns
- Formula-Injection Triggers Guarded: 1 (
'=SUM(A1:A2))
| Plan | Price | RateLimit | FormulaNote |
|---|---|---|---|
| Free | 0 | 50/day | Standard |
| Pro | 29.00 | 15000/mo | '=SUM(A1:A2) |
Next steps
- Run
python3 scripts/extract_tables.py --html-file pricing.html --format csv --out table.csv.
pricing.html
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Manually scraping data from web pages often results in broken layouts, lost leading zeros, and corrupted numeric formatting. This skill provides a deterministic way to extract structured datasets from HTML sources, handling everything from standard tables to complex ARIA grids and repeated product cards. It ensures data integrity by preventing scientific notation bugs in Excel and managing duplicate headers automatically.
What it does
- Multi-Structure Extraction: Identifies and parses standard
<table>elements, ARIA grids, and repeating list/card patterns. - Header Normalization: Automatically deduplicates identical column names into unique JSON keys to prevent data overwriting.
- Numeric Integrity: Preserves leading zeros in SKUs or ZIP codes and prevents long tracking IDs from converting to scientific notation.
- Formula Neutralization: Secures CSV exports against formula injection by neutralizing dangerous prefixes while keeping negative values intact.
- Multi-Format Export: Generates UTF-8 CSV, TSV, GitHub-Flavored Markdown, structured JSON, and Excel-compatible XML.
How it works
- Source Input: Provide a local HTML file or a live URL to the extraction script.
- Format Selection: Specify the desired output format such as
csv,json, orexcel. - Refined Extraction: Use optional flags to target specific table indices or filter rows by keyword.
- Validation: Review the generated summary for row counts, column counts, and header previews.
Frameworks & tools
This skill is built with Python 3.9 using the standard library, including html.parser and urllib.request. It functions without external pip dependencies.
Why this beats prompting it yourself
LLMs often hallucinate table structures or truncate large datasets when asked to "copy this table." This skill uses a deterministic parser that guarantees every row is captured and formatted specifically for spreadsheet software without data loss.
Use cases
- Extracting pricing tables from competitor websites into analysis-ready CSVs.
- Converting HTML invoice snapshots into JSON for database ingestion.
- Exporting product catalogs from web pages while preserving SKU formatting.
- Auditing web accessibility by extracting ARIA grid data structures.
Known limitations
Does not execute JavaScript or bypass CAPTCHAs. For SPAs or JS-heavy sites, you must provide a saved DOM snapshot of the rendered page.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.
Does not execute JavaScript or bypass CAPTCHAs. Requires a saved DOM snapshot for JS-heavy pages. Pure Python standard library only.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed today
- Software
Python
Deterministically extract structured datasets from any saved HTML page or live HTTP/HTTPS URL. - Parses HTML table and ARIA role=table/grid with accurate colspan/rowspan unrolling - Neutralizes CSV spreadsheet formula injection (=, +, -, @, tab, CR) - Exports UTF-8 BOM CSV, TSV, Markdown, JSON, a