[WordPress] 外掛分享: Mescio for Agents

首頁外掛目錄 › Mescio for Agents
WordPress 外掛 Mescio for Agents 的封面圖片
全新外掛
安裝啟用
尚無評分
2 天前
最後更新
問題解決
WordPress 6.0+ PHP 8.0+ v1.6.4 上架:2026-03-05

內容簡介

Mescio for Agents 讓您的 WordPress 網站具備 AI 準備能力,能夠以乾淨、結構化的 Markdown 格式回應任何請求的 AI 代理或 LLM 管道,並且不影響人類訪客的瀏覽體驗。

【主要功能】
• 零配置,開箱即用於任何文章或頁面
• 自動生成的 /llms.txt 索引,方便 AI 代理發現內容
• WooCommerce 支援,產品頁面包含詳細資訊
• 每個文件包含結構化的 YAML 前置資料
• 多語言支援,自動檢測語言
• REST API 端點,方便開發者使用

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.6.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Mescio for Agents」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Mescio for Agents makes your WordPress site AI-ready by silently serving posts, pages and WooCommerce products as clean, structured Markdown to any AI agent or LLM pipeline that requests it — using the standard HTTP Accept: text/markdown content negotiation header.
Human visitors using a browser are completely unaffected. Mescio for Agents only activates when an AI agent or crawler explicitly asks for Markdown.
Why Markdown?
Feeding raw HTML to an AI is expensive and noisy. A heading like ## About Us costs ~3 tokens in Markdown vs 12–15 tokens as HTML — before accounting for

wrappers, navigation bars and script tags that carry zero semantic value. This blog post you are reading takes 16,180 tokens in HTML and 3,150 tokens in Markdown. That is an 80% reduction.
Markdown has become the lingua franca for AI systems. Mescio for Agents lets your site speak it natively, at zero cost to your human visitors.
How it works
When an HTTP client sends a request with Accept: text/markdown, Mescio for Agents intercepts the WordPress request lifecycle before any template is rendered, converts the post content to clean Markdown, and returns it with the correct Content-Type: text/markdown header.
curl https://yoursite.com/your-post/ \
-H "Accept: text/markdown"

Features

Zero configuration — works out of the box on any singular post, page or custom post type
/llms.txt endpoint — auto-generated index of all your content in the llmstxt.org standard format, so AI agents can discover what’s on your site
/llms-full.txt endpoint — full site content in a single Markdown file, ready for RAG pipelines
WooCommerce support — product pages include price, SKU, stock status, rating, attributes and gallery; products are grouped by category in llms.txt
YAML front matter — every document includes structured metadata (title, description, URL, date, categories, tags, featured image)
Multilingual — detects language via WPML, Polylang, TranslatePress or WordPress locale; emits Content-Language and Link: rel=alternate headers
REST API endpoint — /wp-json/mescio-for-agents/v1/markdown?id= or ?url= Page builder cleanup — aggressively strips Elementor, Divi, WPBakery and Beaver Builder layout noise
Token count header — X-Markdown-Tokens tells AI pipelines how large the document is before processing
Content Signals — emits Content-Signal: ai-train=yes, search=yes, ai-input=yes
Correct HTTP caching — Vary: Accept ensures CDNs cache HTML and Markdown versions separately

Response headers

Content-Type: text/markdown; charset=utf-8
Content-Language: it (or detected language)
Vary: Accept
X-Markdown-Tokens: 725
Content-Signal: ai-train=yes, search=yes, ai-input=yes
Link: ; rel="alternate"; hreflang="en" (when translations available)

Multilingual plugin support

WPML — reads language and available translations automatically
Polylang — reads language and links to translated post IDs
TranslatePress — reads trp_language post meta
Manual — configure primary language and additional languages in Settings → Mescio for Agents

REST API
GET /wp-json/mescio-for-agents/v1/markdown?id=42
GET /wp-json/mescio-for-agents/v1/markdown?url=https://yoursite.com/my-page/

Developer hooks
Filter: mescio_enabled_post_types — add or remove post types dynamically.
Filter: mescio_pre_convert_content — modify the HTML before conversion to Markdown.
Filter: mescio_post_convert_content — modify the Markdown after conversion.
Privacy
This plugin does not collect, store or transmit any personal data. It does not set cookies. It does not make external HTTP requests.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon