@forkpoint/agent-lighthouse

中文文档
10.6.0发布于 2026/11/11Apache-2.0TypeScriptCommonJS近 30 天下载 3114

Lighthouse-style CLI for auditing websites for AI agents, LLM crawlers, MCP clients, llms.txt, WebMCP, OpenAPI, and Schema.org readiness

原始使用文档
文档目录4 节
  1. Quickstart
  2. CI
  3. Links
  4. License

@forkpoint/agent-lighthouse

Lighthouse-style CLI that audits whether AI agents, LLM crawlers, MCP clients and agentic browsers can discover, parse, cite and act on a website.

Quickstart

npx @forkpoint/agent-lighthouse https://example.com
npx @forkpoint/agent-lighthouse https://example.com --view
npx @forkpoint/agent-lighthouse https://staging.example.com --min-score 85

It writes terminal, HTML, JSON and Markdown reports for 223 audits in 8 categories:

  • Access & Crawl Control — robots.txt access for GPTBot, ClaudeBot, PerplexityBot and other AI crawlers
  • Content Extraction — clean main content, semantic structure, render and response cost
  • Machine Discovery — llms.txt, llms-full.txt, sitemaps, feeds and .well-known files
  • Structured Data — Schema.org, JSON-LD, product, offer, review and organization markup
  • Answer Readiness — answerability, step lists, tables, unique data and citations
  • Agent Interfaces — WebMCP, OpenAPI, agents.json and action-surface discovery
  • Agentic Commerce — product offers, availability, checkout and payment surfaces
  • Agent Operability & Safety — HTTPS, security.txt, tdmrep, stability and broken agent endpoints

CI

npx @forkpoint/agent-lighthouse https://staging.example.com \
  --min-score 85 --output terminal,html,json,md --output-dir ./reports

Run agent-lighthouse --help for every flag, or read the CLI reference.

License

Apache-2.0

版本与发布记录

@forkpoint/agent-lighthouse 共发布 44 个版本,首次发布于 2026/08/18;过去 12 个月发布了 44 个版本。

版本发布日期距今
10.6.0latest2026/11/114 天前
10.5.32026/10/2819 天前
10.5.22026/10/2719 天前
10.5.12026/10/2719 天前
10.5.02026/10/2719 天前
10.4.12026/10/2620 天前

关于 @forkpoint/agent-lighthouse 的常见问题

@forkpoint/agent-lighthouse 是什么?

Lighthouse-style CLI for auditing websites for AI agents, LLM crawlers, MCP clients, llms.txt, WebMCP, OpenAPI, and Schema.org readiness

如何安装 @forkpoint/agent-lighthouse?

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

@forkpoint/agent-lighthouse 支持 TypeScript 吗?

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

@forkpoint/agent-lighthouse 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@forkpoint/agent-lighthouse 可以商用吗?

@forkpoint/agent-lighthouse 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@forkpoint/agent-lighthouse 的下载量有多少?

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

@forkpoint/agent-lighthouse 还在维护吗?

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