Title: Kolibia Agent-Ready
Author: kkarpieszuk
Published: <strong>2026 年 4 月 30 日</strong>
Last modified: 2026 年 4 月 30 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/kolibia-agent-ready.svg)

# Kolibia Agent-Ready

 作者：[kkarpieszuk](https://profiles.wordpress.org/kkarpieszuk/)

[下载](https://downloads.wordpress.org/plugin/kolibia-agent-ready.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/kolibia-agent-ready/#description)
 * [评价](https://cn.wordpress.org/plugins/kolibia-agent-ready/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/kolibia-agent-ready/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/kolibia-agent-ready/#developers)

 [支持](https://wordpress.org/support/plugin/kolibia-agent-ready/)

## 描述

Kolibia Agent-Ready makes **singular** WordPress content available as **Markdown**
so tools and agents do not have to scrape HTML. Behaviour follows common **content
negotiation** patterns (similar in spirit to [Markdown for Agents](https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/)
on Cloudflare): clients that prefer Markdown can request it explicitly.

**What is included today**

 * **Markdown responses for singular content** — For each **built-in public post
   type** registered by WordPress core (`post`, `page`, `attachment` on a typical
   site), a single-item URL can return `Content-Type: text/markdown; charset=UTF-
   8` instead of the themed HTML page.
 * **When Markdown is served**
    - The request includes an `Accept` header that lists **`text/markdown`** (requests
      with `text/markdown;q=0` are ignored).
    - **Or** the URL includes the query argument **`output_format=md`** (handy for
      browsers and manual testing).
 * **HTML to Markdown** — Rendered post body is passed through WordPress’s `the_content`
   filters, then converted to Markdown using the [league/html-to-markdown](https://github.com/thephpleague/html-to-markdown)
   library. A short YAML front matter block includes `title` and `permalink`.
 * **Password-protected content** — If a password is required, the response is a
   small Markdown message instead of the full body.
 * **Discovery in HTML** — On the normal HTML view, the plugin prints `<link rel
   ="alternate" type="text/markdown" href="…?output_format=md" />` so clients can
   find the Markdown URL.
 * **Admin shortcut** — On the posts and pages list screens, a row action **View
   as AI Agent** opens the same Markdown URL (preview URLs are used for drafts where
   WordPress would show Preview).

**Developer filters**

 * `kolibia_ar_markdown_post_types` — Defaults to all **public, built-in** post 
   types from core; override to add custom post types or remove types (e.g. `attachment`).
 * `kolibia_ar_post_markdown` — Filter the final Markdown string.
 * `kolibia_ar_markdown_password_required` — Filter the Markdown shown when a password
   is required.

**Roadmap**

Further “agent readiness” features (broader API discovery, additional formats) may
be added in future releases.

## 安装

 1. Copy the `agent-ready` folder into `wp-content/plugins/` (or install the distributed
    package).
 2. Activate **Kolibia Agent-Ready** under Plugins in the WordPress admin.
 3. That’s it! AI Agents will automatically discover your site’s content.

## 常见问题

### Do I need to configure anything?

No. Just activate the plugin and you’re good to go. AI Agents will automatically
discover your site’s content.

### Does this replace my theme for visitors?

No. Normal visitors still get HTML. Markdown is returned only when `text/markdown`
is negotiated or `?output_format=md` is used (and the same permission rules as viewing
the content apply).

### Which URLs are affected?

Singular URLs for built-in public types from core (typically posts, pages, and media
attachment pages). Custom post types are not included unless you add them via the`
kolibia_ar_markdown_post_types` filter.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Kolibia Agent-Ready」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ kkarpieszuk ](https://profiles.wordpress.org/kkarpieszuk/)

[帮助将「Kolibia Agent-Ready」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/kolibia-agent-ready)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/kolibia-agent-ready/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/kolibia-agent-ready/)，或通过[RSS](https://plugins.trac.wordpress.org/log/kolibia-agent-ready/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/kolibia-agent-ready/)。

## 更新日志

#### 1.0.0

 * Initial release: Markdown negotiation, `output_format=md`, alternate link, admin“
   View as AI Agent”, HTML-to-Markdown for singular core public post types.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**4 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.8 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/kolibia-agent-ready/)
 * 标签
 * [Agents](https://cn.wordpress.org/plugins/tags/agents/)[AI](https://cn.wordpress.org/plugins/tags/ai/)
   [content negotiation](https://cn.wordpress.org/plugins/tags/content-negotiation/)
   [LLM](https://cn.wordpress.org/plugins/tags/llm/)[markdown](https://cn.wordpress.org/plugins/tags/markdown/)
 *  [高级视图](https://cn.wordpress.org/plugins/kolibia-agent-ready/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/kolibia-agent-ready/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/kolibia-agent-ready/reviews/)

## 贡献者

 *   [ kkarpieszuk ](https://profiles.wordpress.org/kkarpieszuk/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/kolibia-agent-ready/)