← 返回 Skills 市场
tuyangtusenpo

IndexNow Setup

作者 hejinhui · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
84
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install indexnow-setup
功能描述
Set up IndexNow for any website to enable real-time URL submission to Bing, Yandex, Seznam, and other search engines. Use when the user needs to (1) configur...
使用说明 (SKILL.md)

IndexNow Setup

Overview

IndexNow is a protocol that lets websites notify search engines about new, updated, or deleted URLs in real time. Instead of waiting for crawlers, you push URLs directly to api.indexnow.org, and participating search engines (Bing, Yandex, Seznam, Naver) pick them up.

Workflow

Step 1: Generate and place the key file

Generate a random 32-character hex key:

node -e "console.log(require('crypto').randomBytes(16).toString('hex'))"

Place a .txt file named \x3Ckey>.txt containing only the key string into the site's public root:

  • Next.js App Router -- public/\x3Ckey>.txt
  • Next.js Pages Router -- public/\x3Ckey>.txt
  • Plain static site -- root directory (e.g., dist/ or public/)
  • Vite / CRA -- public/\x3Ckey>.txt
  • Nuxt -- public/\x3Ckey>.txt

After deploy, the file must be accessible at https://\x3Cdomain>/\x3Ckey>.txt with a 200 response containing only the key string.

Step 2: Create the submission script

Copy scripts/submit-indexnow.mjs from this skill into the project (e.g., scripts/submit-indexnow.mjs).

If the project already has package.json, add an npm script:

"indexnow": "node scripts/submit-indexnow.mjs"

Or add a site_url and key pair inline:

"indexnow": "node scripts/submit-indexnow.mjs https://example.com abcd1234..."

Step 3: Ensure a sitemap exists

The script reads URLs from /sitemap.xml. Ensure the site generates a valid sitemap at that path. For Next.js App Router, this is typically app/sitemap.ts.

Step 4: Submit URLs

Run after every deploy or content update:

npm run indexnow

The script:

  1. Fetches sitemap.xml from the site
  2. Extracts all \x3Cloc> URLs
  3. POSTs them to https://api.indexnow.org/IndexNow

For non-Node projects, invoke the script directly:

node scripts/submit-indexnow.mjs https://example.com \x3Ckey>

Step 5: Verify

Use Bing Webmaster Tools to confirm URLs are being received. Check the URL inspection tool for submission history.

Environment Variables

The script accepts arguments or environment variables:

Priority Source
1st CLI args: node submit-indexnow.mjs \x3Curl> \x3Ckey>
2nd SITE_URL + INDEXNOW_KEY env vars

HTTP Response Codes

Status Meaning
200 URLs submitted successfully
400 Invalid request format
403 Key not found or invalid
422 URLs don't belong to the host
429 Rate limited (spam protection)
安全使用建议
This appears safe for its stated purpose. Before using it, confirm the site URL and key are correct, ensure the key file is intentionally public, and review the sitemap so you do not submit private or unintended URLs to search engines.
功能分析
Type: OpenClaw Skill Name: indexnow-setup Version: 1.0.0 The skill provides a legitimate implementation of the IndexNow protocol for SEO purposes. It includes instructions and a script (scripts/submit-indexnow.mjs) to generate a verification key, parse a website's sitemap, and submit URLs to the official api.indexnow.org endpoint. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
能力标签
crypto
能力评估
Purpose & Capability
The external URL submission behavior is coherent with the stated IndexNow setup purpose and is clearly described in SKILL.md.
Instruction Scope
Instructions are user-directed setup and run steps; there is no evidence of hidden autonomous execution or goal override.
Install Mechanism
There is no install spec or dependency install; the included script is small, readable, and matches the documented workflow.
Credentials
The script optionally reads SITE_URL and INDEXNOW_KEY from environment variables, which is documented in SKILL.md and proportionate for this integration.
Persistence & Privilege
The only persistent artifact described is the public IndexNow key file on the user’s website, which is required by the protocol; no background process or privilege escalation is shown.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install indexnow-setup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /indexnow-setup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: key generation, submission script, multi-framework support
元数据
Slug indexnow-setup
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

IndexNow Setup 是什么?

Set up IndexNow for any website to enable real-time URL submission to Bing, Yandex, Seznam, and other search engines. Use when the user needs to (1) configur... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 84 次。

如何安装 IndexNow Setup?

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

IndexNow Setup 是免费的吗?

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

IndexNow Setup 支持哪些平台?

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

谁开发了 IndexNow Setup?

由 hejinhui(@tuyangtusenpo)开发并维护,当前版本 v1.0.0。

💬 留言讨论