← Back to Skills Marketplace
aronchick

Expanso json-flatten

by Expanso · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
835
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install expanso-json-flatten
Description
Flatten nested JSON objects using Expanso Edge pipelines via CLI or MCP server.
README (SKILL.md)

json-flatten

Flatten nested JSON objects

Requirements

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

Usage

CLI Pipeline

# Run standalone
echo '\x3Cinput>' | expanso-edge run pipeline-cli.yaml

MCP Pipeline

# Start as MCP server
expanso-edge run pipeline-mcp.yaml

Deploy to Expanso Cloud

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
Usage Guidance
This skill is internally inconsistent: it advertises "flattened" output but the pipelines simply parse the JSON and return the original object plus key summaries and metadata (trace_id, timestamp). Before installing or deploying: - Do not run this on sensitive data: the pipelines include root.original in outputs, so input contents will be returned/served and could be exposed. - If you need true flattening (dot notation), ask the author to implement and test a proper flatten step — currently none exists. - Be cautious when running the MCP pipeline: it listens on 0.0.0.0:${PORT:-8080}, which exposes an HTTP endpoint; configure PORT, firewall, or access controls before binding to public interfaces. - Review or test the behaviour locally with non-sensitive inputs. If you plan to deploy to Expanso Cloud, confirm the destination (https://skills.expanso.io) is trusted and understand that deployment publishes pipeline definitions externally. Given these inconsistencies, treat the skill as untrusted until the author fixes the mismatch between claimed outputs and actual pipeline behavior and documents intended privacy guarantees.
Capability Analysis
Type: OpenClaw Skill Name: expanso-json-flatten Version: 1.0.0 The skill bundle is designed to analyze and extract top-level keys from JSON objects, operating either via CLI or as an HTTP server. All files, including the `SKILL.md` and `README.md` instructions, `pipeline-cli.yaml`, and `pipeline-mcp.yaml` code, align with this stated purpose. The processing logic uses a sandboxed mapping language to parse JSON and extract metadata without any evidence of file system access, network calls (beyond the intended HTTP server for MCP mode), arbitrary code execution, data exfiltration, persistence mechanisms, or prompt injection attempts against the AI agent.
Capability Assessment
Purpose & Capability
skill.yaml and README claim a "flattened object with dot notation keys" as the output, but both pipeline-cli.yaml and pipeline-mcp.yaml do not perform any flattening. They return the parsed original object and summary fields (top_level_keys, key_count, metadata). The declared capability (flattening to dot notation) is not implemented by the provided runtime instructions.
Instruction Scope
SKILL.md only instructs using expanso-edge to run the included pipeline YAMLs and how to deploy to Expanso Cloud. Pipelines parse input JSON and include the full parsed object in the output (root.original). That means any input, including sensitive fields, will be echoed in outputs and — if deployed or served — transmitted over network. The MCP pipeline binds to 0.0.0.0:${PORT:-8080} and exposes POST /flatten, which will accept external requests if deployed without network controls.
Install Mechanism
Instruction-only skill with no install spec and no code files. No downloads or installers are present, so there is no installation risk from unknown binaries or archives.
Credentials
The skill declares no required environment variables, no credentials, and no config paths. The runtime instructions use only expanso-edge and expanso-cli as expected.
Persistence & Privilege
The skill is not always-enabled and does not request system-wide persistence or modify other skills. It can be invoked by the agent (normal behaviour) but has no elevated platform privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install expanso-json-flatten
  3. After installation, invoke the skill by name or use /expanso-json-flatten
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial publish
Metadata
Slug expanso-json-flatten
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Expanso json-flatten?

Flatten nested JSON objects using Expanso Edge pipelines via CLI or MCP server. It is an AI Agent Skill for Claude Code / OpenClaw, with 835 downloads so far.

How do I install Expanso json-flatten?

Run "/install expanso-json-flatten" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Expanso json-flatten free?

Yes, Expanso json-flatten is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Expanso json-flatten support?

Expanso json-flatten is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Expanso json-flatten?

It is built and maintained by Expanso (@aronchick); the current version is v1.0.0.

💬 Comments