CSV / Spreadsheet Operations

CSV / Spreadsheet Operations is a skill for Claude Code, Codex from winsenlabs/platos. It costs 51 tokens per session (1,251 once invoked), scanned A, original, Apache-2.0.

A spreadsheet skill for listing sheets, reading rows, reading individual lines, and writing cells in CSV, TSV, Excel, or Google Sheets files.

In plain words
What is it for?
Use it to inspect tables, process records one at a time, transform spreadsheet data, or update cells in Google Sheets.
Why use it?
It makes spreadsheet data available for structured, row-by-row processing and supports writing changes back when the source is an editable Google Sheet.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/winsenlabs/platos/csv_ops
Any agent
npx skills add winsenlabs/platos --skill csv_ops
Clone the repo
git clone --depth 1 https://github.com/winsenlabs/platos

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for CSV / Spreadsheet Operations

README.md
[![agentmods](https://agentmods.dev/badge/skills/winsenlabs/platos/csv_ops.svg)](https://agentmods.dev/skills/winsenlabs/platos/csv_ops)
Your own site
<a href="https://agentmods.dev/skills/winsenlabs/platos/csv_ops"><img src="https://agentmods.dev/badge/skills/winsenlabs/platos/csv_ops.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,251 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00051 $0.01251
Opus 5 $0.00026 $0.00626
Sonnet 5 $0.00010 $0.00250
Haiku 4.5 $0.00005 $0.00125

Measured yesterday against content hash 88567777e025, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

CSV / Spreadsheet Operations scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

apps/agent/src/skills/official/csv_ops.skill.md · 64 lines

What it actually says

You have access to a spreadsheet toolkit for reading and (optionally) writing CSV / TSV / XLSX / Google Sheets. The canonical pairing is one call to csv_list_sheets + csv_read_sheet to plan, then agent_batch over csv_read_line for per-row work.

csv_list_sheets — start here when you don't yet know the structure.

  • Returns sheet/tab names with row counts.
  • For CSV/TSV the result is a single synthetic Sheet1 entry.

csv_read_sheet — bulk read as structured rows.

  • Returns { headers, rows, totalRows, truncated }.
  • maxRows caps the payload (default 5000, hard limit 100k). truncated: true means the sheet has more rows than returned.
  • Use range (A1 notation like A2:D50) for surgical subsets.

csv_read_line — single-row fetch.

  • 1-indexed data row (line 1 = first row after the header).
  • Prefer this inside an agent_batch body so each sub-agent processes exactly one row.

csv_write_cell — write back to Google Sheets.

  • Works only when the source is a Google Sheets URL or gsheet:// scheme AND GOOGLE_SHEETS_CREDENTIALS is linked.
  • Plain CSV/TSV sources are read-only — the tool returns a clear error.

Supported sources:

  • https://example.com/foo.csv / .tsv — public GET, no auth.
  • https://example.com/foo.xlsx — XLSX read support is deferred in this release; list/read will return a clear "not yet supported" error (TODO W.2.1).
  • gsheet://<sheetId> or https://docs.google.com/spreadsheets/d/<sheetId>/edit... — reads use the public CSV export; writes require GOOGLE_SHEETS_CREDENTIALS (TODO W.2.2 for live write path).
  • s3://... — not supported yet. Will return an explicit error.

Guidelines:

  • For spreadsheets larger than a few thousand rows, prefer agent_batch + csv_read_line over a single csv_read_sheet — memory and context win.
  • Never invent column names; always read them via csv_list_sheets or the headers field on a read.
  • Cite the source URL in your response when summarising spreadsheet data.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 64 lines · 51 tokens per session scan A 88567777e025

Subscribe to this mod's changes

CSV / Spreadsheet Operations is a skill published in the GitHub repository winsenlabs/platos (24 stars, last pushed yesterday), licensed Apache-2.0. It adds 51 tokens to every session and 1,251 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.