العودة إلى المهارات
expanso-yaml-to-json
بواسطة aronchick
PDF & Documents—لم يُقيَّم بعد
تقييمك
موجز
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
Receives YAML string as input
- 2
Pipes input to expanso-edge via pipeline-cli.yaml
- 3
Expanso Edge processes the YAML and serializes it as JSON
- 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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.