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.
npx skills add veelenga/preview-skills --skill preview-csvgit clone --depth 1 https://github.com/veelenga/preview-skillsWrote 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.
[](https://agentmods.dev/skills/veelenga/preview-skills/preview-csv)<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>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.
| Model | Per session | Once 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 |
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.
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.
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"
What ships with it
11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- config.sh 1.8 KB runs code
- lib/browser-utils.sh 9.5 KB runs code
- lib/content-utils.sh 6.7 KB runs code
- lib/html-generator.sh 14 KB runs code
- run.sh 7.5 KB runs code
- templates/scripts/common-ui.js 5.1 KB runs code
- templates/scripts/csv-renderer.js 11 KB runs code
- templates/scripts/utils.js 1.8 KB runs code
- templates/styles/common.css 1.6 KB
- templates/styles/csv.css 5.7 KB
- templates/styles/layout.css 14 KB
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.
- 7d ago First seen · 173 lines · 20 tokens per session scan A 29e24b0ea2ec
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.
Other skills, from other repositories
exec-xlsx
Create, read, edit, format, or clean spreadsheet files (.xlsx/.csv) with formula validation and scope verification.
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.
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'…
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…
xlsx
A guide for working with spreadsheet files such as Excel workbooks, CSV files, and TSV files.
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…