Saltar al contenido
TakoAPI
Volver a skills

expanso-json-flatten

por aronchick

CLI Utilities
585Descargas según clawskills.sh
0Vistas
0 me gustaInicia sesión para dar me gusta a esta skill
—Aún sin valoraciones
Tu valoración

Resumen

Flatten nested JSON objects.

Descripción

Qué hace esta skill

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.

Cuándo usarla

  • 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

Flujo de trabajo de ejemplo

ENTRADA

User asks: flatten this nested JSON object

AGENTE
  1. 1

    Receives nested JSON as stdin

  2. 2

    Pipes input to the expanso-edge runtime

  3. 3

    Executes pipeline-cli.yaml to process the flattening

  4. 4

    Returns a flat single-level JSON object

SALIDA

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

Requisitos

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

Instalación

clawhub install aronchick/expanso-json-flatten

Ejecuta el comando de la CLI o pega el prompt en Claude Code, Cursor, Codex o el agente de programación que uses.

Enlaces