Skills DirectorySearch all skills ↗

AI agent skill · by @axoviq-ai

Xlsx

Extract data from Excel and CSV files

Archived 2026-10-23 · Source updated 2026-09-17 · License: AGPL-3.0-or-later. Check the original repository for the latest version.

SKILL.md instructions

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

Related skills