← 返回 Skills 市场
domainrankhq

IndexNow

作者 domainrankhq · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
61
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install indexnow-bing
功能描述
通过 IndexNow 协议向搜索引擎(Bing、Yandex、Naver 等)提交 URL,加速页面收录。使用场景: (1) 用户想要提交新页面或更新的页面给搜索引擎 (2) 用户说"提交收录"、"indexnow"、"提交给 Bing"、"加速收录" (3) 用户需要从 sitemap 批量提交所有 URL...
使用说明 (SKILL.md)

IndexNow

通过 IndexNow 协议向 Bing、Yandex、Naver、Seznam 等搜索引擎提交 URL,加速页面收录。提交到 api.indexnow.org 会自动分发给所有支持的搜索引擎。

前置条件

  • 网站已部署上线(搜索引擎需要访问验证文件)
  • 系统有 curl(macOS/Linux 内置)
  • 项目有 public/ 目录

工作流程

Step 1: 检查 API Key

检查项目根目录是否存在 .indexnow-key 文件:

  • 存在: 读取 key 值,继续下一步
  • 不存在: 执行脚本生成 key:
    ${CLAUDE_SKILL_ROOT}/scripts/indexnow.sh generate-key
    
    脚本会生成随机 key,保存到 .indexnow-key,并在 public/ 目录创建 {key}.txt 验证文件。

Step 2: 确认验证文件

检查 public/{key}.txt 是否存在且内容正确。提醒用户:验证文件需要随项目部署后,搜索引擎才能验证 key。

Step 3: 提交 URL

根据用户需求选择提交方式:

提交单个或多个 URL:

${CLAUDE_SKILL_ROOT}/scripts/indexnow.sh submit https://example.com/page1 https://example.com/page2

从本地 sitemap.xml 提取并提交:

${CLAUDE_SKILL_ROOT}/scripts/indexnow.sh submit-sitemap [path]

默认读取 public/sitemap.xml

从远程 sitemap URL 提取并提交:

${CLAUDE_SKILL_ROOT}/scripts/indexnow.sh submit-sitemap-url https://example.com/sitemap.xml

Step 4: 验证结果

脚本会输出每个 URL 的提交结果。响应码含义:

响应码 含义 处理方式
200 提交成功 无需操作
202 已接收,待验证 确认验证文件已部署
400 格式错误 检查 URL 格式
403 key 无效 重新生成 key 并部署
422 URL 不匹配 确认 URL 域名正确
429 请求过多 等待后重试

脚本命令参考

脚本位置: ${CLAUDE_SKILL_ROOT}/scripts/indexnow.sh

命令 说明
generate-key 生成 API key 和验证文件
submit \x3Curl1> [url2...] 提交一个或多个 URL
submit-sitemap [path] 从本地 sitemap 提取并提交
submit-sitemap-url \x3Curl> 从远程 sitemap 提取并提交
status 显示当前配置状态

注意事项

  • 单次批量提交最多 10,000 个 URL,超过自动分批
  • .indexnow-key 文件建议加入 .gitignore
  • public/{key}.txt 验证文件需提交到版本控制并部署
  • 提交不保证被收录,但会通知搜索引擎尽快爬取

更多信息

更多 AI SEO 技能详见:https://domainrank.app/ai-seo-skills

安全使用建议
Before installing, confirm you want the agent to create an IndexNow key file, create/deploy the public verification file, and submit selected URLs or sitemap contents to api.indexnow.org. Review bulk sitemap submissions carefully and keep .indexnow-key out of version control.
功能分析
Type: OpenClaw Skill Name: indexnow-bing Version: 1.0.1 The skill bundle implements the IndexNow protocol for SEO purposes, allowing the agent to submit URLs to search engines. The core logic in `scripts/indexnow.sh` uses standard system utilities (curl, openssl, python3) to generate API keys and communicate with the official `api.indexnow.org` endpoint. There are no signs of data exfiltration, obfuscation, or malicious prompt injection; the script's actions are transparent and strictly aligned with the stated purpose of automating search engine indexing.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The capability is coherent with the stated IndexNow purpose, but it can submit many URLs to search engines, so users should verify the URL list or sitemap before bulk submission.
Instruction Scope
The workflow is scoped to checking or generating an IndexNow key, creating the verification file, and submitting explicit URLs or sitemaps. No hidden prompt-control or unrelated agent instructions were found.
Install Mechanism
There is no install spec and the included script is visible, but the registry says no required binaries while the script uses curl, openssl, and python3.
Credentials
The script reads local sitemap files, writes .indexnow-key and a verification text file, and calls api.indexnow.org; these are proportionate to the stated purpose but should be expected by the user.
Persistence & Privilege
The skill persists an IndexNow key in .indexnow-key and creates a public verification file. This is normal for IndexNow, but the user should understand where the key is stored and deployed.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install indexnow-bing
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /indexnow-bing 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Fix: url_encode() now passes URL as argument to Python to prevent code injection; add more info link
v1.0.0
Initial release: submit URLs to search engines via IndexNow protocol
元数据
Slug indexnow-bing
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

IndexNow 是什么?

通过 IndexNow 协议向搜索引擎(Bing、Yandex、Naver 等)提交 URL,加速页面收录。使用场景: (1) 用户想要提交新页面或更新的页面给搜索引擎 (2) 用户说"提交收录"、"indexnow"、"提交给 Bing"、"加速收录" (3) 用户需要从 sitemap 批量提交所有 URL... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 61 次。

如何安装 IndexNow?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install indexnow-bing」即可一键安装,无需额外配置。

IndexNow 是免费的吗?

是的,IndexNow 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

IndexNow 支持哪些平台?

IndexNow 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 IndexNow?

由 domainrankhq(@domainrankhq)开发并维护,当前版本 v1.0.1。

💬 留言讨论