---
name: Xlsx
slug: xlsx-5
category: Data
description: Xlsx extracts rows from .xlsx and .csv files into comma-separated text. Use it when you need to read spreadsheet data from Excel or CSV inputs.
github: "https://github.com/axoviq-ai/synthadoc/tree/main/synthadoc/skills/xlsx"
language: Python
stars: 1012
forks: 122
install: "npx degit https://github.com/axoviq-ai/synthadoc/tree/main/synthadoc/skills/xlsx ~/.claude/skills/xlsx"
installs_to: ~/.claude/skills/xlsx
source_path: synthadoc/skills/xlsx/SKILL.md
collection_size: 10
category_size: 668
collection_url: "https://dirskills.com/collections/axoviq-ai/synthadoc"
added: 2026-08-21T05:14:33.008Z
last_synced: 2026-08-21T05:14:33.008Z
canonical_url: "https://dirskills.com/skills/xlsx-5"
---

# Xlsx

Xlsx extracts rows from .xlsx and .csv files into comma-separated text. Use it when you need to read spreadsheet data from Excel or CSV inputs.

**Install:**

```bash
npx degit https://github.com/axoviq-ai/synthadoc/tree/main/synthadoc/skills/xlsx ~/.claude/skills/xlsx
```

## README

# 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`
