@is-agent-ready/cli
v0.2.1
Published
CLI for scaffolding and auditing AI agent readiness in Next.js projects.
Maintainers
Readme
@is-agent-ready/cli
CLI for scaffolding and auditing AI agent readiness in Next.js projects.
Install
npm install -g @is-agent-ready/cli
# or use without installing:
npx @is-agent-ready/cliCommands
init
Scaffold agent-ready.config.ts and middleware.ts in the current directory:
agent-ready initSkips files that already exist. Use --force to overwrite:
agent-ready init --forceaudit
Validate the format of generated agent-readiness files locally (no network):
agent-ready audit --url https://example.com
agent-ready audit --url https://example.com --name "My App" --description "A great app"Runs 10 checks across robots.txt, llms.txt, and sitemap.xml. Exits 0 if all pass, 1 if any fail.
audit --live
Also fetch the real endpoints from your deployed site and check what's actually being served:
agent-ready audit --url https://example.com --liveRuns 10 local format checks + 10 live HTTP checks = 20 total. Uses Node.js built-in fetch (Node >= 18). Network errors on individual endpoints are reported as failed checks — the command never crashes.
All flags
init
--force Overwrite existing files
audit
--url <url> Required. Base URL of the site to audit.
--name <name> Site name for generated config (default: "My Site")
--description <desc> Site description (default: "A site")
--live Also fetch real endpoints and check HTTP responses
--help, -h Show help
--version, -v Show versionRequirements
- Node.js >= 18
License
MIT
