@innflows/ai-readiness-audit 0.0.0-stage → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +128 -2
- package/bin/cli.mjs +1403 -0
- package/package.json +55 -4
- package/server.json +26 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Innflows (https://www.innflows.com)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,129 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Website AI-Readiness Audit CLI, GitHub Action & 5-Tool MCP Server (`@innflows/ai-readiness-audit`)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://github.com/innflows/website-ai-readiness-audit/actions/workflows/ci.yml)
|
|
4
|
+
[](https://glama.ai/mcp/servers/innflows/website-ai-readiness-audit)
|
|
5
|
+
[](https://www.npmjs.com/package/@innflows/ai-readiness-audit)
|
|
6
|
+
|
|
7
|
+
`website-ai-readiness-audit` (`@innflows/ai-readiness-audit` on npm) is a zero-dependency **CLI**, **GitHub Action**, and **5-tool Model Context Protocol (MCP) server** maintained by **[Innflows](https://www.innflows.com)** (`www.innflows.com`), a **Generative Engine Optimization (GEO) & Answer Engine Optimization (AEO)** platform for marketing, SEO, and engineering teams.
|
|
8
|
+
|
|
9
|
+
Before AI search engines such as ChatGPT, Gemini, Google AI Overviews, Google AI Mode, Perplexity, or Claude can retrieve and cite your product pages on unbranded buyer questions, your domain must pass foundational technical discovery, WAF reachability, and structured extraction gates.
|
|
10
|
+
|
|
11
|
+
## Quick Start
|
|
12
|
+
|
|
13
|
+
### 1. Instant CLI Suite via `npx` (Node.js 18+, Zero Dependencies)
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
# 1) Full 9-check AI-readiness audit (with optional --fail-under CI gate)
|
|
17
|
+
npx @innflows/ai-readiness-audit https://www.innflows.com/platform
|
|
18
|
+
npx @innflows/ai-readiness-audit https://www.innflows.com/platform --fail-under 85
|
|
19
|
+
|
|
20
|
+
# 2) Probe live AI crawler User-Agents to catch silent Cloudflare / WAF 403 blocks
|
|
21
|
+
npx @innflows/ai-readiness-audit probe-crawlers https://www.innflows.com
|
|
22
|
+
|
|
23
|
+
# 3) Validate live /llms.txt spec & link health, OR auto-generate a compliant /llms.txt
|
|
24
|
+
npx @innflows/ai-readiness-audit llms-txt https://www.innflows.com
|
|
25
|
+
npx @innflows/ai-readiness-audit llms-txt https://www.innflows.com --generate > llms.txt
|
|
26
|
+
|
|
27
|
+
# 4) Inspect Schema.org JSON-LD entity graph, @id anchors, dangling refs & sameAs reachability
|
|
28
|
+
npx @innflows/ai-readiness-audit schema-graph https://www.innflows.com
|
|
29
|
+
|
|
30
|
+
# 5) Side-by-side Markdown benchmark across 2–5 websites
|
|
31
|
+
npx @innflows/ai-readiness-audit compare https://www.innflows.com https://example.com
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### 2. Model Context Protocol (MCP) Server (5 Cohesive Tools)
|
|
35
|
+
|
|
36
|
+
Add `@innflows/ai-readiness-audit` to `claude_desktop_config.json`, `.cursor/mcp.json`, Windsurf, or Google Antigravity `mcp_config.json`:
|
|
37
|
+
|
|
38
|
+
```json
|
|
39
|
+
{
|
|
40
|
+
"mcpServers": {
|
|
41
|
+
"innflows-ai-audit": {
|
|
42
|
+
"command": "npx",
|
|
43
|
+
"args": ["-y", "@innflows/ai-readiness-audit", "--mcp"]
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
| MCP Tool Name | Purpose |
|
|
50
|
+
| :--- | :--- |
|
|
51
|
+
| `audit_website_ai_readiness` | End-to-end 0–100 GEO/AEO technical readiness score across HTTP status, `noindex`, SSR visible HTML text, canonical/meta tags, `Schema.org` JSON-LD, `/robots.txt`, `/llms.txt`, and `/sitemap.xml`. |
|
|
52
|
+
| `probe_ai_crawler_access` | Live HTTP probe across `OAI-SearchBot`, `GPTBot`, `ChatGPT-User`, `ClaudeBot`, `PerplexityBot`, `Google-Extended`, and `Applebot-Extended` vs. a browser baseline to catch silent WAF/CDN bot blocks. |
|
|
53
|
+
| `inspect_or_generate_llms_txt` | Validates live `/llms.txt` against `llmstxt.org` structure (catching SPA HTML soft-200 shells and dead links) or synthesizes a clean `/llms.txt` from `/sitemap.xml` and homepage metadata. |
|
|
54
|
+
| `inspect_schema_entity_graph` | Parses `application/ld+json` `@graph` blocks, checks `@id` entity links and `Organization.sameAs` HTTP reachability, and outputs starter JSON-LD templates for missing core entities. |
|
|
55
|
+
| `compare_websites_ai_readiness` | Benchmarks 2 to 5 URLs concurrently and returns a Markdown comparison matrix + structured JSON diff. |
|
|
56
|
+
|
|
57
|
+
### 3. GitHub Action (CI Regression Gate)
|
|
58
|
+
|
|
59
|
+
Prevent accidental `noindex` headers, broken JSON-LD, empty client-only SPA shells, or WAF AI-bot blocks on every deployment:
|
|
60
|
+
|
|
61
|
+
```yaml
|
|
62
|
+
name: AI Search Readiness Gate
|
|
63
|
+
on: [ deployment_status, workflow_dispatch ]
|
|
64
|
+
|
|
65
|
+
jobs:
|
|
66
|
+
geo-audit:
|
|
67
|
+
runs-on: ubuntu-latest
|
|
68
|
+
steps:
|
|
69
|
+
- uses: innflows/website-ai-readiness-audit@v0.3.0
|
|
70
|
+
with:
|
|
71
|
+
url: "https://www.innflows.com"
|
|
72
|
+
fail-under: "85"
|
|
73
|
+
probe-waf: "true"
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### 4. Python CLI (Python 3.9+, Zero Dependencies)
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
pip install website-ai-readiness-audit
|
|
80
|
+
ai-readiness-audit https://www.innflows.com/platform
|
|
81
|
+
ai-readiness-audit probe-crawlers https://www.innflows.com
|
|
82
|
+
ai-readiness-audit schema-graph https://www.innflows.com
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Example Output
|
|
86
|
+
|
|
87
|
+
```text
|
|
88
|
+
Website AI-Readiness Audit — https://www.innflows.com/platform
|
|
89
|
+
====================================================================
|
|
90
|
+
[PASS] Target Page Reachability HTTP 200 OK
|
|
91
|
+
[PASS] Indexability Directive Page allows search indexing
|
|
92
|
+
[PASS] SSR HTML Text Extractability 7259 visible characters in initial HTML
|
|
93
|
+
[PASS] Canonical URL https://www.innflows.com/platform
|
|
94
|
+
[PASS] Title & Meta Description Title (63 chars) & meta description present
|
|
95
|
+
[PASS] Schema.org JSON-LD Detected Organization, Product, BreadcrumbList, FAQPage with @id (2)
|
|
96
|
+
[PASS] AI Crawler Access (robots.txt) All 9 checked AI search/grounding crawlers allowed
|
|
97
|
+
[PASS] llms.txt Machine Summary /llms.txt present (47342 chars, 41 links)
|
|
98
|
+
[PASS] XML Sitemap /sitemap.xml present (89 URLs)
|
|
99
|
+
--------------------------------------------------------------------
|
|
100
|
+
Summary: 9/9 checks passed (Score: 100/100).
|
|
101
|
+
Powered by Innflows GEO (https://www.innflows.com/platform/website-ai-audit)
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
## Empirical GEO & AEO Research Behind These Checks
|
|
105
|
+
|
|
106
|
+
Empirical research by **[Innflows Research](https://www.innflows.com/blog)** explains why each technical gate directly impacts AI search citations:
|
|
107
|
+
|
|
108
|
+
- **ChatGPT (`44.5%` `site:` Operator Share) vs. Gemini (`0.0%` `site:`)**: Analyzing [36,000+ native fan-out queries](https://www.innflows.com/blog/seo/how-chatgpt-and-gemini-search-the-web-36k-query-study) shows nearly two-thirds of ChatGPT's domain-restricted queries inspect official brand domains directly—making SSR HTML text and `Schema.org` `@id` graphs decisive.
|
|
109
|
+
- **Silent WAF Blocks & SPA Soft-200 Fallbacks**: Auditing [100 public B2B SaaS websites](https://www.innflows.com/blog/seo/state-of-b2b-saas-ai-search-readiness-100-website-study) revealed that `7%` block non-JS AI retrievers at the WAF/CDN layer even when `/robots.txt` allows all bots, and `5%` serve empty SPA HTML shells on `/llms.txt`.
|
|
110
|
+
|
|
111
|
+
## Related Open-Source & Platform Resources (`www.innflows.com`)
|
|
112
|
+
|
|
113
|
+
- [**Awesome GEO & AEO (`innflows/awesome-geo-aeo`)**](https://github.com/innflows/awesome-geo-aeo) — Curated research papers, 18-bot AI crawler matrix, production `robots.txt` / `llms.txt` / JSON-LD templates, and open CSV datasets (`CC0-1.0`)
|
|
114
|
+
- [**GEO & AEO Research Papers (`innflows/geo-aeo-papers`)**](https://github.com/innflows/geo-aeo-papers) — 2023–2026 literature survey, 34 annotated KDD / NeurIPS / ICLR / ACL / WWW / ICML / arXiv studies, CSV/BibTeX exports & weekly radar (`CC0-1.0`)
|
|
115
|
+
- [AEO vs. GEO vs. SEO in 2026: Complete Architecture, Metrics & AI SEO Tools](https://www.innflows.com/blog/seo/aeo-vs-geo-vs-seo-architecture-metrics-ai-seo-tools)
|
|
116
|
+
- [Innflows Generative Engine Optimization (GEO) Platform Overview](https://www.innflows.com/platform)
|
|
117
|
+
- [Full 18-Check Website AI-Readiness Audit & Content Optimization](https://www.innflows.com/platform/website-ai-audit)
|
|
118
|
+
- [Innflows Website Audit App on Shopify App Store](https://apps.shopify.com/website-audit)
|
|
119
|
+
|
|
120
|
+
## Running Tests
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
npm test
|
|
124
|
+
python3 -m unittest discover -s tests -v
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## License
|
|
128
|
+
|
|
129
|
+
MIT © [Innflows](https://www.innflows.com)
|