json-flatten

Flatten nested JSON objects

3,891 stars

Best use case

json-flatten is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Flatten nested JSON objects

Teams using json-flatten should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/expanso-json-flatten/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/aronchick/expanso-json-flatten/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/expanso-json-flatten/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How json-flatten Compares

Feature / Agentjson-flattenStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Flatten nested JSON objects

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# 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 |

Related Skills

json2video-pinterest

3891
from openclaw/skills

Generate Pinterest-optimized vertical videos using JSON2Video API. Supports AI-generated or URL-based images, AI-generated or provided voiceovers, optional subtitles, and zoom effects. Use when creating video content for Pinterest affiliate marketing, creating vertical social media videos, automating video production with JSON2Video API, or generating videos with voiceovers and subtitles.

aria2-json-rpc

3891
from openclaw/skills

Interact with aria2 download manager via JSON-RPC 2.0. Manage downloads, query status, and control tasks through natural language commands. Use when working with aria2, download management, or torrent operations.

openclaw-json-editing

3891
from openclaw/skills

Advanced JSON editing for OpenClaw configuration files, tools, and data structures. Handles JSON5 configs, schema validation, merge patching, env var substitution, and type-safe modifications.

yaml-to-json

3891
from openclaw/skills

Convert YAML to JSON format

xml-to-json

3891
from openclaw/skills

Convert XML to JSON format

json-validate

3891
from openclaw/skills

"Validate JSON syntax and structure"

json-to-yaml

3891
from openclaw/skills

Convert JSON to YAML format

json-to-csv

3891
from openclaw/skills

"Convert JSON array of objects to CSV format"

json-pretty

3891
from openclaw/skills

"Pretty print JSON with indentation"

csv-to-json

3891
from openclaw/skills

"Convert CSV data to JSON array of objects"

jq-json-processor

3891
from openclaw/skills

Process, filter, and transform JSON data using jq - the lightweight and flexible command-line JSON processor.

import json

3891
from openclaw/skills

import tkinter as tk