reactuse: Skill for Claude Code

.claude/skills/ping-indexnow/SKILL.md

ping-indexnow is a skill for Claude Code from childrentime/reactuse. It costs 94 tokens per session (1,048 once invoked), scanned A, original, Unlicense.

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 Code

Written for Claude Code: installed under .claude/.

This is childrentime/reactuse's own configuration. It tells Claude Code how to work on reactuse itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything reactuse configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/pingIndexNow.mjs <url1> <url2> <url3>.

About the project

ReactUse is a TypeScript library of reusable React Hooks for browser APIs, state, sensors, animations, and DOM interactions. React developers use it when building React applications that need these common behaviors. The catalogue skills and commands help coding agents discover or work with ReactUse hooks.

childrentime/reactuse · 1,068 stars · on GitHub · reactuse.com

Reuse

Borrowing it

Nothing to install: this file belongs to childrentime/reactuse. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/childrentime/reactuse/main/.claude/skills/ping-indexnow/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/childrentime/reactuse

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ping-indexnow

README.md
[![agentmods](https://agentmods.dev/badge/skills/childrentime/reactuse/ping-indexnow/github.svg)](https://agentmods.dev/skills/childrentime/reactuse/ping-indexnow)
Your own site
<a href="https://agentmods.dev/skills/childrentime/reactuse/ping-indexnow"><img src="https://agentmods.dev/badge/skills/childrentime/reactuse/ping-indexnow/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ping-indexnow

Your own site · 80×15
<a href="https://agentmods.dev/skills/childrentime/reactuse/ping-indexnow"><img src="https://agentmods.dev/badge/skills/childrentime/reactuse/ping-indexnow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 46
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.1 $0.00094 $0.01048
Opus 5.5 $0.00038 $0.00419
Sonnet 5.5 $0.00019 $0.00210
Haiku 4.5 $0.00009 $0.00105

Measured 2mo ago against content hash d76509387c21, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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}.mdx → https://reactuse.com/{category}/{name.lower()}/(URL 全小写;直接取 scripts/hook-registry.json 的 url 字段最稳。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. 2mo 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,068 stars, last pushed 8d ago), licensed Unlicense. It adds 94 tokens to every session and 1,048 once invoked, about $0.0004 per session on Opus 5.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

ping-indexnow compared with skills from other repositories

ping-indexnow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ping-indexnowchildrentime/reactuseSkill1.1k8d agoUnlicenseA94Claude Code
nextjsericrisco/rsc-harnessSkill5032d agoMITA90Claude Code, Codex
juniors-best-practicesiberiacancode/agent-skillsSkill2327d agoMITA55Claude Code, Codex
react-hooks-best-practicessiberiacancode/agent-skillsSkill2327d agoMITA71Claude Code, Codex
landing-page-generatorhybridlabor-api/bdb-dev-optimized-agent-skillsSkill65d agoApache-2.0A50Claude Code, Codex
reactusesiberiacancode/agent-skillsSkill2327d agoMITA50Claude Code, Codex
testing-best-practicessiberiacancode/agent-skillsSkill2327d agoMITA47Claude Code, Codex