Validate and build A2A protocol Agent Cards (v1.0.0 field rules) with JSON-path issues, media type and URL checks, and the well-known discovery URL. Use when the user writes, reviews or debugs an agent-card.json.
100%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Validate an A2A Agent Card against the v1.0.0 field rules, build a card from a small JSON spec, and compute the well-known discovery URL. It runs locally with Python 3.10+ (standard library only); no package install and no network access are needed (the discovery URL is only computed, never fetched).
agent-card.json and wants it checked.python3 scripts/a2a_agent_card.py validate agent-card.json
Output is ok, or one line per issue: severity path code (for example
error skills[0].tags missing). Exit 1 if any error exists; warnings alone exit 0.unknown_field, unknown_binding).python3 scripts/a2a_agent_card.py build spec.json --output agent-card.json.
The result is validated; issues are printed to stderr.python3 scripts/a2a_agent_card.py well-known https://agent.example.com/base/
prints https://agent.example.com/.well-known/agent-card.json (origin only).Required strings (name, description, version), supportedInterfaces (url, protocolBinding,
protocolVersion), capabilities, defaultInputModes and defaultOutputModes (media types),
skills (id, name, description, tags, unique ids, optional examples and modes), provider, the
URL fields, and the shape of securitySchemes, securityRequirements and signatures. URLs must
be https, or http only for localhost. The full rule list is in
references/validation-rules.md.
Project source: https://github.com/Trysac/u124-a2a-agent-card