← Back to Skills Marketplace
700
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ua1-validator-agent
Description
Validate 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...
Usage Guidance
This skill is coherent and implements remote PDF/UA-1 validation by uploading files to api.ua1.dev. Before installing or using it, consider: 1) Data sensitivity — the script will POST the entire PDF to an external service; do not use it with private or regulated documents unless you trust api.ua1.dev and its privacy policy. 2) Runtime dependencies — ensure curl (and mktemp) exist on the runner; jq is used to parse the verdict but is optional (the script handles jq failure gracefully). 3) You can override UA1_API_BASE to point to a trusted/self-hosted endpoint if you have one. 4) The script returns exit codes (0=pass, 2=fail, 1=transport/error) — use these in CI gates as documented. 5) Verify the service’s authenticity (TLS certificate, domain ownership) before sending sensitive files. If you need local-only validation for privacy/compliance, prefer a local validator rather than this remote API.
Capability Analysis
Type: OpenClaw Skill
Name: ua1-validator-agent
Version: 0.1.0
The skill executes a bash script (`scripts/validate_pdf.sh`) with a user-provided file path. While the script includes a file existence check and uses `curl -F "file=@${FILE_PATH}"` (which is generally robust against shell injection within the filename itself), the direct execution of a shell script with an unsanitized argument from the agent's perspective poses a potential shell injection vulnerability. If the OpenClaw agent does not properly quote or sanitize the `FILE_PATH` argument before invoking the script, an attacker could inject arbitrary commands. This is a vulnerability that allows attacks, not intentional malice.
Capability Assessment
Purpose & Capability
Name/description match the implementation: the script posts a PDF to https://api.ua1.dev/api/validate (compact or full) and interprets the API verdict. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
Instructions are narrowly scoped to health check and posting files for validation. The script transmits the entire PDF to an external host (api.ua1.dev) — this is expected for remote validation but is a privacy/PII consideration. The SKILL.md and registry metadata do not declare required runtime binaries: the script depends on curl and mktemp (and optionally jq).
Install Mechanism
Instruction-only skill with a small shell script; no install spec, no downloads or archive extraction. No high-risk install mechanism present.
Credentials
No credentials or sensitive environment variables are requested. Two optional env vars are documented (UA1_API_BASE, UA1_FORMAT) and are proportionate. There are no undeclared secret-access requirements.
Persistence & Privilege
Skill does not request persistent/always-on presence and does not modify other skills or system-wide settings. It runs only when invoked.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ua1-validator-agent - After installation, invoke the skill by name or use
/ua1-validator-agent - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial public release: deterministic PDF/UA-1 checks for agent workflows
Metadata
Frequently Asked Questions
What is UA1 Validator Agent?
Validate 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 700 downloads so far.
How do I install UA1 Validator Agent?
Run "/install ua1-validator-agent" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is UA1 Validator Agent free?
Yes, UA1 Validator Agent is completely free (open-source). You can download, install and use it at no cost.
Which platforms does UA1 Validator Agent support?
UA1 Validator Agent is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created UA1 Validator Agent?
It is built and maintained by hajekt2 (@hajekt2); the current version is v0.1.0.
More Skills