跳到正文
TakoAPI
返回技能列表

expanso-json-to-csv

由 aronchick 提供

PDF & Documents
640下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

"Convert JSON array of objects to CSV format".

描述

该技能的功能

Converts a JSON array of objects into CSV format. Runs as a standalone CLI pipeline via stdin/stdout or as an MCP server using the Expanso Edge runtime.

Handles the conversion inline in a pipeline without writing custom scripts, and can be exposed as an MCP server for agent-driven workflows.

何时使用

  • Exporting API response data to a spreadsheet
  • Converting JSON log files for analysis in Excel
  • Transforming database exports for reporting tools
  • Preparing structured JSON data for CSV-based ETL pipelines
  • Sharing JSON datasets with non-technical stakeholders

示例工作流

输入

User asks: Convert this JSON array to CSV

智能体
  1. 1

    Receives JSON array via stdin

  2. 2

    Parses each object and extracts field names as column headers

  3. 3

    Maps object values to corresponding CSV columns

  4. 4

    Outputs formatted CSV text to stdout

输出

CSV-formatted text with headers and data rows matching the input JSON structure

前置要求

  • Expanso Edge binary installed in PATH (expanso-edge)

安装

clawhub install aronchick/expanso-json-to-csv

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接