Install
openclaw skills install ua1-validator-agentValidate PDFs against PDF/UA-1 using ua1.dev or api.ua1.dev from AI coding agents (OpenClaw, Claude Code, Codex, OpenCode). Use when an agent needs determini...
openclaw skills install ua1-validator-agentUse this skill to run deterministic PDF/UA-1 checks from an agent workflow.
GET https://api.ua1.dev/api/healthPOST https://api.ua1.dev/api/validatePOST https://api.ua1.dev/api/validate?format=compactGET https://api.ua1.dev/api/metricsSend multipart form-data with field name file.
.pdf200 validation response415 unsupported type413 file too large429 rate-limitedfail, capture findings and group by rule_id.Run:
bash scripts/validate_pdf.sh /absolute/or/relative/path/to/file.pdf
Optional env:
UA1_API_BASE (default: https://api.ua1.dev)UA1_FORMAT (compact by default; set full for full payload)Treat non-pass verdict as a failed quality gate.
0 only when verdict is pass2 when verdict is fail1 for transport/API errorsUse the script’s exit codes directly in pipelines.