← 返回 Skills 市场
835
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install expanso-json-flatten
功能描述
Flatten nested JSON objects using Expanso Edge pipelines via CLI or MCP server.
使用说明 (SKILL.md)
json-flatten
Flatten nested JSON objects
Requirements
- Expanso Edge installed (
expanso-edgebinary 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 |
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install expanso-json-flatten - 安装完成后,直接呼叫该 Skill 的名称或使用
/expanso-json-flatten触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial publish
元数据
常见问题
Expanso json-flatten 是什么?
Flatten nested JSON objects using Expanso Edge pipelines via CLI or MCP server. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 835 次。
如何安装 Expanso json-flatten?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install expanso-json-flatten」即可一键安装,无需额外配置。
Expanso json-flatten 是免费的吗?
是的,Expanso json-flatten 完全免费(开源免费),可自由下载、安装和使用。
Expanso json-flatten 支持哪些平台?
Expanso json-flatten 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Expanso json-flatten?
由 Expanso(@aronchick)开发并维护,当前版本 v1.0.0。
推荐 Skills