Linux 软件免费装
Banner图

Mokhai - Agent Readiness Kit

开发者 mokhaled
更新时间 2026年7月13日 16:26
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

markdown ai schema agents llms.txt

下载

0.4.0 0.5.0 0.6.0

详情介绍:

Mokhai is an open-source WordPress plugin that turns your site into a first-class citizen of the AI-agent web — readable today, actionable next. A single Context Profile (configured once under Tools → Context) is the source of truth for every agent-facing surface — what's exposed, how it's served, and how it's scored. The core move: Mokhai publishes a Markdown version of every page on your site. When an AI assistant fetches a typical WordPress page it receives 50–100 KB of theme markup — menus, sliders, scripts — with your actual content buried inside. Mokhai gives every public URL a clean Markdown twin (/about-us.md) that is 4–8 KB of pure content, and pushes those Markdown versions into your /llms.txt index: every entry links straight to the page's .md form and carries a per-page description, so an agent reading your index gets a curated map of your content AND the readable version of each page in one hop. That pipeline — content → Markdown twin → described llms.txt entry — is what the rest of the plugin audits, scores, and advertises. Mokhai ships seven coherent modules, all driven by one Context Profile: The plugin is fully free, GPL-2.0+, with no paid tier and no hosted backend. Every module is independently toggleable from the Context Profile. No content leaves your server. The plugin makes no external HTTP calls; AI providers configured via the WP AI Client (an optional dependency) are only consulted by modules that explicitly opt in, and every deterministic surface (Markdown Views, /llms.txt, the rule-based score, the gap-fill schema) runs fully locally without an AI provider.

屏幕截图:

  • AI Assistant Preview — see exactly what an agent reads: raw HTML, the clean Markdown View, and the `/llms.txt` line, side by side
  • LLMs Index — `/llms.txt` admin UI with editorial entries and LLM-powered descriptions
  • Context Profile — the single source of truth for which CPTs and statuses are exposed to agents

升级注意事项:

0.6.0 Adds the static Markdown mirror (auto-enabled only behind hard page caches), hard-cache detection, and the in-content discovery link. No migration — safe in-place upgrade. 0.5.0 All internal identifiers renamed to the mokhai scheme. NO automatic migration — re-configure the Context Profile (Tools → Context) after upgrading from a pre-0.5.0 install. 0.4.0 Public launch on WordPress.org. Refreshed listing assets and readme; no functional change and no migration — safe in-place upgrade. 0.2.0 Adds AI Assistant Preview, WordPress Abilities API + MCP, and a multi-channel discovery sub-score, plus fixes for JSON-LD output, stale cron recovery, and Markdown cleanup. Safe in-place upgrade — the Context Score cache auto-invalidates. 0.1.0 First public release. Install on WordPress 6.9+ with PHP 7.4+.

常见问题:

What is llms.txt and why should I care?

AI assistants like ChatGPT, Claude, and Perplexity increasingly visit websites to answer questions for their users. Most WordPress themes serve them the same heavy HTML built for humans — menus, sliders, widgets — and the actual content gets lost in the noise. llms.txt is a simple convention: a plain-text file at your site's root (like robots.txt, but for content) that tells AI assistants what your site is about and where to find your best pages. Mokhai generates and maintains it for you, alongside clean Markdown versions of your pages that agents can actually read. If AI assistants are answering questions in your topic area, this determines whether your site is the source they cite — or the one they skip.

Does Mokhai require an AI API key?

No. Every deterministic surface (Markdown Views, /llms.txt floor, rule-based Context Score narrative, gap-fill JSON-LD emission) runs fully locally with no external calls. Modules that benefit from an LLM (the Markdown cleanup pass, /llms.txt entry-description drafting, the LLM-narrated Context Score) require the optional WP AI Client to be configured, but each is independently toggleable and not load-bearing for the core agent-readiness contract.

How does Mokhai interact with my SEO plugin?

For JSON-LD: when an SEO plugin (Yoast, Rank Math, AIOSEO, The SEO Framework) is active, Mokhai emits nothing competing — schema is theirs. When no SEO plugin is emitting JSON-LD, you can optionally enable Mokhai's native gap-fill emission from the Context Profile. For noindex: Mokhai auto-detects per-post noindex from Yoast, Rank Math, and AIOSEO and drops the post from agent surfaces. Use the mokhai_post_is_noindexed filter to add support for additional sources.

How is this different from existing /llms.txt plugins?

/llms.txt is one surface among several. Mokhai ships the integrated reading layer (Markdown views), the discovery layer (/llms.txt with editorial entries and LLM-powered descriptions), the audit layer (Context Score across seven sub-scores), and the schema coordination layer as a single coherent unit driven by one Context Profile. Most existing plugins target one of these surfaces in isolation; Mokhai treats them as a coordinated stack.

What's on the roadmap?

v0.5.0 is the public-launch baseline: Markdown Views, /llms.txt, the Context Score, the AI Assistant Preview pane, and the WordPress Abilities API + MCP integration. Looking ahead: agent-activity analytics (see which AI agents visit your site, not just optimize for them), a fuller agent-actionable layer (callable tools via WebMCP / navigator.modelContext), and a richer /.well-known/llms-policy.json policy-declaration surface.

更新日志:

0.6.0 — 2026-07-13 Feature release: markdown that survives hard caching, and discovery that survives AI content extraction. No migration — safe in-place upgrade; all new behaviour is driven by two new Context Profile keys with safe defaults. New Improved 0.5.0 — 2026-06-30 Public-launch baseline. This is the first release where every developer-facing and end-user-facing identifier aligns under the mokhai scheme. No new features ship in this release. 0.4.0 — 2026-06-29 Public-launch release. The plugin is now live on the WordPress.org Plugin Directory as "Mokhai - Agent Readiness Kit" (slug mokhai-agent-readiness-kit). This release is launch housekeeping — no functional change, no migration: 0.3.2 — 2026-06-21 Rename to "Mokhai - Agent Readiness Kit" (text domain mokhai-agent-readiness-kit). wp.org plugin review rejected "Agentable" as colliding with existing third-party projects and required a name and slug that are clearly ours, with a distinctive leading term. "Mokhai" satisfies that. REST, WP-CLI, abilities, option keys, and all stored data are unchanged — existing installs upgrade with no migration. (#259) Also ships the following changes that landed on main since 0.3.1: 0.3.1 — 2026-06-14 Rename to Agentable (text domain agentable). The previous "AgentReady" brand collided with an existing third party (agentready.org), so the plugin is renamed to a distinct, ownable name that also fits the roadmap — sites readable today, actionable next. REST, WP-CLI, abilities, and stored data keys are unchanged, so existing installs upgrade with no migration. Also makes root-served-file detection (llms.txt, ai.txt, .well-known/*) subdirectory-install aware via get_home_path() instead of assuming the install root is the web root. (#230) 0.3.0 — 2026-06-12 Polish release. Refinements surfaced through a full live UX walkthrough of the v0.2.0 admin surfaces — score-narrative correctness, clearer labels, and a more discoverable plugin. Also renamed to "AgentReady – AI Readiness Kit"; REST, WP-CLI, and stored data keys are unchanged. (#224) Improved Fixes 0.2.0 — 2026-06-03 Feature release. Three new agent-facing modules plus a batch of correctness fixes surfaced through live testing. New Improved Fixes 0.1.1 — 2026-05-24 Bug-fix release. Four issues surfaced during post-merge smoke testing of v0.1.0 (PR #102 rebrand bundle) and the external LLM review of the live /llms.txt output. Fixes 0.1.0 — 2026-05-20 First public release. Four coherent modules driven by one Context Profile. Markdown Views LLMs Index (/llms.txt) Context Score Schema Coordination Infrastructure