clip-xlsx

Converts spreadsheet workbooks into Markdown clippings for an Obsidian wiki vault.

Updated Jul 16, 2026
One-click install
npx skills add https://github.com/ehartye/wiki-master --skill clip-xlsx-ehartye
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: clip-xlsx
Source: https://github.com/ehartye/wiki-master/tree/main/skills/clip-xlsx
Command: npx skills add https://github.com/ehartye/wiki-master --skill clip-xlsx-ehartye

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Spreadsheet workbooks (.xlsx, .xls, .xlsm) cannot be clipped into a Markdown wiki by HTML or PDF clippers, and converting them to PDF first destroys the row-label pairings that give each number its meaning. This Skill extracts workbook content as faithful Markdown tables so the vault stays greppable, diffable, and citable. ## Core Features & Use Cases - Workbook-to-Markdown conversion: Pipes LibreOffice HTML rendering through pandoc to produce Markdown tables with standard clipping frontmatter (source, quality, source-hash, tags). - Content-hash deduplication: Detects renamed or moved workbooks already in the vault by hashing contents, preventing duplicate clippings under a second slug. - Batch-safe failure handling: Distinguishes a missing LibreOffice install (fatal, stops the run) from a corrupt or password-protected workbook (returns failed so batch runs continue). - Use Case: During a research run, clip a downloaded financial workbook with a topic tag so the triage step can group it with the rest of the run, then hand the clipping off to wiki-ingest for summarization and cross-referencing. ## Quick Start Ask the agent to clip the workbook at a given path into the wiki, optionally passing the source URL, quality tier, and research topic.

Frequently Asked Questions about clip-xlsx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clip an Excel spreadsheet into a Markdown wiki?▼

Run the clip-xlsx script with the workbook path, optionally passing --source, --quality, and --topic flags. It converts the file via LibreOffice and pandoc, then writes a Markdown clipping with standard frontmatter to raw/clippings/.

Why not convert a spreadsheet to PDF before clipping it?▼

PDF conversion flattens tables and rebuilds row-label pairings from horizontal position, which can pair the wrong number with the wrong label. For spreadsheets the pairing is the content, so direct workbook conversion is required.

What tools are required to convert xlsx files to Markdown?▼

The conversion requires LibreOffice (soffice) to render sheets as HTML tables and pandoc to convert that HTML to Markdown. A missing LibreOffice install is fatal and must be fixed before clipping.

Does the clipper handle duplicate or renamed workbooks?▼

Yes, duplicates are detected by content hash rather than file path. A renamed or moved workbook whose contents already exist in the vault is recognized instead of being clipped twice under a new slug.

What happens when a workbook fails to convert?▼

A corrupt or password-protected workbook returns a failed status so batch runs continue, and it is reported for manual handling. A thin result under 100 words records a decline, with no override flag to force it.

What are the limitations of spreadsheet-to-Markdown conversion?▼

Conversion is lossy on formulas, merged cells, charts, and multi-row headers; it captures rendered values, not the underlying model. Any figure should be verified against the original workbook before it appears on a wiki page.