Auto-generates llms.txt, structured markdown, JSON-LD, and a context search API from any Payload CMS website.
6
endpoints
3
stages
0
config needed
v3
Payload
AI agents can't parse your HTML efficiently. This plugin auto-generates clean, structured content in every format they understand.
Generates /llms.txt and /llms-full.txt following the official spec.
Every content change triggers instant regeneration. Hybrid event + queue architecture handles bulk edits.
Optional AI summaries, entity extraction, topic classification, and semantic chunking for RAG pipelines.
Schema.org structured data for every page. Products, articles, services — automatically mapped.
Auto-discovers content collections. Pages, posts, products detected. Toggle from the dashboard.
Estimates total AI cost before you enable enrichment. Recommends the cheapest model that fits.
Lexical & Slate → Markdown
FREEFrontmatter, JSON-LD, hierarchy
FREEAI summaries, topics, chunks
OPTIONALA dedicated dashboard inside your Payload admin panel.



All endpoints are public by design. Rate-limited per IP.
| Endpoint | Type | Description |
|---|---|---|
GET /llms.txt | text/markdown | Curated content index — start here |
GET /llms-full.txt | text/markdown | Complete content listing |
GET /ai/:collection/:slug.md | text/markdown | Individual page markdown |
GET /ai/sitemap.json | application/json | Content graph & hierarchy |
GET /ai/structured/:collection/:slug.json | application/json | JSON-LD structured data |
GET /ai/context?query=...&limit=5 | application/json | Relevance-scored search |
GET /.well-known/ai-plugin.json | application/json | Discovery manifest |
1. Install the package
2. Add to your plugins array in payload.config.ts
3. Enable root-level AI discoverability
Maps /llms.txt and /ai/* to the plugin endpoints. Without this, AI agents can't find your content.
4. Add in-page discovery to your layout (10/10 score)
Invisible to humans, visible to AI text extractors. This is what makes ChatGPT and Perplexity discover your content instantly.
5. Restart and visit the dashboard
Go to /admin/scrape-ai in your Payload admin panel.
NOTE
Like all Payload plugins, this does not auto-register on install. You must manually add scrapeAiPlugin() to your plugins array in payload.config.ts and restart.
Fork it, improve it, submit a PR. All changes go through review and approval.
If this plugin saves you time, consider supporting its development.