@ai2web/validator
v0.2.0
Published
AI2Web validator - `ai2web validate <url>` → per-capability report + AI Readiness Score.
Maintainers
Readme
@ai2web/validator
The command-line AI Readiness Validator for AI2Web. Scores any live site or manifest file out of 100 and reports its compliance tier, using the same algorithm as @ai2web/core.
Use
# no install needed
npx -p @ai2web/validator ai2web validate https://ai2web.dev
npx -p @ai2web/validator ai2web validate ./manifest.json
# or install globally and run `ai2web`
npm install -g @ai2web/validator
ai2web validate https://ai2web.dev
# check probes a LIVE site's declared endpoints (discovery anchor, /ai2w, modules)
npx -p @ai2web/validator ai2web check https://ai2web.devvalidate scores the manifest (design time). check discovers the manifest and probes the declared read endpoints to confirm they respond; it lists actions but never calls them, since actions can change state. Output for validate is a per-capability report plus a score line, for example:
AI Readiness Score 96/100 Tier: StandardA live, in-browser version is at ai2web.dev. Part of AI2Web.
