跳到正文
TakoAPI
返回技能列表

expanso-json-to-yaml

由 aronchick 提供

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

简介

Convert JSON to YAML format.

描述

该技能的功能

Converts JSON input to YAML format using the Expanso Edge runtime. Runs as a CLI pipeline or as an MCP server, and can also be deployed to Expanso Cloud for remote execution.

Runs the conversion as a reusable pipeline without writing a one-off script or relying on an online tool.

何时使用

  • Converting API response payloads to YAML config files
  • Transforming JSON exports into Kubernetes manifest format
  • Reformatting package.json fields as YAML for CI tools
  • Converting JSON schema definitions to YAML equivalents
  • Batch converting JSON data files to YAML in automation pipelines

示例工作流

输入

User asks: Convert this JSON to YAML: {"name": "example", "version": "1.0"}

智能体
  1. 1

    Receives the JSON string as stdin input

  2. 2

    Pipes it to expanso-edge running the CLI pipeline

  3. 3

    Pipeline processes the JSON-to-YAML conversion

  4. 4

    Returns the formatted YAML string

输出

name: example version: '1.0'

前置要求

  • expanso-edge binary installed and in PATH (install via clawhub install expanso-edge)

安装

clawhub install aronchick/expanso-json-to-yaml

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

链接