LaunchKit · 2026
Back to Skills

expanso-json-flatten

Flatten nested JSON objects.

0
585 downloads
by @aronchick

Setup & Installation

openclaw skills install @aronchick/expanso-json-flatten

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install expanso-json-flatten

What 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

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: flatten this nested JSON object

AGENT
  1. 1Receives nested JSON as stdin
  2. 2Pipes input to the expanso-edge runtime
  3. 3Executes pipeline-cli.yaml to process the flattening
  4. 4Returns a flat single-level JSON object
OUTPUT

A flat JSON object with dot-notation or underscore-separated keys representing the original hierarchy

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Expanso Edge binary installed in PATH (install via `clawhub install expanso-edge`)