Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

expanso-yaml-to-json

bởi aronchick

PDF & Documents
594Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Convert YAML to JSON format.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Yêu cầu

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

Cài đặt

clawhub install aronchick/expanso-yaml-to-json

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết