/oscal:validatefrom oscal
Validates an OSCAL document (JSON, XML, or YAML) against the official NIST JSON schemas, reporting structural violations and required-field errors.
Ships in oscal. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Validates an OSCAL document against the NIST JSON schemas bundled with oscal-cli. Supports JSON, XML, and YAML input (XML/YAML are auto-converted internally for validation).
bash plugins/oscal/scripts/validate.sh <file> [--quiet] [--json]
<file> — path to the OSCAL document to validate.--quiet — only emit on failure.--json — structured JSON output {ok: bool, errors: [...], schema_version: "1.1.3"} for CI pipelines.0 — valid6 — schema violation(s); details on stderr (or stdout JSON with --json)2 — file not found / unreadable5 — oscal binary not installed (run /oscal:setup)/oscal:validate gap-assessment-20260413/gap-report.oscal-ar
This checks that /grc-engineer:gap-assessment's OSCAL Assessment Results output is well-formed before handing it to downstream tooling (Compliance Trestle, eMASS, FedRAMP 20X).
oscal-cli resolve (coming in a future release) or Compliance Trestle for that.fedramp-ssp plugin and the fedramp-docs MCP for spec lookups.7-day visitors to each command page
3 commands in this plugin
3 plugins ship this exact command · first indexed Apr 17, 2026
npx claudepluginhub devedge09/grckit --plugin oscalOther plugins' commands for the same job