已验证的 AgentReady.md 证书
签发于 sig: 9295ff53d110fb77 验证 →

已分析URL

https://drmartypets.com/

测量于2周前

分析另一个URL

AI-Ready评分

不合格

/ 100

Token节省量

HTML Token 1.120.292
Markdown Token 11
节省 100%

评分详情

语义化HTML 23/100
内容效率 40/100
AI可发现性 15/100
结构化数据 100/100
可访问性 38/100

新兴协议

已检测到 0/6

AI代理查找的well-known端点。检测到意味着代理可以自动发现并连接到您的服务。

  • OAuth Protected Resource RFC 9728
    /.well-known/oauth-protected-resource
  • OAuth Discovery RFC 8414
    /.well-known/oauth-authorization-server
  • MCP Server Card SEP-1649 draft
    /.well-known/mcp/server-card.json
  • A2A Agent Card A2A v1.0
    /.well-known/agent-card.json
  • API Catalog RFC 9727
    /.well-known/api-catalog
  • Agent Skills index Discovery RFC v0.2.0 draft
    /.well-known/agent-skills/index.json

分数不会自己保持不变。 监控功能尚未上线——加入名单,上线时通知你。

您已加入名单!服务上线时我们会通知您。

我们测到的 No llms.txt found

您的网站没有llms.txt文件。这是帮助AI代理理解网站结构的新兴标准。

如何实施

按照llmstxt.org规范创建/llms.txt文件。包含网站描述和关键页面的链接。

粘贴到编码智能体中让它完成修复

我们测到的 Missing <article> and <main> elements

您的页面未使用<article>或<main>元素。这些语义容器帮助AI代理识别主要内容区域,忽略导航、侧边栏和页脚。

如何实施

在页面主要内容周围添加<main>元素,并对博客文章或产品描述等独立内容块使用<article>。

粘贴到编码智能体中让它完成修复

我们测到的 No headings found

您的标题结构存在问题(跳级或多个h1标签)。清晰的层级帮助AI代理理解内容组织。

如何实施

确保每页只有一个<h1>,标题按顺序排列:h1 > h2 > h3。不要跳级(例如从h1直接到h3)。

粘贴到编码智能体中让它完成修复

我们测到的 Content ratio: 0.0% (53 content chars / 3649259 HTML bytes)

您的页面实际内容与总HTML的比率较低。页面重量的大部分是标记、脚本或样式而非内容。

如何实施

将CSS移至外部样式表,删除内联样式,最小化JavaScript,确保HTML专注于内容结构。

粘贴到编码智能体中让它完成修复

我们测到的 No Markdown for Agents support detected

您的网站不支持Markdown for Agents。此Cloudflare标准允许AI代理以markdown格式请求内容,减少约80%的令牌使用。

如何实施

实现以下一项或多项:(1) 使用markdown内容响应Accept: text/markdown。(2) 提供.md URL(例如/page.md)。(3) 添加<link rel="alternate" type="text/markdown">标签。(4) 添加Link HTTP标头用于markdown发现。

粘贴到编码智能体中让它完成修复

我们测到的 No robots.txt found

您的网站没有robots.txt文件。此文件控制机器人(包括AI代理)如何访问您的网站。

如何实施

创建允许访问内容页面的/robots.txt文件。包含指向sitemap.xml的Sitemap指令。

粘贴到编码智能体中让它完成修复

我们测到的 No sitemap found

未找到站点地图。站点地图帮助AI代理发现网站上的所有页面。

如何实施

创建列出所有公开页面的/sitemap.xml。大多数CMS平台可以自动生成。

粘贴到编码智能体中让它完成修复

我们测到的 No Content-Signal found (robots.txt or HTTP headers)

未找到Content-Signal指令。这些指令告知AI代理如何使用您的内容(搜索索引、AI输入、训练数据)。推荐位置是robots.txt。

如何实施

将Content-Signal添加到您的robots.txt:User-agent: *\nContent-Signal: search=yes, ai-input=yes, ai-train=no。也可以作为markdown响应的HTTP标头添加。

粘贴到编码智能体中让它完成修复

我们测到的 0/5 images with meaningful alt text

部分图片缺少描述性alt属性。良好的alt属性帮助AI代理理解图片内容和上下文。

如何实施

为所有图片添加描述性alt属性。描述图片展示的内容,而不仅仅是「图片」或「照片」。装饰性图片使用alt=""(空值)。

粘贴到编码智能体中让它完成修复

我们测到的 HTML size: 3564KB

您的HTML页面比推荐值更重。大页面需要AI代理更长的处理时间,消耗更多Token。

如何实施

通过删除未使用的代码、压缩HTML和延迟加载非关键内容来减少HTML大小。

粘贴到编码智能体中让它完成修复
Markdown Token: 11
Subscribe Now for Major Discounts on Your Pet's Food!
Dr. Marty Pets | Premium Freeze Dried Raw Dog & Cat Food

Skip to main contentEnable accessibility for low visionOpen the accessibility menu

   ![](https://pt.ispot.tv/v2/TC-7566-2.gif?app=web&type=Visit)   ![](https://pt.ispot.tv/v2/TC-7566-2.gif?app=web&type=Homepage)![](https://trkn.us/pixel/conv/ppt=25986;g=pageviews;gid=66467;ord=1783533950005-493861;cv1=main)

Subscribe Now for Major Discounts on Your Pet's Food!

[Shop Dogs](https://www2.drmartypets.com/cid/7013w000002T2G7AAK)

[Shop Cats](https://www2.drmartypets.com/cid/7013w000002DZjVAAW)

 ![](https://cdn.builder.io/api/v1/pixel?apiKey=0e70bd0bca2c432ca91ef8818692fb02)

Error loading content

![](https://cdn.drmartypets.com/chat/dmp-live-chat-icon-new.png)

将此文件上传到服务器的/index.md,以便AI代理可以访问页面的干净版本。您也可以配置Accept: text/markdown内容协商以自动提供。

为此单页生成的llms.txt

下载llms.txt
# Dr. Marty

> Dr. Marty Pets offers premium freeze-dried dog food and cat food packed with real proteins, fruits, and vegetables for a healthier, happier pet.

## Main
- [Dr. Marty Pets | Premium Freeze Dried Raw Dog & Cat Food](https://drmartypets.com/): Dr. Marty Pets offers premium freeze-dried dog food and cat food packed with real proteins, fruits, and vegetables for…

完整llms.txt需要全域分析(即将推出)

将此文件上传到域名根目录的https://drmartypets.com/llms.txt。ChatGPT、Claude和Perplexity等AI代理会检查此文件以了解您的网站结构。

语义化HTML

使用article或main元素 (0/100)

Missing <article> and <main> elements

正确的标题层级 (0/100)

No headings found

使用语义化HTML元素 (15/100)

2 semantic elements, 43 divs (ratio: 4%)

有意义的图片alt属性 (0/100)

0/5 images with meaningful alt text

较低的div嵌套深度 (100/100)

Avg div depth: 5.0, max: 14

内容效率

良好的Token减少比率 (100/100)

100% token reduction (HTML→Markdown)

良好的内容与噪声比 (0/100)

Content ratio: 0.0% (53 content chars / 3649259 HTML bytes)

最少的内联样式 (0/100)

32/419 elements with inline styles (7.6%)

合理的页面重量 (0/100)

HTML size: 3564KB

AI可发现性

有llms.txt文件 (0/100)

No llms.txt found

有robots.txt文件 (0/100)

No robots.txt found

robots.txt允许AI机器人 (100/100)

No robots.txt — AI bots allowed by default

有sitemap.xml (0/100)

No sitemap found

Markdown for Agents支持 (0/100)
&#10007; Accept: text/markdown &#10007; .md URL &#10007; <link> tag &#10007; Link header
有Content-Signal(robots.txt或HTTP标头) (0/100)
&#10003; robots.txt &#10003; HTTP header &#10007; Policy

结构化数据

有Schema.org / JSON-LD (100/100)

JSON-LD found: Organization

有Open Graph标签 (100/100)

All OG tags present

有meta描述 (100/100)

Meta description: 144 chars

有规范URL (100/100)

Canonical URL present

有lang属性 (100/100)

lang="en"

可访问性

无需JavaScript即可获取内容 (20/100)

Content requires JavaScript rendering

合理的页面大小 (0/100)

Page size: 3564KB

内容在HTML中位置靠前 (100/100)

Main content starts at 2% of HTML

{
  "url": "https://drmartypets.com/",
  "timestamp": 1783533959617,
  "fetch": {
    "mode": "rendered",
    "timeMs": 9621,
    "htmlSizeBytes": 3649259,
    "supportsMarkdown": false,
    "markdownAgents": {
      "contentNegotiation": false,
      "mdUrl": {
        "found": false,
        "url": null
      },
      "linkTag": {
        "found": false,
        "url": null
      },
      "linkHeader": {
        "found": false,
        "url": null
      },
      "responseHeaders": {
        "contentSignal": null,
        "xMarkdownTokens": null,
        "vary": null
      },
      "frontmatter": {
        "present": false,
        "fields": [],
        "level": "none"
      },
      "level": "none"
    },
    "statusCode": 200
  },
  "extraction": {
    "title": "Dr. Marty Pets | Premium Freeze Dried Raw Dog & Cat Food",
    "excerpt": "Dr. Marty Pets offers premium freeze-dried dog food and cat food packed with real proteins, fruits, and vegetables for a healthier, happier pet.",
    "byline": null,
    "siteName": "Dr. Marty",
    "lang": "en",
    "contentLength": 53,
    "metadata": {
      "description": "Dr. Marty Pets offers premium freeze-dried dog food and cat food packed with real proteins, fruits, and vegetables for a healthier, happier pet.",
      "ogTitle": "Dr. Marty Pets | Premium Freeze Dried Raw Dog & Cat Food",
      "ogDescription": "Dr. Marty Pets offers premium freeze-dried dog food and cat food packed with real proteins, fruits, and vegetables for a healthier, happier pet.",
      "ogImage": "https://cdn.builder.io/api/v1/image/assets%2F0e70bd0bca2c432ca91ef8818692fb02%2F07dd9c99c4454fd6aaaafa3a0b0a7005",
      "ogType": "website",
      "canonical": "https://drmartypets.com/",
      "lang": "en",
      "schemas": [
        {
          "@context": "https://schema.org",
          "@type": "Organization",
          "name": "Dr. Marty Pets",
          "url": "https://drmartypets.com",
          "logo": "https://cdn.builder.io/api/v1/image/assets%2F0e70bd0bca2c432ca91ef8818692fb02%2Fc0e714fea3744984a1f23f89659e700e",
          "sameAs": [
            "https://www.pinterest.com/drmartypets/",
            "https://twitter.com/drmartypets",
            "https://www.instagram.com/drmartypets/",
            "https://www.facebook.com/DrMartyPets/"
          ],
          "contactPoint": {
            "@type": "ContactPoint",
            "telephone": "18006701839",
            "contactType": "customer service",
            "email": "[email protected]",
            "availableLanguage": [
              "English",
              "Spanish"
            ]
          },
          "address": {
            "@type": "PostalAddress",
            "streetAddress": "6320 Canoga Avenue, 15th Floor",
            "addressLocality": "Woodland Hills",
            "addressRegion": "CA",
            "postalCode": "91367",
            "addressCountry": "US"
          }
        }
      ],
      "robotsMeta": "index, follow",
      "author": null,
      "generator": null,
      "markdownAlternateHref": null
    }
  },
  "markdown": "Subscribe Now for Major Discounts on Your Pet's Food!\n",
  "fullPageMarkdown": "Dr. Marty Pets | Premium Freeze Dried Raw Dog & Cat Food\n\nSkip to main contentEnable accessibility for low visionOpen the accessibility menu\n\n   ![](https://pt.ispot.tv/v2/TC-7566-2.gif?app=web&type=Visit)   ![](https://pt.ispot.tv/v2/TC-7566-2.gif?app=web&type=Homepage)![](https://trkn.us/pixel/conv/ppt=25986;g=pageviews;gid=66467;ord=1783533950005-493861;cv1=main)\n\nSubscribe Now for Major Discounts on Your Pet's Food!\n\n[Shop Dogs](https://www2.drmartypets.com/cid/7013w000002T2G7AAK)\n\n[Shop Cats](https://www2.drmartypets.com/cid/7013w000002DZjVAAW)\n\n ![](https://cdn.builder.io/api/v1/pixel?apiKey=0e70bd0bca2c432ca91ef8818692fb02)\n\nError loading content\n\n![](https://cdn.drmartypets.com/chat/dmp-live-chat-icon-new.png)\n",
  "markdownStats": {
    "images": 0,
    "links": 0,
    "tables": 0,
    "codeBlocks": 0,
    "headings": 0
  },
  "tokens": {
    "htmlTokens": 1120292,
    "markdownTokens": 11,
    "reduction": 1120281,
    "reductionPercent": 100
  },
  "score": {
    "score": 39,
    "grade": "F",
    "dimensions": {
      "semanticHtml": {
        "score": 23,
        "weight": 20,
        "grade": "F",
        "checks": {
          "uses_article_or_main": {
            "score": 0,
            "weight": 20,
            "details": "Missing <article> and <main> elements"
          },
          "proper_heading_hierarchy": {
            "score": 0,
            "weight": 25,
            "details": "No headings found"
          },
          "semantic_elements": {
            "score": 15,
            "weight": 20,
            "details": "2 semantic elements, 43 divs (ratio: 4%)"
          },
          "meaningful_alt_texts": {
            "score": 0,
            "weight": 15,
            "details": "0/5 images with meaningful alt text"
          },
          "low_div_nesting": {
            "score": 100,
            "weight": 20,
            "details": "Avg div depth: 5.0, max: 14"
          }
        }
      },
      "contentEfficiency": {
        "score": 40,
        "weight": 25,
        "grade": "D",
        "checks": {
          "token_reduction_ratio": {
            "score": 100,
            "weight": 40,
            "details": "100% token reduction (HTML→Markdown)"
          },
          "content_to_noise_ratio": {
            "score": 0,
            "weight": 30,
            "details": "Content ratio: 0.0% (53 content chars / 3649259 HTML bytes)"
          },
          "minimal_inline_styles": {
            "score": 0,
            "weight": 15,
            "details": "32/419 elements with inline styles (7.6%)"
          },
          "reasonable_page_weight": {
            "score": 0,
            "weight": 15,
            "details": "HTML size: 3564KB"
          }
        }
      },
      "aiDiscoverability": {
        "score": 15,
        "weight": 25,
        "grade": "F",
        "checks": {
          "has_llms_txt": {
            "score": 0,
            "weight": 20,
            "details": "No llms.txt found"
          },
          "has_robots_txt": {
            "score": 0,
            "weight": 10,
            "details": "No robots.txt found"
          },
          "robots_allows_ai_bots": {
            "score": 100,
            "weight": 15,
            "details": "No robots.txt — AI bots allowed by default"
          },
          "has_sitemap": {
            "score": 0,
            "weight": 10,
            "details": "No sitemap found"
          },
          "supports_markdown_negotiation": {
            "score": 0,
            "weight": 25,
            "details": "No Markdown for Agents support detected"
          },
          "has_content_signals": {
            "score": 0,
            "weight": 20,
            "details": "No Content-Signal found (robots.txt or HTTP headers)"
          }
        }
      },
      "structuredData": {
        "score": 100,
        "weight": 15,
        "grade": "A",
        "checks": {
          "has_schema_org": {
            "score": 100,
            "weight": 30,
            "details": "JSON-LD found: Organization"
          },
          "has_open_graph": {
            "score": 100,
            "weight": 25,
            "details": "All OG tags present"
          },
          "has_meta_description": {
            "score": 100,
            "weight": 20,
            "details": "Meta description: 144 chars"
          },
          "has_canonical_url": {
            "score": 100,
            "weight": 15,
            "details": "Canonical URL present"
          },
          "has_lang_attribute": {
            "score": 100,
            "weight": 10,
            "details": "lang=\"en\""
          }
        }
      },
      "accessibility": {
        "score": 38,
        "weight": 15,
        "grade": "F",
        "checks": {
          "content_without_js": {
            "score": 20,
            "weight": 40,
            "details": "Content requires JavaScript rendering"
          },
          "reasonable_page_size": {
            "score": 0,
            "weight": 30,
            "details": "Page size: 3564KB"
          },
          "fast_content_position": {
            "score": 100,
            "weight": 30,
            "details": "Main content starts at 2% of HTML"
          }
        }
      }
    }
  },
  "recommendations": [
    {
      "id": "add_llms_txt",
      "priority": "critical",
      "category": "aiDiscoverability",
      "titleKey": "rec.add_llms_txt.title",
      "descriptionKey": "rec.add_llms_txt.description",
      "howToKey": "rec.add_llms_txt.howto",
      "effort": "quick-win",
      "estimatedImpact": 10,
      "checkScore": 0,
      "checkDetails": "No llms.txt found"
    },
    {
      "id": "add_article_main",
      "priority": "critical",
      "category": "semanticHtml",
      "titleKey": "rec.add_article_main.title",
      "descriptionKey": "rec.add_article_main.description",
      "howToKey": "rec.add_article_main.howto",
      "effort": "quick-win",
      "estimatedImpact": 8,
      "checkScore": 0,
      "checkDetails": "Missing <article> and <main> elements"
    },
    {
      "id": "fix_heading_hierarchy",
      "priority": "critical",
      "category": "semanticHtml",
      "titleKey": "rec.fix_heading_hierarchy.title",
      "descriptionKey": "rec.fix_heading_hierarchy.description",
      "howToKey": "rec.fix_heading_hierarchy.howto",
      "effort": "quick-win",
      "estimatedImpact": 6,
      "checkScore": 0,
      "checkDetails": "No headings found"
    },
    {
      "id": "improve_content_ratio",
      "priority": "critical",
      "category": "contentEfficiency",
      "titleKey": "rec.improve_content_ratio.title",
      "descriptionKey": "rec.improve_content_ratio.description",
      "howToKey": "rec.improve_content_ratio.howto",
      "effort": "moderate",
      "estimatedImpact": 6,
      "checkScore": 0,
      "checkDetails": "Content ratio: 0.0% (53 content chars / 3649259 HTML bytes)"
    },
    {
      "id": "add_markdown_negotiation",
      "priority": "critical",
      "category": "aiDiscoverability",
      "titleKey": "rec.add_markdown_negotiation.title",
      "descriptionKey": "rec.add_markdown_negotiation.description",
      "howToKey": "rec.add_markdown_negotiation.howto",
      "effort": "significant",
      "estimatedImpact": 6,
      "checkScore": 0,
      "checkDetails": "No Markdown for Agents support detected"
    },
    {
      "id": "add_robots_txt",
      "priority": "critical",
      "category": "aiDiscoverability",
      "titleKey": "rec.add_robots_txt.title",
      "descriptionKey": "rec.add_robots_txt.description",
      "howToKey": "rec.add_robots_txt.howto",
      "effort": "quick-win",
      "estimatedImpact": 5,
      "checkScore": 0,
      "checkDetails": "No robots.txt found"
    },
    {
      "id": "add_sitemap",
      "priority": "critical",
      "category": "aiDiscoverability",
      "titleKey": "rec.add_sitemap.title",
      "descriptionKey": "rec.add_sitemap.description",
      "howToKey": "rec.add_sitemap.howto",
      "effort": "quick-win",
      "estimatedImpact": 5,
      "checkScore": 0,
      "checkDetails": "No sitemap found"
    },
    {
      "id": "add_content_signals",
      "priority": "critical",
      "category": "aiDiscoverability",
      "titleKey": "rec.add_content_signals.title",
      "descriptionKey": "rec.add_content_signals.description",
      "howToKey": "rec.add_content_signals.howto",
      "effort": "quick-win",
      "estimatedImpact": 5,
      "checkScore": 0,
      "checkDetails": "No Content-Signal found (robots.txt or HTTP headers)"
    },
    {
      "id": "improve_alt_texts",
      "priority": "critical",
      "category": "semanticHtml",
      "titleKey": "rec.improve_alt_texts.title",
      "descriptionKey": "rec.improve_alt_texts.description",
      "howToKey": "rec.improve_alt_texts.howto",
      "effort": "moderate",
      "estimatedImpact": 4,
      "checkScore": 0,
      "checkDetails": "0/5 images with meaningful alt text"
    },
    {
      "id": "reduce_page_weight",
      "priority": "critical",
      "category": "contentEfficiency",
      "titleKey": "rec.reduce_page_weight.title",
      "descriptionKey": "rec.reduce_page_weight.description",
      "howToKey": "rec.reduce_page_weight.howto",
      "effort": "significant",
      "estimatedImpact": 4,
      "checkScore": 0,
      "checkDetails": "HTML size: 3564KB"
    }
  ],
  "llmsTxtPreview": "# Dr. Marty\n\n> Dr. Marty Pets offers premium freeze-dried dog food and cat food packed with real proteins, fruits, and vegetables for a healthier, happier pet.\n\n## Main\n- [Dr. Marty Pets | Premium Freeze Dried Raw Dog & Cat Food](https://drmartypets.com/): Dr. Marty Pets offers premium freeze-dried dog food and cat food packed with real proteins, fruits, and vegetables for…\n\n",
  "llmsTxtExisting": null,
  "emergingProtocols": {
    "oauthDiscovery": {
      "exists": false,
      "url": "https://drmartypets.com/.well-known/oauth-authorization-server"
    },
    "mcpServerCard": {
      "exists": false,
      "url": "https://drmartypets.com/.well-known/mcp.json"
    },
    "a2aAgentCard": {
      "exists": false,
      "url": "https://drmartypets.com/.well-known/agent.json"
    },
    "count": 0
  },
  "snippets": [
    {
      "id": "add_llms_txt",
      "title": "Create /llms.txt",
      "description": "Upload this file to your web root. It tells AI agents what your site is about and which pages matter.",
      "language": "markdown",
      "code": "# Dr. Marty\n\n> Dr. Marty Pets offers premium freeze-dried dog food and cat food packed with real proteins, fruits, and vegetables for a healthier, happier pet.\n\n## Main\n- [Dr. Marty Pets | Premium Freeze Dried Raw Dog & Cat Food](https://drmartypets.com/): Dr. Marty Pets offers premium freeze-dried dog food and cat food packed with real proteins, fruits, and vegetables for…\n\n",
      "filename": "/llms.txt"
    },
    {
      "id": "fix_heading_hierarchy",
      "title": "Fix heading hierarchy",
      "description": "Your page has no <h1>. Every page needs exactly one <h1> as the main heading. Add it inside your <main> or <article>.",
      "language": "html",
      "code": "<h1>Dr. Marty Pets | Premium Freeze Dried Raw Dog & Cat Food</h1>",
      "filename": "<main> or <article>"
    },
    {
      "id": "add_robots_txt",
      "title": "Create /robots.txt",
      "description": "A robots.txt file tells crawlers (including AI bots) what they can and cannot access.",
      "language": "txt",
      "code": "User-agent: *\nAllow: /\n\nSitemap: https://drmartypets.com/sitemap.xml",
      "filename": "/robots.txt"
    },
    {
      "id": "add_sitemap",
      "title": "Create /sitemap.xml",
      "description": "A sitemap helps AI agents discover all your pages. Most CMS platforms generate one automatically.",
      "language": "xml",
      "code": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n  <url>\n    <loc>https://drmartypets.com/</loc>\n    <lastmod>2026-07-08</lastmod>\n  </url>\n</urlset>",
      "filename": "/sitemap.xml"
    },
    {
      "id": "add_article_main",
      "title": "Wrap content in <main> and <article>",
      "description": "Semantic HTML landmarks help AI agents identify the main content of your page.",
      "language": "html",
      "code": "<main>\n  <article>\n    <h1>Your Page Title</h1>\n    <p>Your content here...</p>\n  </article>\n</main>",
      "filename": "<body>"
    },
    {
      "id": "add_content_signals",
      "title": "Add Content-Signal directives",
      "description": "Content-Signal tells AI agents how they may use your content. The canonical location is robots.txt, but you can also expose it as an HTTP header from any stack.",
      "language": "txt",
      "code": "User-agent: *\nContent-Signal: search=yes, ai-input=yes, ai-train=no",
      "filename": "/robots.txt",
      "stacks": [
        {
          "id": "robots",
          "label": "robots.txt",
          "language": "txt",
          "filename": "/robots.txt",
          "code": "User-agent: *\nContent-Signal: search=yes, ai-input=yes, ai-train=no"
        },
        {
          "id": "nginx",
          "label": "Nginx",
          "language": "nginx",
          "filename": "server block",
          "code": "# Inside your server { } block:\nadd_header Content-Signal \"search=yes, ai-input=yes, ai-train=no\" always;"
        },
        {
          "id": "apache",
          "label": "Apache",
          "language": "apache",
          "filename": ".htaccess",
          "code": "# In .htaccess (or VirtualHost):\nHeader set Content-Signal \"search=yes, ai-input=yes, ai-train=no\""
        },
        {
          "id": "wordpress",
          "label": "WordPress",
          "language": "php",
          "filename": "functions.php",
          "code": "<?php\n// In your theme's functions.php or a small mu-plugin\nadd_action('send_headers', function () {\n    header('Content-Signal: search=yes, ai-input=yes, ai-train=no');\n});\n\n// Optional: also append the directive to the dynamic robots.txt\nadd_filter('robots_txt', function ($output) {\n    return $output . \"\\nContent-Signal: search=yes, ai-input=yes, ai-train=no\\n\";\n}, 10, 1);"
        },
        {
          "id": "nextjs",
          "label": "Next.js",
          "language": "typescript",
          "filename": "middleware.ts",
          "code": "// middleware.ts (Next.js 13+ App Router or Pages Router)\nimport { NextResponse } from 'next/server';\nexport function middleware() {\n  const res = NextResponse.next();\n  res.headers.set(\n    'Content-Signal',\n    'search=yes, ai-input=yes, ai-train=no'\n  );\n  return res;\n}\nexport const config = { matcher: '/:path*' };"
        },
        {
          "id": "cloudflare",
          "label": "Cloudflare Workers",
          "language": "javascript",
          "filename": "worker.js",
          "code": "// Cloudflare Worker that proxies your origin and adds the header\nexport default {\n  async fetch(request, env, ctx) {\n    const res = await fetch(request);\n    const newRes = new Response(res.body, res);\n    newRes.headers.set(\n      'Content-Signal',\n      'search=yes, ai-input=yes, ai-train=no'\n    );\n    return newRes;\n  },\n};"
        },
        {
          "id": "express",
          "label": "Express / Fastify",
          "language": "javascript",
          "filename": "server.js",
          "code": "// Express\napp.use((req, res, next) => {\n  res.setHeader('Content-Signal', 'search=yes, ai-input=yes, ai-train=no');\n  next();\n});\n\n// Fastify\nfastify.addHook('onSend', (request, reply, payload, done) => {\n  reply.header('Content-Signal', 'search=yes, ai-input=yes, ai-train=no');\n  done();\n});"
        }
      ]
    },
    {
      "id": "add_markdown_negotiation",
      "title": "Support Markdown for Agents",
      "description": "Let AI agents request a clean Markdown version of any page via content negotiation, .md alternate URLs, link tags or Link headers.",
      "language": "html",
      "code": "<!-- Mechanism 3: link tag advertising the .md alternate -->\n<link rel=\"alternate\" type=\"text/markdown\" href=\"/page.md\">",
      "filename": "<head>",
      "stacks": [
        {
          "id": "html",
          "label": "HTML <head>",
          "language": "html",
          "filename": "<head>",
          "code": "<!-- Mechanism 3: link tag advertising the .md alternate -->\n<link rel=\"alternate\" type=\"text/markdown\" href=\"/page.md\">"
        },
        {
          "id": "express",
          "label": "Express",
          "language": "javascript",
          "filename": "server.js",
          "code": "// Mechanisms 1 + 4: content negotiation + Link header\napp.get('/page', (req, res) => {\n  res.setHeader('Vary', 'Accept');\n  res.setHeader('Link', '</page.md>; rel=\"alternate\"; type=\"text/markdown\"');\n  if ((req.headers.accept || '').includes('text/markdown')) {\n    res.type('text/markdown; charset=utf-8');\n    return res.send(renderMarkdown('page'));\n  }\n  res.render('page');\n});"
        },
        {
          "id": "fastify",
          "label": "Fastify",
          "language": "javascript",
          "filename": "server.js",
          "code": "// Mechanisms 1 + 4: content negotiation + Link header\nfastify.get('/page', async (req, reply) => {\n  reply.header('Vary', 'Accept');\n  reply.header('Link', '</page.md>; rel=\"alternate\"; type=\"text/markdown\"');\n  if ((req.headers.accept || '').includes('text/markdown')) {\n    return reply.type('text/markdown; charset=utf-8').send(renderMarkdown('page'));\n  }\n  return reply.view('/page.ejs');\n});"
        },
        {
          "id": "nextjs",
          "label": "Next.js",
          "language": "typescript",
          "filename": "app/page/route.ts",
          "code": "// Next.js App Router — Route Handler returning Markdown\nimport { NextRequest } from 'next/server';\nimport { renderMarkdown } from '@/lib/md';\nexport async function GET(req: NextRequest) {\n  const accept = req.headers.get('accept') || '';\n  if (accept.includes('text/markdown')) {\n    return new Response(await renderMarkdown('page'), {\n      headers: {\n        'Content-Type': 'text/markdown; charset=utf-8',\n        'Vary': 'Accept',\n      },\n    });\n  }\n  // Fall through to the page component\n  return new Response(null, { status: 404 });\n}"
        },
        {
          "id": "wordpress",
          "label": "WordPress",
          "language": "php",
          "filename": "functions.php",
          "code": "<?php\n// Mechanism 1: respond to Accept: text/markdown on the same URL\nadd_action('template_redirect', function () {\n    if (!is_singular()) return;\n    $accept = $_SERVER['HTTP_ACCEPT'] ?? '';\n    if (strpos($accept, 'text/markdown') === false) return;\n    header('Content-Type: text/markdown; charset=utf-8');\n    header('Vary: Accept');\n    $post = get_queried_object();\n    echo \"# \" . get_the_title($post) . \"\\n\\n\";\n    echo wp_strip_all_tags(apply_filters('the_content', $post->post_content));\n    exit;\n});"
        },
        {
          "id": "static",
          "label": "Hugo / Jekyll / Astro",
          "language": "txt",
          "filename": "static/page.md",
          "code": "# Mechanism 2: serve .md alongside .html\n# Hugo: place page.md in /static/ — built unchanged\n# Jekyll: drop page.md in /assets/ — copied as-is\n# Astro: src/pages/page.md.ts that exports a GET returning markdown\n\n# Then advertise with mechanism 3 in <head>:\n#   <link rel=\"alternate\" type=\"text/markdown\" href=\"/page.md\">"
        }
      ]
    }
  ]
}

使用我们的API以编程方式获取此内容(即将推出)

此JSON供内部使用 — 与Markdown和llms.txt文件不同,它不适合上传到您的网站。将其保存为基准值以跟踪评分变化,与开发团队共享,或集成到CI/CD流水线中。

想听听第二种意见?

Cloudflare 也提供免费扫描工具,但它问的是另一个问题。他们评分的是你的站点为智能体调用而发布的东西:MCP server card、Agent Skills、API 目录、DNS 记录。我们评分的是智能体能否访问、读取并理解你的内容。一个站点可能在其中一项表现很好、另一项很差,所以看到两个不同的分数很正常:它们是两个不同问题的答案,都值得了解。

用 Cloudflare 扫描 drmartypets.com

嵌入您的徽章

将此徽章添加到您的网站。当您的 AI 就绪评分发生变化时,它会自动更新。

AgentReady.md score for drmartypets.com
Script 推荐
<script src="https://agentready.md/badge.js" data-id="5d9e9a11-d3bc-4ab8-8a72-f256b92067b2" data-domain="drmartypets.com"></script>
Markdown
[![AgentReady.md score for drmartypets.com](https://agentready.md/badge/drmartypets.com.svg)](https://agentready.md/zh/r/5d9e9a11-d3bc-4ab8-8a72-f256b92067b2)

即将推出:全域分析

爬取您的整个域名,生成llms.txt,并随时间监控您的AI就绪度评分。加入等候名单以获取通知。

您已加入名单!服务上线时我们会通知您。