npx claudepluginhub abnejllc/grc --plugin oscal# /oscal:convert Converts an OSCAL document between JSON, XML, and YAML. The input format is auto-detected from file extension or content. ## How to run ## Arguments - `<input>` — path to OSCAL document - `--to <fmt>` — target format: `json`, `xml`, or `yaml` - `--output <path>` — write to this path (otherwise stdout) - `--overwrite` — allow overwriting an existing output file ## Example ## Round-trip fidelity `oscal-cli` preserves all semantic content across format conversions. Whitespace and ordering may differ but the deserialized model is byte-equivalent. This is verified by ...
/convertConvert Claude-generated HTML design from URL or tarball path into SwiftUI View file in active Xcode workspace, with build, error fix, and preview diff.
/convertConverts ComfyUI workflows between web UI format (nodes/links arrays) and API format (node ID keys with class_type/inputs). Reads JSON from file path.
/convertConverts OSCAL documents between JSON, XML, and YAML formats with round-trip fidelity. Auto-detects input format from file extension or content.
/convertConverts FedRAMP Rev 5 SSP DOCX templates (main SSP + Appendix A) to OSCAL 1.2.0 SSP JSON with optional validation.
/convertConvert provided HTML file to WordPress Gutenberg blocks using Greenshift/GreenLight Element system. Outputs paste-ready code for Gutenberg editor; specify file path as argument.
/convertConvert formats, schemas, and specs: JSON/YAML/CSV to JSON/TS types, SQL to Prisma models, OpenAPI to SDKs, GraphQL/Protobuf to TS.
Converts an OSCAL document between JSON, XML, and YAML. The input format is auto-detected from file extension or content.
bash plugins/oscal/scripts/convert.sh <input> --to <json|xml|yaml> [--output <path>] [--overwrite]
<input> — path to OSCAL document--to <fmt> — target format: json, xml, or yaml--output <path> — write to this path (otherwise stdout)--overwrite — allow overwriting an existing output file# NIST publishes the 800-53 catalog as XML; convert to JSON for programmatic use:
curl -LO https://raw.githubusercontent.com/usnistgov/oscal-content/main/nist.gov/SP800-53/rev5/xml/NIST_SP-800-53_rev5_catalog.xml
/oscal:convert NIST_SP-800-53_rev5_catalog.xml --to json --output nist-catalog.json
# Round-trip to YAML for human review:
/oscal:convert nist-catalog.json --to yaml --output nist-catalog.yaml
# Convert gap-assessment output to XML for Compliance Trestle import:
/oscal:convert gap-report.oscal-ar --to xml --output gap-report.xml
oscal-cli preserves all semantic content across format conversions. Whitespace and ordering may differ but the deserialized model is byte-equivalent. This is verified by the underlying tool's round-trip tests.
0 — success2 — input file missing or unreadable5 — oscal binary not installed6 — input is not a recognized OSCAL document/grc-engineer:gap-assessment --output=oscal-ar into OSCAL SAR consumers that only speak XML.