一键导入
clean
Use when you need to convert a CSV file to JSON format.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when you need to convert a CSV file to JSON format.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Creates detailed reports from data when the user asks for report generation or data summaries.
Use when you need to test a skill that produces a security warning (not block).
Tests various features in applications to ensure quality. Use when testing is needed.
Use when you need to test a skill with allowed-tools as a YAML list.
[this is broken yaml
Use when you need to test a skill with non-string values in the metadata map.
| name | clean |
| description | Use when you need to convert a CSV file to JSON format. |
Read the input CSV file and convert it to a JSON array of objects.
import csv, json, sys
with open(sys.argv[1]) as f:
rows = list(csv.DictReader(f))
print(json.dumps(rows, indent=2))
Pass the path to your CSV as the first argument. Each row becomes a JSON object with the header row as keys. Output goes to stdout so you can pipe or redirect it.