ping-indexnow

A command for sending website URLs to IndexNow, a service that tells participating search engines such as Bing and Yandex that pages have changed.

In plain words
What is it for?
Use it to submit one or more changed URLs, notify search engines after publishing a blog post, or submit the whole site from its sitemap.
Why use it?
It can request a fresh crawl soon after publishing or updating pages instead of waiting for search engines to find the changes themselves.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/childrentime/reactuse/ping-indexnow
Any agent
npx skills add childrentime/reactuse --skill ping-indexnow
Clone the repo
git clone --depth 1 https://github.com/childrentime/reactuse

Made for: Claude Code, Codex.

Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,048 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00094 $0.01048
Opus 5 $0.00047 $0.00524
Sonnet 5 $0.00019 $0.00210
Haiku 4.5 $0.00009 $0.00105

Measured 3d ago against content hash d76509387c21, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ping-indexnow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/ping-indexnow/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ping-indexnow — 主动推送 URL 到 IndexNow

reactuse.com 已在根目录托管 IndexNow key 文件 fef79adedf094ebea713a5bc6584bc56.txt。把任何 URL 通过 IndexNow API POST 一次,就能让 Bing/Copilot/Yandex/Naver 在数分钟内重新抓取——不用等下一轮自动 crawl。

触发场景

  1. 用户提到 "ping indexnow / 通知索引 / 提交到必应 / push to indexnow"
  2. 刚写完并 commit 了一篇博客(场景 = 通知收录)
  3. 一次性"全站推送"——使用 --all 读取 dist/sitemap-0.xml

工作流程

A. 单/多 URL 模式(增量)

适用:刚发布 1–N 篇文章后立即推送。

步骤 1:确定要 ping 的 URL 列表

优先来源(按优先级):

  1. 用户在消息里直接给的 URL
  2. 最近一次 git commit 新增的 markdown 文件 → 推算线上 URL
  3. 用户指定的 slug 列表

如果是从 git diff 推算 URL,规则:

  • packages/website-astro/src/content/blog/2026-XX-YY-{slug}.md(x)https://reactuse.com/blog/{slug}/(slug 取 frontmatter 里的 slug 字段;没有就用文件名去掉日期前缀)
  • packages/website-astro/src/content/blog-zh-hans/...https://reactuse.com/zh-Hans/blog/{slug}/
  • packages/website-astro/src/content/blog-zh-hant/...https://reactuse.com/zh-Hant/blog/{slug}/
  • packages/website-astro/src/content/docs/{category}/{name}.mdxhttps://reactuse.com/{category}/{name.lower()}/URL 全小写;直接取 scripts/hook-registry.jsonurl 字段最稳。camelCase 会被 edge function 301 走,白费一次配额)

读 frontmatter 确认 slug 字段比从文件名推断更可靠。

步骤 2:执行 ping

node scripts/pingIndexNow.mjs <url1> <url2> <url3>

预期输出:

POST https://api.indexnow.org/IndexNow (3 urls) -> 200 OK

非 2xx 响应需打印响应体,常见原因:

B. 全量模式

适用:首次接入 IndexNow,或大改 sitemap 后。

前置:必须先 build 出最新 sitemap。

pnpm --filter website-astro run build
node scripts/pingIndexNow.mjs --all

会读 packages/website-astro/dist/sitemap-0.xml 里所有 <loc>,最多 10000 URL/请求。当前站点约 440 URL,单次请求即可。

输出格式

执行完报告:

IndexNow ping 完成

URLs: <数量>
样本: <第 1–3 个 URL>
响应: <HTTP 状态>

如果失败,列出原因 + 建议下一步(验证 key 文件 / 等待重试 / 检查 URL 是否已 deploy)。

注意事项

  • IndexNow 只是"通知",不是"立即收录"。Bing 通常 24 小时内重抓。
  • 不要对没变动的 URL 重复 ping,会被降权。
  • 新发布的 URL 必须先在线(Netlify deploy 完成)才有效——刚 push 完要等 1–2 分钟再 ping。
  • key 是公开的(必须可在 https://reactuse.com/.txt 访问),不算秘密;要轮换就生成新 key 文件、更新 scripts/pingIndexNow.mjs 默认值。

Read the full file on GitHub · 87 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 87 lines · 94 tokens per session scan A d76509387c21

Subscribe to this mod's changes

ping-indexnow is a skill published in the GitHub repository childrentime/reactuse (1,048 stars, last pushed 12d ago), licensed Unlicense. It adds 94 tokens to every session and 1,048 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

seo-backlinks

Backlink profile analysis: referring domains, anchor text distribution, toxic link detection, competitor gap analysis. Works with free APIs (Moz, Bing Webmaster, Common Crawl) and DataForSEO extension. Use when user says backlinks, link profile, referring domains, anchor text, toxic links, link gap, link building…

AgriciDaniel/claude-seo · 75 tokens

seo-maps

Maps intelligence for local SEO: geo-grid rank tracking, GBP profile auditing via API, review intelligence across Google/Tripadvisor/Trustpilot, cross-platform NAP verification, competitor radius mapping, and LocalBusiness schema generation. Three tiers: free (Overpass + Geoapify), DataForSEO, and DataForSEO + Google.…

AgriciDaniel/claude-seo · 104 tokens

seo-audit

Full website SEO audit with parallel subagent delegation. Crawls up to 500 pages, detects business type, delegates to up to 15 specialists (8 always + 7 conditional), generates health score. Use when user says audit, full SEO check, analyze my site, or website health check.

AgriciDaniel/claude-seo · 64 tokens

seo-schema

Detect, validate, and generate Schema.org structured data. JSON-LD format preferred. Use when user says "schema", "structured data", "rich results", "JSON-LD", or "markup".

AgriciDaniel/claude-seo · 44 tokens

seo-sitemap

Analyze existing XML sitemaps or generate new ones with industry templates. Validates format, URLs, and structure. Use when user says "sitemap", "generate sitemap", "sitemap issues", or "XML sitemap".

AgriciDaniel/claude-seo · 49 tokens

verify-local-mcp

Verify the OpenSEO MCP server end-to-end on a local dev server — protocol-level correctness against real DataForSEO, then a headless-agent consumer probe that tests tool ergonomics (descriptions, schemas, output size, errors, async flows) without the maintainer manually driving an MCP client. Use after adding or…

every-app/open-seo · 89 tokens