← 返回 Skills 市场
aronchick

Expanso yaml-to-json

作者 Expanso · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
839
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install expanso-yaml-to-json
功能描述
Convert YAML input into JSON format using Expanso Edge pipelines.
使用说明 (SKILL.md)

yaml-to-json

Convert YAML to JSON format

Requirements

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

Usage

CLI Pipeline

# Run standalone
echo '\x3Cinput>' | expanso-edge run pipeline-cli.yaml

MCP Pipeline

# Start as MCP server
expanso-edge run pipeline-mcp.yaml

Deploy to Expanso Cloud

expanso-cli job deploy https://skills.expanso.io/yaml-to-json/pipeline-cli.yaml

Files

File Purpose
skill.yaml Skill metadata (inputs, outputs, credentials)
pipeline-cli.yaml Standalone CLI pipeline
pipeline-mcp.yaml MCP server pipeline
安全使用建议
This skill appears to do exactly what it says: convert YAML to JSON using Expanso pipelines and it does not request any secrets. Before installing/run: (1) ensure you trust the 'expanso-edge' runtime the skill expects to run; (2) be aware that the MCP pipeline listens on 0.0.0.0:${PORT:-8080} — consider firewall rules or binding to localhost if you don't want it exposed; (3) exercise caution when parsing untrusted YAML (some YAML parsers support unsafe constructors); and (4) if you plan to use the 'Deploy to Expanso Cloud' command, understand that your YAML will be sent to an external service (skills.expanso.io). If any of those are concerns, review the included pipeline YAML files and only run with non-sensitive test data until you're comfortable.
功能分析
Type: OpenClaw Skill Name: expanso-yaml-to-json Version: 1.0.0 The skill bundle is benign. All files align with the stated purpose of converting YAML to JSON. The `SKILL.md` and `README.md` provide clear usage instructions without attempting prompt injection against the agent. The core logic in `pipeline-cli.yaml` and `pipeline-mcp.yaml` uses an internal `parse_yaml()` function and handles errors gracefully. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or obfuscation. The HTTP server in `pipeline-mcp.yaml` is part of its intended functionality as an MCP server.
能力评估
Purpose & Capability
The skill's files and pipelines clearly implement a YAML→JSON conversion (pipeline-cli.yaml and pipeline-mcp.yaml). One minor inconsistency: SKILL.md documents that the 'expanso-edge' binary is required, but the packaged metadata lists no required binaries. Requiring expanso-edge is reasonable for an Expanso pipeline, but the omission from metadata is worth noting.
Instruction Scope
All runtime instructions stick to the stated purpose: the CLI pipeline reads stdin and returns a JSON object with parsed data and metadata; the MCP pipeline exposes an HTTP POST /convert endpoint that accepts YAML and returns parsed JSON. The pipelines do not access credentials, system files, or external endpoints. Points to be aware of: the MCP pipeline binds to 0.0.0.0:${PORT:-8080} (network-exposed), and the pipeline uses parse_yaml() — depending on the underlying parser, parsing untrusted YAML can carry risks (e.g., unsafe constructors).
Install Mechanism
No install spec or code is bundled; this is instruction-only. SKILL.md tells the user to install expanso-edge (via 'clawhub install expanso-edge') but the skill package does not itself download or run code.
Credentials
The skill declares no required environment variables or credentials. The MCP pipeline optionally uses PORT (default 8080) via ${PORT:-8080} which is reasonable. No secrets or unrelated environment access are requested.
Persistence & Privilege
always:false and no install-time persistence or configuration changes are requested. The skill does not request elevated privileges or modify other skills' configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install expanso-yaml-to-json
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /expanso-yaml-to-json 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial publish to ClawHub
元数据
Slug expanso-yaml-to-json
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Expanso yaml-to-json 是什么?

Convert YAML input into JSON format using Expanso Edge pipelines. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 839 次。

如何安装 Expanso yaml-to-json?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install expanso-yaml-to-json」即可一键安装,无需额外配置。

Expanso yaml-to-json 是免费的吗?

是的,Expanso yaml-to-json 完全免费(开源免费),可自由下载、安装和使用。

Expanso yaml-to-json 支持哪些平台?

Expanso yaml-to-json 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Expanso yaml-to-json?

由 Expanso(@aronchick)开发并维护,当前版本 v1.0.0。

💬 留言讨论