TopRank Skills

Home / Claw Skills / Git / GitHub / Expanso Json Validate
Official OpenClaw rules 36%

Expanso Json Validate

json validate

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Expanso Json Validate 技能。 若已安装,则直接安装 Expanso Json Validate 技能。

Overview

Skill Key
aronchick/expanso-json-validate
Author
aronchick
Source Repo
openclaw/skills
Version
-
Source Path
skills/aronchick/expanso-json-validate
Latest Commit SHA
2b228a9cd2391d88622fa218f3d7698965321268

Extracted Content

SKILL.md excerpt

# json-validate

"Validate JSON syntax and structure"

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

README excerpt

# json-validate

Validate JSON syntax and structure with detailed error reporting.

## Overview

This skill validates JSON content locally without any API calls. It parses the JSON and returns whether it's valid, any error messages, and statistics about the structure.

## Usage

### CLI Mode

```bash
# Validate JSON string
echo '{"key": "value"}' | expanso-edge run pipeline-cli.yaml

# Validate JSON file
cat data.json | expanso-edge run pipeline-cli.yaml
```

### MCP Mode

```bash
# Start server
PORT=8080 expanso-edge run pipeline-mcp.yaml &

# Make request
curl -X POST http://localhost:8080/validate \
  -H "Content-Type: application/json" \
  -d '{"json": "{\"key\": \"value\", \"array\": [1, 2, 3]}"}'
```

## Output

### Valid JSON

```json
{
  "valid": true,
  "error": null,
  "parsed": {
    "key": "value",
    "array": [1, 2, 3]
  },
  "stats": {
    "type": "object",
    "length": 35
  },
  "metadata": {
    "skill": "json-validate",
    "mode": "cli",
    "trace_id": "abc123...",
    "timestamp": "2024-01-15T10:30:00Z"
  }
}
```

### Invalid JSON

```json
{
  "valid": false,
  "error": "Invalid JSON syntax",
  "parsed": null,
  "stats": null,
  "metadata": { ... }
}
```

## Use Cases

- Validating API responses
- Pre-commit hooks for JSON files
- CI/CD pipeline validation
- Data ingestion validation

Related Claw Skills

heyixuan2

bambu-studio-ai

★ 41

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).

openstockdata

stock-data-skill

★ 4

OpenClaw Skill for stock data analysis

capt-marbles

geo-optimization

★ 1

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.

cclank

news-aggregator-skill

★ 0

Comprehensive news aggregator that fetches, filters, and deeply analyzes real-time content from 8 major sources: Hacker News, GitHub Trending, Product Hunt, 36Kr, Tencent News, WallStreetCN, V2EX, and Weibo. Best for 'daily scans', 'tech news briefings', 'finance updates', and 'deep interpretations' of hot topics.

cccarv82

openclaw-backup-optimized

★ 0

Optimized OpenClaw backup skill for creating full snapshots with workspace archive splitting, change summaries, restore instructions, and Discord notifications. Use when you need to set up or run automated backups, configure backup cron jobs, or document/restore OpenClaw state. Triggers on backup automation, backup scripts, snapshot/restore, or GitHub backup repos.

cemoso

pr-review-loop

★ 0

Autonomous PR review loop with Greptile. Use when an agent creates a PR and needs to autonomously handle code review feedback — reading Greptile reviews, fixing issues, pushing fixes, re-triggering review, and auto-merging when score is 4/5+. Trigger on commands like "pr review {url}", "review my PR", or when a Greptile review webhook/poll delivers feedback.