@houseofmvps/claude-rank 1.0.0 → 1.0.2

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "claude-rank",
2
+ "name": "@houseofmvps/claude-rank",
3
3
  "description": "The most comprehensive SEO/GEO/AEO plugin for Claude Code. Audit, fix, and dominate search.",
4
4
  "version": "1.0.0",
5
5
  "author": {
package/README.md CHANGED
@@ -1,97 +1,213 @@
1
- # claude-rank
1
+ <div align="center">
2
2
 
3
- **The most comprehensive SEO/GEO/AEO plugin for Claude Code.**
3
+ # claude-rank
4
4
 
5
- Audit, fix, and dominate search — traditional and AI.
5
+ ### The most comprehensive SEO/GEO/AEO plugin for Claude Code. 74+ rules. Auto-fix everything. Dominate search — traditional and AI.
6
6
 
7
- [![npm version](https://img.shields.io/npm/v/claude-rank.svg)](https://www.npmjs.com/package/claude-rank)
8
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
9
- [![Node.js >= 18](https://img.shields.io/badge/node-%3E%3D18-brightgreen.svg)](https://nodejs.org/)
7
+ [![npm version](https://img.shields.io/npm/v/%40houseofmvps%2Fclaude-rank?style=for-the-badge&logo=npm&color=CB3837)](https://www.npmjs.com/package/@houseofmvps/claude-rank)
8
+ [![npm downloads](https://img.shields.io/npm/dm/%40houseofmvps%2Fclaude-rank?style=for-the-badge&logo=npm&color=blue&label=Monthly%20Downloads)](https://www.npmjs.com/package/@houseofmvps/claude-rank)
9
+ [![npm total](https://img.shields.io/npm/dt/%40houseofmvps%2Fclaude-rank?style=for-the-badge&logo=npm&color=cyan&label=Total%20Downloads)](https://www.npmjs.com/package/@houseofmvps/claude-rank)
10
+ [![GitHub stars](https://img.shields.io/github/stars/Houseofmvps/claude-rank?style=for-the-badge&logo=github&color=gold)](https://github.com/Houseofmvps/claude-rank/stargazers)
11
+ [![GitHub watchers](https://img.shields.io/github/watchers/Houseofmvps/claude-rank?style=for-the-badge&logo=github&color=orange)](https://github.com/Houseofmvps/claude-rank/watchers)
12
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow?style=for-the-badge&logo=opensourceinitiative)](LICENSE)
13
+ [![Sponsor](https://img.shields.io/badge/Sponsor-EA4AAA?style=for-the-badge&logo=githubsponsors&logoColor=white)](https://github.com/sponsors/Houseofmvps)
10
14
 
11
15
  ---
12
16
 
13
- ## What it does
14
-
15
- - **74+ audit rules** across SEO (37), GEO (25), and AEO (12) — the widest coverage of any Claude Code SEO plugin
16
- - **Auto-fix generators** for robots.txt, sitemap.xml, llms.txt, and JSON-LD structured data — findings become fixes in one command
17
- - **Score tracking with trend history** — see whether your site is improving or declining over time
17
+ [![Follow @kaileskkhumar](https://img.shields.io/badge/Follow%20%40kaileskkhumar-000000?style=for-the-badge&logo=x&logoColor=white)](https://x.com/kaileskkhumar)
18
+ [![LinkedIn](https://img.shields.io/badge/LinkedIn-Connect-0A66C2?style=for-the-badge&logo=linkedin)](https://www.linkedin.com/in/kailesk-khumar)
19
+ [![houseofmvps.com](https://img.shields.io/badge/houseofmvps.com-Website-green?style=for-the-badge&logo=google-chrome&logoColor=white)](https://houseofmvps.com)
18
20
 
19
- ## Why it exists
21
+ **Built by [Kailesk Khumar](https://www.linkedin.com/in/kailesk-khumar), solo founder of [houseofmvps.com](https://houseofmvps.com)**
20
22
 
21
- Most SEO tools stop at traditional search. claude-rank covers the full picture:
23
+ *One indie hacker. One plugin. Every search engine covered.*
22
24
 
23
- - **GEO (Generative Engine Optimization)** — 25 rules targeting AI search engines: Perplexity, ChatGPT, Gemini. As AI-powered search displaces ten blue links, your content needs to be citable, structured, and authoritative for language models — not just crawlers.
24
- - **AEO (Answer Engine Optimization)** — 12 rules for featured snippets, People Also Ask boxes, and voice search. Zero of these are in claude-seo.
25
- - **Auto-fix** — claude-seo tells you what's wrong. claude-rank fixes it.
25
+ </div>
26
26
 
27
27
  ---
28
28
 
29
- ## Quick start
29
+ ## Quick Start
30
30
 
31
- No install required:
31
+ ### Install as a Claude Code plugin (recommended)
32
32
 
33
33
  ```bash
34
- npx claude-rank scan ./my-project
34
+ claude plugin add @houseofmvps/claude-rank
35
35
  ```
36
36
 
37
- Or install globally:
37
+ That's it. Restart Claude Code and all 6 skills + 4 agents are active.
38
+
39
+ ### Or use standalone — no plugin install needed
38
40
 
39
41
  ```bash
40
- npm install -g claude-rank
42
+ npx @houseofmvps/claude-rank scan ./my-project
43
+ npx @houseofmvps/claude-rank geo ./my-project
44
+ npx @houseofmvps/claude-rank aeo ./my-project
45
+ npx @houseofmvps/claude-rank schema ./my-project
41
46
  ```
42
47
 
43
- As a Claude Code plugin, add it to your project:
48
+ ### Or install globally
44
49
 
45
50
  ```bash
46
- npx claude-rank install
51
+ npm install -g @houseofmvps/claude-rank
52
+ claude-rank scan ./my-project
47
53
  ```
48
54
 
49
- Then use slash commands directly inside Claude Code:
55
+ ### Use in Claude Code
56
+
57
+ Once installed, use slash commands inside any Claude Code session:
50
58
 
51
59
  ```
52
- /rank audit
60
+ /rank # Smart routing — detects what your project needs
61
+ /rank audit # Full 8-phase SEO/GEO/AEO audit with auto-fix
62
+ /rank geo # Deep AI search optimization audit
63
+ /rank aeo # Answer engine optimization audit
64
+ /rank fix # Auto-fix all findings in one command
65
+ /rank schema # Detect, validate, generate, inject JSON-LD
53
66
  ```
54
67
 
68
+ **Zero configuration.** claude-rank reads your project structure and self-configures.
69
+
55
70
  ---
56
71
 
57
- ## CLI commands
72
+ ## The Problem
58
73
 
59
- | Command | Description |
60
- |---------|-------------|
61
- | `npx claude-rank scan ./project` | Full SEO scan |
62
- | `npx claude-rank geo ./project` | GEO (AI search) scan |
63
- | `npx claude-rank aeo ./project` | AEO (answer engine) scan |
64
- | `npx claude-rank schema ./project` | Structured data detection |
74
+ You shipped your SaaS. Traffic is flat. You Google your product name — page 3. You ask ChatGPT about your niche — your site isn't mentioned. Perplexity doesn't cite you. Google AI Overviews skips you entirely.
75
+
76
+ Most SEO tools check title tags and call it a day. They don't know that:
77
+
78
+ - **AI search engines are replacing traditional search** and your content isn't optimized for them
79
+ - **Featured snippets and voice search** have completely different optimization rules than regular SEO
80
+ - **Your robots.txt is blocking GPTBot, PerplexityBot, and ClaudeBot** — AI can't cite what it can't crawl
81
+ - **You don't have an llms.txt** — the file AI assistants look for to understand your project
82
+ - **Your structured data is missing or broken** — you're invisible to rich results
83
+
84
+ That's not an SEO problem. That's a visibility problem across every search surface that exists in 2026.
85
+
86
+ ## The Solution
87
+
88
+ ```
89
+ /rank audit
90
+ ```
91
+
92
+ One command. Three scanners run in parallel — SEO, GEO, and AEO. 74+ rules checked. Every finding gets an automated fix. Score tracked over time.
93
+
94
+ ```
95
+ SEO Score: 87/100 ████████████░░ (37 rules)
96
+ GEO Score: 92/100 █████████████░ (25 rules)
97
+ AEO Score: 78/100 ██████████░░░░ (12 rules)
98
+ Overall: 86/100 READY TO RANK
99
+ ```
100
+
101
+ **Score below 80?** Run `/rank fix` and it auto-generates what's missing — robots.txt, sitemap.xml, llms.txt, JSON-LD schema — then re-scans to show your improvement.
65
102
 
66
103
  ---
67
104
 
68
- ## Slash commands (Claude Code)
105
+ ## What It Does
69
106
 
70
- | Command | Description |
71
- |---------|-------------|
72
- | `/rank` | Main orchestrator — routes to the right audit based on context |
73
- | `/rank audit` | Full 8-phase SEO/GEO/AEO audit with auto-fix suggestions |
74
- | `/rank geo` | Deep GEO audit targeting AI search engine visibility |
75
- | `/rank aeo` | Answer engine optimization audit |
76
- | `/rank fix` | Auto-fix all findings in one command |
77
- | `/rank schema` | Detect, validate, generate, and inject JSON-LD structured data |
107
+ ### SEO Scanner 37 Rules
108
+
109
+ Traditional search optimization. The foundation.
110
+
111
+ | Category | What it checks |
112
+ |---|---|
113
+ | **Meta** | Title (length, uniqueness), meta description, viewport, charset, canonical URL, lang attribute |
114
+ | **Content** | H1 presence, heading hierarchy, word count, image alt text, thin content detection |
115
+ | **Technical** | robots.txt, sitemap.xml, HTTPS, mobile-friendly viewport, analytics detection |
116
+ | **Structured Data** | JSON-LD presence, schema validation, required fields |
117
+ | **Cross-Page** | Duplicate titles across pages, duplicate descriptions, canonical conflicts, orphan pages |
118
+
119
+ ### GEO Scanner — 25 Rules
120
+
121
+ Generative Engine Optimization. For AI search engines: ChatGPT, Perplexity, Gemini, Google AI Overviews.
122
+
123
+ | Category | What it checks |
124
+ |---|---|
125
+ | **AI Crawlers** | robots.txt rules for 9 bots (GPTBot, PerplexityBot, ClaudeBot, Claude-Web, Google-Extended, CCBot, anthropic-ai, Googlebot, Bingbot) |
126
+ | **AI Discoverability** | llms.txt presence, sitemap.xml, structured data quality |
127
+ | **Content Structure** | Question-format H2s, definition patterns, statistics, data tables, lists |
128
+ | **Citation Readiness** | Passage length (134-167 word sweet spot), direct answers in first 40-60 words |
129
+ | **Authority Signals** | Author attribution, organization schema, source citations |
130
+
131
+ ### AEO Scanner — 12 Rules
132
+
133
+ Answer Engine Optimization. Featured snippets, People Also Ask, voice search.
134
+
135
+ | Category | What it checks |
136
+ |---|---|
137
+ | **Schema** | FAQPage, HowTo, speakable, Article structured data |
138
+ | **Snippet Fitness** | Answer paragraph length (40-60 words optimal), numbered steps, definition patterns |
139
+ | **Voice Search** | Concise answers under 29 words (Google voice search average), conversational phrasing |
140
+ | **Rich Results** | Featured image, breadcrumb markup, review schema |
141
+
142
+ ### Auto-Fix Generators
143
+
144
+ Every finding has a fix. Not "consider adding" — actual file generation:
145
+
146
+ | Generator | What it creates |
147
+ |---|---|
148
+ | **robots.txt** | AI-friendly rules allowing all 9 AI crawlers + sitemap directive |
149
+ | **sitemap.xml** | Auto-detected routes (Next.js App/Pages Router, static HTML) |
150
+ | **llms.txt** | AI discoverability file from your package.json |
151
+ | **JSON-LD Schema** | 12 types: Organization, Article, Product, FAQPage, HowTo, LocalBusiness, Person, WebSite, BreadcrumbList, SoftwareApplication, VideoObject, ItemList |
152
+
153
+ ### Schema Engine — Full CRUD
154
+
155
+ Not just detection. Full lifecycle management:
156
+
157
+ ```
158
+ Detect → Find all JSON-LD in your HTML files
159
+ Validate → Check against Google's requirements
160
+ Generate → Create missing schema from your project data
161
+ Inject → Add generated schema into your HTML <head>
162
+ ```
163
+
164
+ ### Score Tracking
165
+
166
+ Every audit saves your scores. See trends over time:
167
+
168
+ ```
169
+ 2026-03-25 SEO: 62 GEO: 45 AEO: 38
170
+ 2026-03-26 SEO: 78 GEO: 72 AEO: 65 (+16, +27, +27)
171
+ 2026-03-28 SEO: 87 GEO: 92 AEO: 78 (+9, +20, +13)
172
+ ```
78
173
 
79
174
  ---
80
175
 
81
- ## Scoring system
176
+ ## Scoring System
82
177
 
83
- All scores run from 0 to 100. Higher is better.
178
+ All scores run from 0 to 100. Higher is better. Findings are weighted by severity:
84
179
 
85
- Findings are weighted by severity:
180
+ | Severity | Deduction | Example |
181
+ |----------|-----------|---------|
182
+ | Critical | -20 points | No title tag, robots.txt blocking all crawlers |
183
+ | High | -10 points | Missing meta description, no JSON-LD, AI bots blocked |
184
+ | Medium | -5 points | Title too long, missing OG tags, no llms.txt |
185
+ | Low | -2 points | Missing lang attribute, no analytics detected |
186
+
187
+ Each audit produces separate SEO, GEO, and AEO scores plus a composite. Same rule on multiple pages = one deduction (not N deductions).
188
+
189
+ ---
86
190
 
87
- | Severity | Score deduction |
88
- |----------|----------------|
89
- | Critical | -20 points |
90
- | High | -10 points |
91
- | Medium | -5 points |
92
- | Low | -2 points |
191
+ ## CLI Commands
93
192
 
94
- Each audit produces separate SEO, GEO, and AEO scores, plus a composite score. Score history is tracked per project so you can see trends over time.
193
+ | Command | Description |
194
+ |---------|-------------|
195
+ | `claude-rank scan ./project` | Full SEO scan (37 rules) |
196
+ | `claude-rank geo ./project` | GEO scan — AI search optimization (25 rules) |
197
+ | `claude-rank aeo ./project` | AEO scan — answer engine optimization (12 rules) |
198
+ | `claude-rank schema ./project` | Detect structured data across all HTML |
199
+ | `claude-rank help` | Show available commands |
200
+
201
+ ## Slash Commands (Claude Code)
202
+
203
+ | Command | Description |
204
+ |---------|-------------|
205
+ | `/rank` | Smart routing — detects what your project needs |
206
+ | `/rank audit` | Full 8-phase SEO/GEO/AEO audit with auto-fix |
207
+ | `/rank geo` | Deep GEO audit targeting AI search visibility |
208
+ | `/rank aeo` | Answer engine optimization audit |
209
+ | `/rank fix` | Auto-fix all findings in one command |
210
+ | `/rank schema` | Detect, validate, generate, inject JSON-LD |
95
211
 
96
212
  ---
97
213
 
@@ -103,11 +219,15 @@ Each audit produces separate SEO, GEO, and AEO scores, plus a composite score. S
103
219
  | GEO — AI search (Perplexity, ChatGPT, Gemini) | 25 rules | Basic |
104
220
  | AEO — featured snippets, voice search | 12 rules | None |
105
221
  | Auto-fix generators | Yes | No |
106
- | Schema management (detect / validate / generate / inject) | Full | Detect only |
222
+ | Schema management (detect / validate / generate / inject) | Full CRUD | Detect only |
107
223
  | Score tracking with history and trends | Yes | None |
108
- | Cross-page analysis | Yes | No |
224
+ | Cross-page analysis (duplicates, orphans, canonicals) | Yes | No |
109
225
  | AI bot detection | 9 bots | Basic |
110
226
  | llms.txt generation | Yes | No |
227
+ | robots.txt generation | Yes | No |
228
+ | sitemap.xml generation | Yes | No |
229
+
230
+ **claude-seo tells you what's wrong. claude-rank fixes it.**
111
231
 
112
232
  ---
113
233
 
@@ -115,37 +235,92 @@ Each audit produces separate SEO, GEO, and AEO scores, plus a composite score. S
115
235
 
116
236
  Two terms that matter and are often confused:
117
237
 
118
- - **GEO (Generative Engine Optimization)** — optimization for AI-powered search engines that generate answers (Perplexity, ChatGPT Search, Gemini). This is NOT geographic targeting.
238
+ - **GEO (Generative Engine Optimization)** — optimization for AI-powered search engines that generate answers (Perplexity, ChatGPT Search, Gemini, Google AI Overviews). This is NOT geographic targeting.
119
239
  - **AEO (Answer Engine Optimization)** — optimization for direct answer features: featured snippets, People Also Ask, voice assistants.
120
240
 
121
241
  ---
122
242
 
243
+ ## Security
244
+
245
+ | Protection | How |
246
+ |---|---|
247
+ | **No shell injection** | `execFileSync` with array args everywhere — zero shell interpolation |
248
+ | **SSRF protection** | All HTTP tools block private IPs, cloud metadata, non-HTTP schemes |
249
+ | **No telemetry** | Zero data collection. No phone-home. Ever. |
250
+ | **1 dependency** | `htmlparser2` only (30KB). No native bindings. No `node-gyp`. |
251
+ | **85 tests** | Security module, all scanners, CLI, integration tests |
252
+ | **File safety** | 10MB read cap. 5MB response cap. Restrictive write permissions. |
253
+
254
+ See [SECURITY.md](SECURITY.md) for the full vulnerability disclosure policy.
255
+
256
+ ---
257
+
258
+ ## What's Inside
259
+
260
+ | Category | Count | Highlights |
261
+ |---|---|---|
262
+ | **Tools** | 8 | SEO scanner (37 rules), GEO scanner (25 rules), AEO scanner (12 rules), schema engine, robots analyzer, sitemap analyzer, llms.txt generator, audit history |
263
+ | **Skills** | 6 | /rank, /rank audit, /rank geo, /rank aeo, /rank fix, /rank schema |
264
+ | **Agents** | 4 | SEO auditor, GEO auditor, AEO auditor, Schema auditor |
265
+ | **Commands** | 6 | All slash commands above |
266
+ | **Research** | 3 | SEO benchmarks, GEO research, schema catalog |
267
+
268
+ ---
269
+
123
270
  ## Requirements
124
271
 
125
272
  - Node.js >= 18
126
273
  - ESM environment (no CommonJS)
127
274
  - No build step required
128
275
 
129
- Single runtime dependency: `htmlparser2`
276
+ Single runtime dependency: `htmlparser2` (30KB)
130
277
 
131
278
  ---
132
279
 
133
- ## Contributing
280
+ ## Sponsor This Project
134
281
 
135
- See [CONTRIBUTING.md](./CONTRIBUTING.md).
282
+ I built claude-rank alone — nights and weekends, between building my own SaaS products. No VC funding. No team. Just one person who got tired of being invisible to AI search and decided to fix it for everyone.
136
283
 
137
- ## Security
284
+ This plugin is **free forever.** No pro tier. No paywalls. No "upgrade to unlock." Every feature you just read about — all 8 tools, 6 skills, 4 agents — is yours, completely free.
285
+
286
+ But building and maintaining something this comprehensive takes real time. Every scanner rule I add, every false positive I fix, every new AI crawler I track — that's time I'm not spending on my own products.
138
287
 
139
- See [SECURITY.md](./SECURITY.md) for our vulnerability disclosure policy.
288
+ **If claude-rank helped your site rank higher** — one AI citation it earned you, one missing schema it generated, one robots.txt fix that unblocked GPTBot — I'd be grateful if you considered sponsoring.
140
289
 
141
- ## Support
290
+ [![Sponsor on GitHub](https://img.shields.io/badge/Sponsor_on_GitHub-EA4AAA?style=for-the-badge&logo=githubsponsors&logoColor=white)](https://github.com/sponsors/Houseofmvps)
142
291
 
143
- See [SUPPORT.md](./SUPPORT.md) for how to get help.
292
+ Thanks for using claude-rank. Now go dominate every search engine — traditional and AI.
293
+
294
+ *— [Kailesk Khumar](https://www.linkedin.com/in/kailesk-khumar), solo founder of [houseofmvps.com](https://houseofmvps.com)*
295
+
296
+ ---
297
+
298
+ ## Contributing
299
+
300
+ Found a bug? Want a new scanner rule? [Open an issue](https://github.com/Houseofmvps/claude-rank/issues) or PR.
301
+
302
+ ```bash
303
+ git clone https://github.com/Houseofmvps/claude-rank.git
304
+ cd claude-rank
305
+ npm install
306
+ npm test # 85 tests, node:test
307
+ node tools/<tool>.mjs # No build step
308
+ ```
309
+
310
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
311
+
312
+ ---
144
313
 
145
314
  ## License
146
315
 
147
- MIT — see [LICENSE](./LICENSE).
316
+ MIT — [LICENSE](LICENSE). **Free forever.** No pro tier. No paywalls.
148
317
 
149
318
  ---
150
319
 
151
- Built by [Houseofmvps](https://houseofmvps.com).
320
+ <div align="center">
321
+
322
+ **If claude-rank helped you rank higher, [star the repo](https://github.com/Houseofmvps/claude-rank) and tell a friend.**
323
+
324
+ [![Star on GitHub](https://img.shields.io/github/stars/Houseofmvps/claude-rank?style=for-the-badge&logo=github&color=gold)](https://github.com/Houseofmvps/claude-rank/stargazers)
325
+
326
+ </div>
@@ -25,7 +25,7 @@ Commands:
25
25
 
26
26
  Examples:
27
27
  claude-rank scan ./my-project
28
- npx claude-rank geo .
28
+ npx @houseofmvps/claude-rank geo .
29
29
  `);
30
30
  process.exit(0);
31
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@houseofmvps/claude-rank",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "The most comprehensive SEO/GEO/AEO plugin for Claude Code. Audit, fix, and dominate search — traditional and AI.",
5
5
  "type": "module",
6
6
  "bin": {