ワンクリックで
export
Write a dataset (array of records) to CSV, JSON, XLSX, or PDF through one interface — format chosen by the output extension.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Write a dataset (array of records) to CSV, JSON, XLSX, or PDF through one interface — format chosen by the output extension.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | export |
| description | Write a dataset (array of records) to CSV, JSON, XLSX, or PDF through one interface — format chosen by the output extension. |
| version | 0.1.0 |
One way to hand a dataset off as a file. Use this at the end of a task when you have rows of data (a list of records) and need to deliver them as CSV, JSON, XLSX, or PDF — without remembering a different library for each.
The helper at scripts/export.py takes a JSON array of objects on stdin (or from
a file) and writes the format implied by the output filename's extension:
| Extension | Format | Dependency |
|---|---|---|
.csv | CSV | stdlib |
.json | pretty JSON | stdlib |
.xlsx | Excel workbook | openpyxl (pip install openpyxl) |
.pdf | table on a PDF page | reportlab (pip install reportlab) |
CSV and JSON need nothing installed. XLSX and PDF require their library — install it before running, and only when you actually target that format.
A JSON array of flat objects (the records). The column order is taken from the union of keys, first-seen order:
[
{"id": 1, "name": "Ada", "score": 91},
{"id": 2, "name": "Linus", "score": 88}
]
# From a file, choosing format by extension
python scripts/export.py data.json --out report.csv
python scripts/export.py data.json --out report.xlsx
python scripts/export.py data.json --out report.pdf --title "Scores"
# From stdin (e.g. piped from another tool)
some-command | python scripts/export.py - --out out.json
.csv, .json, .xlsx, or
.pdf. Install the dependency for xlsx/pdf if you're using them.ls -l report.xlsx).openpyxl / reportlab are
not stdlib.Read, filter, select, aggregate, and join CSV / tabular data without spinning up a full data stack.
jq-style select, filter, and reshape over JSON and YAML — extract paths, map arrays, and filter records without writing throwaway code.
Read, write, search, and edit files in the workspace safely — atomic writes, exact-match edits, and recursive content search.
Everyday git — clone, branch, stage, diff, commit, and push, with a safe, predictable workflow.
Make HTTP/REST requests with auth, custom headers, query/body, pagination, retries with backoff, and structured error handling.
Connect to a Model Context Protocol (MCP) server, perform the handshake, discover its tools, and invoke them over JSON-RPC.