@agentic-readiness/cli

中文文档
0.17.0发布于 2026/11/06GPL-3.0-or-laterTypeScriptES Module构建来源已验证近 30 天下载 2219

Command line and local MCP server of the Agentic Readiness Scanner, self-contained: npx @agentic-readiness/cli scan .

原始使用文档
文档目录5 节
  1. Scan a store
  2. Other commands
  3. Use it from an AI assistant
  4. How it fetches
  5. More

@agentic-readiness/cli

The command line and local MCP server of the Agentic Readiness Scanner. The scanner checks whether AI agents that find, compare and buy on a person's behalf can read and use an online store. It reads only public pages, runs 78 checks, and reports a readiness level from 0 to 5, two scores (agentic ingestion and agentic commerce) and a fix for every finding. The package is self-contained and needs Node 24 or later.

Scan a store

npx @agentic-readiness/cli scan https://example.com
npx @agentic-readiness/cli scan https://example.com --format json --output report.json
OptionMeaningDefault
--format <fmt>md, json, html or badgemd
--profile <id>woocommerce-store, other-store or content-sitedetected
--budget <n>Maximum requests per scan40
--sample <n>Product pages to sample2
--timeout <ms>Timeout per request in milliseconds10000
--markets <list>Markets for legal signals, for example eu,uk,usdetected
--fixture <dir>Answer from a recorded store directory instead of the webnone
--output <file>Write the report to a file instead of printing itstdout

The report names the recognised platform, the level and the checks that stand before the next one, the two scores and any cap on them, and what to fix first. Each fix has a summary, an optional snippet and a brief you can hand to a coding agent. Legal signals are added to the Markdown and HTML reports and included in JSON. They are never scored and are not legal advice.

Other commands

  • diff <a> <b> compares two saved JSON reports and exits with code 3 when something changed (--format text|json, default text). Use it in a pipeline to catch regressions.
  • mcp runs the MCP server over stdio.
  • catalog prints the check catalog.
  • version prints the scanner version.
  • help prints the full usage.

Install it globally (npm install -g @agentic-readiness/cli) to call it as agentic-readiness.

Use it from an AI assistant

MCP (Model Context Protocol) lets AI assistants call tools. Add an MCP server to Claude Code, Cursor, Claude Desktop or any other MCP client with this command:

npx -y @agentic-readiness/cli mcp

It offers three tools: scan_store(url, profile?, format?) (format json or markdown), get_fix(check_id, platform?) and list_checks().

How it fetches

The scanner names itself on every request as AgenticReadinessScanner/<version>, obeys robots.txt for that name, never pretends to be another agent, never runs JavaScript and never signs in.

More

Licence: GPL-3.0-or-later.

版本与发布记录

@agentic-readiness/cli 共发布 13 个版本,首次发布于 2026/11/02;过去 12 个月发布了 13 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.17.0latest2026/11/062 天前
0.16.02026/11/052 天前
0.15.02026/11/043 天前
0.14.02026/11/043 天前
0.13.12026/11/043 天前
0.13.02026/11/044 天前

关于 @agentic-readiness/cli 的常见问题

@agentic-readiness/cli 是什么?

Command line and local MCP server of the Agentic Readiness Scanner, self-contained: npx @agentic-readiness/cli scan .

如何安装 @agentic-readiness/cli?

在项目目录运行 npm install @agentic-readiness/cli,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 agentic-readiness,可以用 npx agentic-readiness 直接运行。

@agentic-readiness/cli 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@agentic-readiness/cli 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@agentic-readiness/cli 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=24.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@agentic-readiness/cli 可以商用吗?

@agentic-readiness/cli 使用 GPL-3.0-or-later 许可。强 Copyleft:分发包含该代码的软件时,整个作品需以 GPL-3.0 兼容许可开源,并附带专利与反锁定条款。仅内部使用不触发此义务。以上为概括,不构成法律意见,请以许可原文为准。

@agentic-readiness/cli 的下载量有多少?

根据 npm 官方下载统计,@agentic-readiness/cli 在 2026/10/07 – 2026/11/05 这 30 天内被下载 2,219 次,日均约 74 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@agentic-readiness/cli 还在维护吗?

最新版本 0.17.0 发布于 2026/11/06(2 天前);至今共发布 13 个版本,其中过去 12 个月发布了 13 个;首次发布于 2026/11/02。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。