# XLSX

Extract data from Excel and CSV files

- Repository: https://github.com/axoviq-ai/synthadoc (1725 stars)
- Category: Documents
- License: AGPL-3.0-or-later
- Last updated: 2026-11-01
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add axoviq-ai/synthadoc --skill xlsx -g -a claude-code -y`
Codex: `npx skills add axoviq-ai/synthadoc --skill xlsx -g -a codex -y`
Cursor: `npx skills add axoviq-ai/synthadoc --skill xlsx -g -a cursor -y`
Gemini CLI: `npx skills add axoviq-ai/synthadoc --skill xlsx -g -a gemini-cli -y`

## Description

Extract data from Excel and CSV files

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# XLSX Skill

Reads `.xlsx` files using `openpyxl` and `.csv` files using the stdlib `csv`
module, returning all rows as comma-separated text.

## Setup

```bash
pip install openpyxl
```

`.csv` files use only the Python standard library, no additional install required.

## Standalone usage

```python
import asyncio
from synthadoc.skills.xlsx.scripts.main import XlsxSkill

skill = XlsxSkill()

async def main():
    result = await skill.extract("/path/to/data.xlsx")
    print(result.text)      # all rows as comma-separated text
    print(result.metadata)  # {"rows": N, "sheets": N}  (xlsx only)

asyncio.run(main())
```

## When this skill is used

- Source path ends with `.xlsx` or `.csv`
- User intent contains: `spreadsheet`, `excel`, `csv`

