# csv-xlsx-import-export-wasp-drone

csv-xlsx-import-export-wasp-drone architects CSV and XLSX upload and export flows for React and Next.js stacks. Covers streaming parsers, column mapping, and formula injection defenses.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 96 repo stars
- Author: Legion Code Inc.
- License: AGPL-3.0-or-later · policy=link-only · description only; the file stays with the author
- Source: https://github.com/legioncodeinc/vibe-coding-tools/tree/HEAD/plugins/web-development-tools/agents/csv-xlsx-import-export-wasp-drone.md
- Updated: 2026-10-18
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/csv-xlsx-import-export-wasp-drone

## What it does

This subagent handles the data pipeline between spreadsheet uploads and application state. Browser workflows rely on `papaparse` for CSV parsing and `SheetJS` inside a Web Worker for XLSX files, while server-side exports use `exceljs`. Whenever an uploaded document exceeds 5 MB, the drone enforces streaming or background worker execution to keep the browser responsive.

On the ingestion path, it drafts step-by-step column-mapping wizards, per-row `Zod` schemas, and detailed error summaries matching spreadsheet coordinates. For exports, it sanitizes cells against CWE-1236 formula injections, manages UTF-8 BOM headers for Excel, and calls `row.commit()` on every row within `WorkbookWriter` to stop memory leaks.

If spreadsheets exceed 500 MB, the agent stops and requests a human decision because such payloads require object storage and asynchronous background job pipelines.

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add legioncodeinc/vibe-coding-tools
```
In the agent chat (not a shell):
```text
/plugin install web-development-tools@wasp-nest
```

2. **Manually: put the files in place**
- File: `.claude/agents/csv-xlsx-import-export-wasp-drone.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/csv-xlsx-import-export-wasp-drone.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/csv-xlsx-import-export-wasp-drone.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/legioncodeinc/vibe-coding-tools/tree/HEAD/plugins/web-development-tools/agents/csv-xlsx-import-export-wasp-drone.md

## When to use it
- stream parse multi-megabyte spreadsheets without freezing the UI
- implement column-mapping wizards with row-by-row Zod validation
- prevent formula injection attacks when exporting tabular data
- generate styled XLSX workbooks on the backend without RAM exhaustion

## Example prompts
- Help me implement client-side CSV parsing with Web Workers for files over 10 MB
- Build a column-mapping wizard for Next.js with row-level validation errors
- Review our spreadsheet export routine for formula injection vulnerabilities

## Similar
- [xlsx](https://affpapa.org/en/nevibecode/skills/xlsx.md) — skill · 187223 installs
- [minimax-xlsx](https://affpapa.org/en/nevibecode/skills/minimax-xlsx.md) — skill · 3900 installs
- [xlsx-manipulation](https://affpapa.org/en/nevibecode/skills/xlsx-manipulation.md) — skill · 6900 installs
- [agent-xlsx](https://affpapa.org/en/nevibecode/skills/agent-xlsx.md) — skill · 782 installs
- [kimi-xlsx](https://affpapa.org/en/nevibecode/skills/kimi-xlsx.md) — skill · 437 installs
- [xlsx-generator](https://affpapa.org/en/nevibecode/skills/xlsx-generator.md) — skill · 397 installs

From the same set: [legioncodeinc/vibe-coding-tools](https://affpapa.org/en/nevibecode/by/legioncodeinc/vibe-coding-tools.md) — 172 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
