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 duckdb/duckdb-skills --skill convert-filegit clone --depth 1 https://github.com/duckdb/duckdb-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/duckdb/duckdb-skills/convert-file)<a href="https://agentmods.dev/skills/duckdb/duckdb-skills/convert-file"><img src="https://agentmods.dev/badge/skills/duckdb/duckdb-skills/convert-file/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/duckdb/duckdb-skills/convert-file"><img src="https://agentmods.dev/badge/skills/duckdb/duckdb-skills/convert-file.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk warn
- NVIDIA SkillSpector pass
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.00094 | $0.00823 |
| Opus 5 | $0.00047 | $0.00411 |
| Sonnet 5 | $0.00019 | $0.00165 |
| Haiku 4.5 | $0.00009 | $0.00082 |
Grade A, and why
convert-file 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 9d 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 — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are helping the user convert a data file from one format to another using DuckDB.
Input file: $0
Output file: ${1:-}
Step 1 — Resolve input and output
Input: $0. If it's a bare filename (no /), resolve to a full path with find "$PWD" -name "$0" -not -path '*/.git/*' 2>/dev/null | head -1.
Output: If $1 is provided, use it as the output path. If not, default to the same stem as the input with a .parquet extension (e.g., data.csv → data.parquet).
Infer the output format from the output file extension:
| Extension | Format clause |
|---|---|
.parquet, .pq |
(default, no clause needed) |
.csv |
(FORMAT csv, HEADER) |
.tsv |
(FORMAT csv, HEADER, DELIMITER '\t') |
.json |
(FORMAT json, ARRAY true) |
.jsonl, .ndjson |
(FORMAT json, ARRAY false) |
.xlsx |
(FORMAT xlsx) — requires INSTALL excel; LOAD excel; |
.geojson |
(FORMAT GDAL, DRIVER 'GeoJSON') — requires LOAD spatial; |
.gpkg |
(FORMAT GDAL, DRIVER 'GPKG') — requires LOAD spatial; |
.shp |
(FORMAT GDAL, DRIVER 'ESRI Shapefile') — requires LOAD spatial; |
Step 2 — Convert
Run a single DuckDB command. Prepend extension loads as needed based on both the input and output formats.
duckdb -c "
<EXTENSION_LOADS>
COPY (FROM '<INPUT_PATH>') TO '<OUTPUT_PATH>' <FORMAT_CLAUSE>;
"
For remote inputs (s3://, https://, etc.), prepend the same protocol setup as read-file:
| Protocol | Prepend |
|---|---|
s3:// |
LOAD httpfs; CREATE SECRET (TYPE S3, PROVIDER credential_chain); |
gs:// / gcs:// |
LOAD httpfs; CREATE SECRET (TYPE GCS, PROVIDER credential_chain); |
https:// / http:// |
LOAD httpfs; |
If the user mentions partitioning (e.g., "partition by year"), add PARTITION_BY (col) to the format clause. This only works with Parquet and CSV output.
If the user mentions compression (e.g., "use zstd"), add CODEC 'zstd' for Parquet output.
Step 3 — Report
On success, report:
- Input file and detected format
- Output file, format, and size (
ls -lh) - Row count if quick to compute
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.
- 9d ago First seen · 71 lines · 94 tokens per session scan A f60b4b0c136e
convert-file is a skill published in the GitHub repository duckdb/duckdb-skills (539 stars, last pushed 4mo ago), licensed MIT. It adds 94 tokens to every session and 823 once invoked, about $0.0005 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-30.
Other skills, from other repositories
byted-data-deepresearch-structured2markdown
A data-analysis skill that converts Excel spreadsheets and CSV files into carefully formatted Markdown documents. Markdown is plain text with formatting that can be displayed as tables and reports.
antinet-doc-parse
A document-processing skill for building RAG systems, which let an AI search a knowledge base before answering. It handles complex PDF, Word, and Excel files and produces structured Markdown and metadata.
okf-csv
CSV connector that produces and ingests Open Knowledge Format (OKF) bundles from a directory of CSV files. Infers each file's column schema (integer/number/boolean/date/string) by sampling rows, optionally embeds a per-column data profile and sample rows, and syncs descriptions back to a .okf-metadata.yaml sidecar.…
file-intel
Run the Gemini file processor on any folder — extracts content from PDF, PPTX, XLSX, DOCX, CSV, JSON, and any text format, then generates Obsidian-ready summaries. Use when asked to "summarise this folder", "run file intel", "process these files", or a folder path is provided and summaries are needed.
text-to-excel
A tool that turns structured text—such as CSV, JSON, lists, or Markdown tables—into Excel spreadsheet files. It can organize the data into sheets and apply requested spreadsheet formatting.
数据搬运工
A general data-transfer and format-conversion tool for moving, cleaning, and reshaping files. It works with spreadsheets, CSV and TSV tables, JSON, XML, YAML, SQL inserts, and SQLite databases.