preview-csv

preview-csv is a skill for Claude Code from veelenga/preview-skills. It costs 20 tokens per session (953 once invoked), scanned A, original, MIT.

A browser preview tool for CSV files, which are text-based tables. It turns the file into an interactive table with sorting, filtering, and statistics for each column.

In plain words
What is it for?
Use it to preview CSV files or piped data, sort and filter records, examine column statistics, and optionally save the generated view without opening a browser.
Why use it?
It makes tabular data easier to inspect than raw comma-separated text. You can focus on rows and compare column values directly in the browser.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to preview CSV files or piped data, sort and filter records, examine column statistics, and optionally save the generated view without opening a browser.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/veelenga/preview-skills/preview-csv
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.

Any agent
npx skills add veelenga/preview-skills --skill preview-csv
Clone the repo
git clone --depth 1 https://github.com/veelenga/preview-skills

Made for: Claude Code.

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 preview-csv

README.md
[![agentmods](https://agentmods.dev/badge/skills/veelenga/preview-skills/preview-csv.svg)](https://agentmods.dev/skills/veelenga/preview-skills/preview-csv)
Your own site
<a href="https://agentmods.dev/skills/veelenga/preview-skills/preview-csv"><img src="https://agentmods.dev/badge/skills/veelenga/preview-skills/preview-csv.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 953 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00020 $0.00953
Opus 5 $0.00010 $0.00477
Sonnet 5 $0.00004 $0.00191
Haiku 4.5 $0.00002 $0.00095

Measured 7d ago against content hash 29e24b0ea2ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

preview-csv 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 7d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (config.sh, lib/browser-utils.sh, lib/content-utils.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/preview-csv/SKILL.md · 173 lines

How it starts

The opening of the file, as written. The whole thing — 173 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Preview CSV Skill

Interactive CSV file viewer that generates HTML visualizations with sorting, filtering, and statistical analysis.

Agent Usage

When the user asks to preview a CSV file, DO NOT build HTML manually. Use the Bash tool to execute this skill's run.sh script:

# Preview a file
./run.sh data.csv

# Pipe content
cat data.csv | ./run.sh

The script handles all HTML generation and automatically opens the result in the browser. Do NOT open the file manually to avoid duplicate tabs.

Usage

# Preview a CSV file
/preview-csv data.csv

# Pipe CSV data (preferred for temporary content)
cat data.csv | /preview-csv
echo "name,age\nAlice,30\nBob,25" | /preview-csv

# With custom background color
/preview-csv data.csv --background "#1e1e1e"

Best Practice: For temporary or generated content, prefer piping over creating temporary files. This avoids cluttering your filesystem and the content is automatically cleaned up.

Options

The script works with sensible defaults but supports these flags for flexibility:

  • -o, --output PATH - Custom output path
  • --no-browser - Skip browser, output file path only

Features

  • Interactive table with sortable columns (click headers)
  • Search and filter across all data in real-time
  • Column statistics including:
    • Min/Max values
    • Average for numeric columns
    • Unique value counts
    • Data type detection
  • Export to JSON functionality
  • Large file support with automatic pagination (10,000+ rows)
  • Responsive design adapts to screen size
  • Keyboard navigation for accessibility

When to Use This Skill

Use this skill when the user wants to:

  • View and explore CSV data files
  • Analyze data with sorting and filtering
  • Inspect column statistics quickly
  • Share formatted data views
  • Debug or verify CSV file contents

Examples

Natural language requests:

  • "preview this CSV file"
  • "show me the data in customers.csv"
  • "open the employee data"
  • "visualize this CSV"
  • "let me see what's in sales.csv"

Read the full file on GitHub · 173 lines

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. 7d ago First seen · 173 lines · 20 tokens per session scan A 29e24b0ea2ec

Subscribe to this mod's changes

preview-csv is a skill published in the GitHub repository veelenga/preview-skills (8 stars, last pushed 26d ago), licensed MIT. It adds 20 tokens to every session and 953 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

exec-xlsx

Create, read, edit, format, or clean spreadsheet files (.xlsx/.csv) with formula validation and scope verification.

evolyob/AGY_SkillBook · 28 tokens

markitdown

Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.

x-cmd/skill · 53 tokens

officecli-financial-model

Use this skill when the user wants to build a financial model — 3-statement model, DCF valuation, LBO, SaaS unit economics, sensitivity / scenario analysis, debt schedule, or fundraising projections — in Excel. Trigger on: 'financial model', '3-statement model', 'P&L + BS + CF', 'DCF', 'WACC', 'NPV', 'terminal value'…

iOfficeAI/OfficeCLI · 222 tokens

xlsx

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or…

agentscope-ai/QwenPaw · 201 tokens

xlsx

A guide for working with spreadsheet files such as Excel workbooks, CSV files, and TSV files.

agentscope-ai/QwenPaw · 232 tokens

officecli-data-dashboard

Use this skill to build a multi-element Excel dashboard — Dashboard sheet on open, multiple formula-driven KPI cards, multiple charts, sparklines, and conditional formatting — from CSV or tabular input. Trigger on: 'dashboard', 'KPI dashboard', 'analytics dashboard', 'executive dashboard', 'metrics dashboard', 'CSV to…

iOfficeAI/OfficeCLI · 157 tokens