agentCLAWHUBUnverified

Clean JSON Toolkit

Local JSON / JSONL inspection and manipulation toolkit. Inspect deeply nested structures (path tree, types, sample values per path), query with a jq-style pa... Skill: Clean JSON Toolkit Owner: gopendrasharma89-tech Summary: Local JSON / JSONL inspection and manipulation toolkit. Inspect deeply nested structures (path tree, types, sample values per path), query with a jq-style pa... Tags: agent:0.2.1, config:0.2.1, flatten:0.1.0, inspect:0.2.1, jq:0.1.0, json:0.2.1, jsonl:0.2.1, latest:0.2.1, merge:0.2.1, nested:0.1.0, patch:0.2.1, query:0.2.1, rfc6902:0.2.1, schema:0.2.1, s

OpenClaw

Rank

62

Safety

84

Downloads

968

Updated

Oct 12, 2026

Version

0.2.1

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 968 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 12, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 12, 2026
Adoption signal
968 downloadsadoption · observed Oct 12, 2026
Latest release
0.2.1release · observed Jun 19, 2026
Handshake status
UNKNOWNsecurity

What changed

Newest first. Only changes that point at a source are listed.

  • Release 0.2.1release

    v0.2.1 bug-fix release. patch.py: RFC 6902 compliance fix. The 'remove' op now correctly returns exit 1 when the target path does not exist (previously silently returned 0). This matches the RFC and lets agents detect failed removals in CI pipelines. Also catches out-of-bounds array indices for /items/N where N >= len(items). No CLI changes. Regression tested: existing-key remove + array-index remove still work.

    Observed Jun 19, 2026 · source

Install and run

Setup complexity: low.

clawhub skill install s17cp87fy279ggwne1mqcb6675843tdy:clean-json-toolkit
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-gopendrasharma89-tech-clean-json-toolkit/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

25,964 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: clean-json-toolkit
description: Local JSON / JSONL inspection and manipulation toolkit. Inspect deeply nested structures (path tree, types, sample values per path), query with a jq-style path language (no external jq), flatten nested objects/arrays into dot-notation maps and unflatten them back, and validate against a small pragmatic schema (required/type/min/max/regex/enum/item_type). Pure Python 3 standard library, no third-party dependencies, no remote calls.
license: MIT
metadata: {"openclaw":{"requires":{"bins":["python3"]},"primaryEnv":null,"homepage":"https://clawhub.ai/gopendrasharma89-tech/clean-json-toolkit"}}
---

# clean-json-toolkit

v0.2.0

Fourth member of the `clean-*` family. csv handles structured tabular data, text handles unstructured strings, log handles timestamped logs, and **json** handles nested data — API responses, config files, JSONL event streams.

Pure Python 3 standard library. No `jq`, no `jsonschema`, no pip installs.

## Scripts

- `scripts/inspect.py` — profile a `.json` or `.jsonl` file: tree of every distinct path with types, counts, and N sample values per path.
- `scripts/query.py` — jq-style path queries. `.key.nested`, `.key[0]`, `.[]` iterate, `.key.[].field` map. Output modes: `--json` / `--jsonl` / `--lines` / `--raw`. JSONL inputs implicitly iterate at the top level.
- `scripts/flatten.py` — flatten nested JSON into dot-notation keys. Reversible with `--unflatten`. Roundtrip-safe.
- `scripts/validate.py` — validate against a small schema (`required`, `type`, `min`/`max`, `min_length`/`max_length`, `enum`, `regex`, `item_type`, `allow_extra`).
- `scripts/merge.py` (NEW in v0.2.0) — merge multiple JSON files into one. Five strategies: `deep` (default; recursive merge, arrays replace), `shallow` (top-level only), `array-concat` (deep + arrays concatenated), `array-uniq` (deep + arrays deduped), `array-extend` (require all inputs to be arrays, then concatenate). The canonical agent need: cascade defaults + user + env-specific configs.
- `scripts/patch.py` (NEW in v0.2.0) — RFC 6902 JSON Patch. Apply `add` / `remove` / `replace` / `move` / `copy` / `test` operations. Build patches inline with `--op --path --value` or load from `--patch FILE`. `--strict` aborts at first failure, `--dry-run` writes to stdout instead. Supports `"/items/-"` append-to-array syntax.
- `scripts/check_deps.sh` — verify `python3`.

## Quick start

```bash
# Inspect
python3 scripts/inspect.py response.json
python3 scripts/inspect.py events.jsonl --max-samples 5

# Query
python3 scripts/query.py data.json '.meta'
python3 scripts/query.py data.json '.users.[].email' --raw
python3 scripts/query.py events.jsonl '.amount' --lines

# Flatten + unflatten roundtrip
python3 scripts/flatten.py config.json flat.json
python3 scripts/flatten.py flat.json nested.json --unflatten

# Validate
python3 scripts/validate.py users.jsonl --schema schema.json

# Merge (NEW v0.2.0) - cascade configs
python3 scripts/merge.py final.json defaults.jso

_meta.json

{
  "ownerId": "kn7fkwsa5knkdkkachj1p7rwr9843xts",
  "slug": "clean-json-toolkit",
  "version": "0.2.1",
  "publishedAt": 1781846136741
}

skill-card.md

## Description:

Local JSON / JSONL inspection and manipulation toolkit for inspecting nested structures, querying with a jq-style path language, flattening and unflattening data, merging, patching, and validating JSON using Python 3 standard library tooling.

This skill is ready for commercial/non-commercial use.

## Publisher:

[gopendrasharma89-tech](https://clawhub.ai/user/gopendrasharma89-tech)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agents use this skill to inspect, query, transform, merge, patch, and validate local JSON or JSONL files without external JSON tooling or network calls.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Inspection and query output can expose sample values from sensitive local JSON or JSONL files in terminal output or logs.

Mitigation: Avoid running inspection on secrets or redact inputs first; reduce sampling when representative values are not needed.

Risk: Patch, merge, flatten, and unflatten workflows can write changed JSON files that may be difficult to recover if applied to important data.

Mitigation: Use --dry-run where available, write to a separate output path, and keep backups or version control for important files.

Risk: Untrusted validation schemas with complex regular expressions can cause excessive processing or misleading validation results.

Mitigation: Use trusted schemas, avoid complex regex patterns from untrusted sources, and review validation errors before acting on them.

## Reference(s):

- [ClawHub release page](https://clawhub.ai/gopendrasharma89-tech/clean-json-toolkit)
- [ClawHub skill page](https://clawhub.ai/gopendrasharma89-tech/skills/clean-json-toolkit)
- [clean-csv-toolkit](https://clawhub.ai/gopendrasharma89-tech/clean-csv-toolkit)
- [clean-text-toolkit](https://clawhub.ai/gopendrasharma89-tech/clean-text-toolkit)
- [clean-log-toolkit](https://clawhub.ai/gopendrasharma89-tech/clean-log-toolkit)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration]

**Output Format:** [Markdown guidance with shell commands and JSON examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Outputs may include file paths, JSON summaries, transformed JSON files, validation reports, or patch results depending on the selected script.]

## Skill Version(s):

0.2.1 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

LICENSE

MIT License

Copyright (c) 2026 gopendrasharma89-tech

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Github ReposUpdated 3d agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/gopendrasharma89-tech/skills/clean-json-toolkit",
      "sourceUrl": "https://clawhub.ai/gopendrasharma89-tech/skills/clean-json-toolkit",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-12T00:24:59.743Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-gopendrasharma89-tech-clean-json-toolkit/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-gopendrasharma89-tech-clean-json-toolkit/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-12T00:24:59.743Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "968 downloads",
      "href": "https://clawhub.ai/gopendrasharma89-tech/clean-json-toolkit",
      "sourceUrl": "https://clawhub.ai/gopendrasharma89-tech/clean-json-toolkit",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-12T00:24:59.743Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "0.2.1",
      "href": "https://clawhub.ai/gopendrasharma89-tech/clean-json-toolkit",
      "sourceUrl": "https://clawhub.ai/gopendrasharma89-tech/clean-json-toolkit",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-06-19T05:15:36.741Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-gopendrasharma89-tech-clean-json-toolkit/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-gopendrasharma89-tech-clean-json-toolkit/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 0.2.1",
      "description": "v0.2.1 bug-fix release. patch.py: RFC 6902 compliance fix. The 'remove' op now correctly returns exit 1 when the target path does not exist (previously silently returned 0). This matches the RFC and lets agents detect failed removals in CI pipelines. Also catches out-of-bounds array indices for /items/N where N >= len(items). No CLI changes. Regression tested: existing-key remove + array-index remove still work.",
      "href": "https://clawhub.ai/gopendrasharma89-tech/clean-json-toolkit",
      "sourceUrl": "https://clawhub.ai/gopendrasharma89-tech/clean-json-toolkit",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-06-19T05:15:36.741Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 12, 2026.

For crawlers

This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.

  • One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements.
  • Every agent, one feed: /.well-known/ai-catalog.json
  • What this site sells, and the price: /.well-known/x402
  • Paid run-check: /api/v1/agents/clawhub-gopendrasharma89-tech-clean-json-toolkit/run-check

Sponsored

Ads related to Clean JSON Toolkit and adjacent AI workflows.