跳到正文
TakoAPI
返回技能列表

expanso-yaml-to-json

由 aronchick 提供

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

简介

Convert YAML to JSON format.

描述

该技能的功能

Converts YAML input to JSON format using the Expanso Edge pipeline runtime. Runs as a standalone CLI tool via stdin or as a persistent MCP server.

Runs as an MCP server, making it usable as a persistent conversion step in larger agent workflows without spawning a new process per request.

何时使用

  • Converting Kubernetes manifests to JSON for downstream tooling
  • Transforming CI/CD config files into JSON for API ingestion
  • Feeding YAML-formatted OpenAPI specs into JSON-only validators
  • Converting Helm chart values to JSON for scripting
  • Processing YAML configuration files in automated pipelines

示例工作流

输入

User asks: convert this YAML to JSON: 'name: foo version: 1'

智能体
  1. 1

    Receives YAML string as input

  2. 2

    Pipes input to expanso-edge via pipeline-cli.yaml

  3. 3

    Expanso Edge processes the YAML and serializes it as JSON

  4. 4

    Returns the JSON-formatted result

输出

{"name": "foo", "version": 1}

前置要求

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

安装

clawhub install aronchick/expanso-yaml-to-json

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

链接