Install Skills directly in chat.

Install the MochiLab Skills assistant in OpenClaw, connect your account, then find, install and update Skills in chat.

See how to connect →
MOCHILAB / AI SKILL

JSON Contract Subset Check

Check JSON values against an explicitly supported schema subset and report unsupported keywords instead of silently accepting them.

What it does

Check JSON values against an explicitly supported schema subset and report unsupported keywords instead of silently accepting them.

How to use it

Give the assistant the concrete task and required inputs. This fictional request illustrates the contract; use your selected files and parameters for real work.

{
  "schema": {
    "type": "object",
    "required": [
      "count"
    ],
    "properties": {
      "count": {
        "type": "integer",
        "minimum": 1
      }
    },
    "additionalProperties": false
  },
  "value": {
    "count": 2
  }
}

Output and verification

Creates a JSON report and, when applicable, CSV, Markdown or document artifacts in the current workspace. Inputs remain intact. Five offline tests cover the example, invalid input, actual CLI output, path boundaries and non-overwrite behavior. Live account, browser and visual results require separate verification.

Scope

Use a full standards validator for reference resolution, formats, unions or production schema certification. Boolean schemas and arbitrary schema dialects are not supported.