
Agent Readiness Auditor
io.github.asish-singh由 GitHub 帳號 asish-singh 發布v0.5.0更新於 Oct 24, 2026
Audits any website for AI agent readiness and safety, scoring prompt injection risk and llms.txt.
概覽
一個本機 MCP 伺服器,用來稽核網站的 AI 代理就緒度與安全性,評估提示注入風險、llms.txt、robots.txt 和結構化資料。
- 可以做什麼
- 稽核網站:抓取指定網址,回傳 0-100 分、字母等級以及逐項檢查結果和修正建議,與命令列報告一致。
- 適用情境
- 當你希望助理判斷某個網站對 AI 代理是否安全、易讀,或在發布前檢查自家網站的 llms.txt、robots.txt、結構化資料和隱藏提示注入風險時使用。
- 執行需求
- 透過 npx 以 stdio 在本機執行,需要 Node.js 18 或更新版本。未宣告任何帳號、API 金鑰或環境變數。需要網路存取以抓取目標網站的頁面、robots.txt、llms.txt、網站地圖和 AI Catalog。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Agent Readiness Auditor,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Agent Readiness Auditor
A command-line tool that scans a website and scores how well it works with, and how well it defends against, automated AI agents.
What problem this solves
AI assistants increasingly visit websites on a person's behalf: reading pages, following instructions found on them, and taking actions. This creates two practical issues for site owners:
- Safety. A page can contain text that is hidden from human visitors but still read by an AI agent. That hidden text can carry instructions designed to hijack the agent. This is known as indirect prompt injection.
- Readability for machines. Sites are usually built for human eyes. Agents do better when a site also publishes machine-readable signals about its content and its rules.
Standard SEO tools measure how well a site works for search engines. This tool measures something different: how well a site works for AI agents, and whether it is safe for them to read.
Research built with this tool
The State of the Agentic Web, 2026 audits 84 prominent sites across seven categories with this tool, and its second edition reruns the study with the deeper nine check audit. Among the findings, no audited site carries hidden prompt injection content even under attribute level and multi page scanning, only 13% publish the FAQ structured data AI answers quote, no site advertises an MCP endpoint, and nearly one in five prominent sites refuses automated visitors entirely, including several AI companies. The data and method are published for anyone to reproduce.
What it checks
The tool fetches the landing page, robots.txt, llms.txt, the sitemap, and the AI Catalog, then crawls a few key pages and runs nine checks, producing a score from 0 to 100 and a letter grade from A to F. Safety is weighted highest on purpose, because a readable site that can hijack an agent is worse than one that is simply hard to read.
Example output
Each line shows the check result, its score, and (when a check does not fully pass) a suggested fix.
Quick start
If you have Node.js 18 or newer installed, you can run the tool in one line without installing anything:
Use a bare domain (example.com) or a full URL (https://example.com). The --json flag prints machine-readable output for use in scripts.
Auditing many sites at once
Batch mode reads a text file with one URL per line (lines starting with # are ignored) and audits them a few at a time.
The CSV has a column for each check, which makes it easy to open in a spreadsheet or feed into an analysis.
Using it in GitHub Actions
The repo doubles as a GitHub Action, so any project can audit its own site on every push or on a schedule and fail the build if a hard safety problem appears.
An unreachable site produces a warning, not a failure, since bot protection on CI runners is an infrastructure issue rather than a safety one. This repo uses the action on itself every Monday in audit-site.yml.
Using it from an AI assistant (MCP)
The auditor ships with a server for the Model Context Protocol, the standard that lets AI assistants use external tools, and is listed on the official MCP registry. One of this tool's own findings is that zero of 69 prominent sites advertise an agent endpoint, so the auditor holds itself to the standard it measures. Once connected, you can simply ask your assistant to audit a site for you.
For Claude Code, one command connects it.
For Claude Desktop, add this to the mcpServers section of the configuration file.
The server exposes one tool, audit_site, which takes a URL and returns the same scores and findings as the command line.
Running from source
To work on the code or run it from a local copy:
The -- in the command passes the URL to the tool rather than to npm.
To install a global agent-audit command from your local copy:
You can then run agent-audit example.com from any folder. To remove it later, run npm unlink -g agent-readiness-auditor.
Installing from GitHub Packages
The package is also published to GitHub Packages as a scoped mirror, @asish-singh/agent-readiness-auditor. For most people the npm install above is simpler. Use GitHub Packages only if your organization standardizes on it, since it requires authentication even for public packages.
To install from it, create a GitHub personal access token with the read:packages scope, then point the scope at the GitHub registry:
Exit codes
The tool sets its exit code so it can be used in automated pipelines:
0: the audit ran and found no hard safety failure.2: a hard safety failure was found (for example, hidden prompt-injection text). Use this to fail a build.1: the tool could not complete the audit (for example, the site was unreachable).
How the code is organized
Each check lives in its own file under src/checks/ and returns a structured result. All checks are registered in a single list in src/audit.ts, and the total score is derived from that list, so adding a new check does not require changing the scoring logic. Architecture decisions are recorded in docs/adr/, product decisions in docs/decisions/, planned work in ROADMAP.md, and the go-to-market plan in LAUNCH.md.
Background
This tool grew out of the Agentic Web Governance Pack, a set of guidelines for how websites should behave toward AI agents. This project turns several of those guidelines into checks that can be run and measured.
License
MIT. See LICENSE.
來源:README.md,提交 6e7ce22
工具
0版本歷史
2- v0.5.0最新Oct 11, 2026
- v0.4.7Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分