expanso-json-flatten
CLI Utilities
v1.0.0
BenignFlatten nested JSON objects.
585 downloads585 installsby @aronchick
Setup & Installation
Install command
clawhub install aronchick/expanso-json-flattenIf the CLI is not installed:
Install command
npx clawhub@latest install aronchick/expanso-json-flattenOr install with OpenClaw CLI:
Install command
openclaw skills install aronchick/expanso-json-flattenor paste the repo link into your assistant's chat
Install command
https://github.com/openclaw/skills/tree/main/skills/aronchick/expanso-json-flattenWhat This Skill Does
Flattens nested JSON objects into a single-level key-value structure. Runs as a CLI pipeline, an MCP server, or deploys to Expanso Cloud. Input is piped through the Expanso Edge runtime.
Avoids writing custom recursive flattening logic for arbitrarily nested JSON structures.
When to Use It
- Normalizing nested API responses before loading into a database
- Flattening config files to compare values across environments
- Preprocessing webhook payloads for spreadsheet export
- Simplifying nested log entries for log aggregation tools
- Converting deeply nested objects into flat CSV rows
View original SKILL.md file
# json-flatten Flatten nested JSON objects ## Requirements - Expanso Edge installed (`expanso-edge` binary in PATH) - Install via: `clawhub install expanso-edge` ## Usage ### CLI Pipeline ```bash # Run standalone echo '<input>' | expanso-edge run pipeline-cli.yaml ``` ### MCP Pipeline ```bash # Start as MCP server expanso-edge run pipeline-mcp.yaml ``` ### Deploy to Expanso Cloud ```bash expanso-cli job deploy https://skills.expanso.io/json-flatten/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 |
Example Workflow
Here's how your AI assistant might use this skill in practice.
INPUT
User asks: Normalizing nested API responses before loading into a database
AGENT
- 1Normalizing nested API responses before loading into a database
- 2Flattening config files to compare values across environments
- 3Preprocessing webhook payloads for spreadsheet export
- 4Simplifying nested log entries for log aggregation tools
- 5Converting deeply nested objects into flat CSV rows
OUTPUT
Flatten nested JSON objects.
Security Audits
VirusTotalBenign
OpenClawBenign
View full reportThese signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.