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.
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.
curl -O https://raw.githubusercontent.com/childrentime/reactuse/main/.claude/skills/ping-indexnow/SKILL.mdgit clone --depth 1 https://github.com/childrentime/reactuseWrote 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.
[](https://agentmods.dev/skills/childrentime/reactuse/ping-indexnow)<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.
<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>- NVIDIA SkillSpector warn
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.
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.
| Model | Per session | Once 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 |
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.
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。
触发场景
- 用户提到 "ping indexnow / 通知索引 / 提交到必应 / push to indexnow"
- 刚写完并 commit 了一篇博客(场景 = 通知收录)
- 一次性"全站推送"——使用
--all读取dist/sitemap-0.xml
工作流程
A. 单/多 URL 模式(增量)
适用:刚发布 1–N 篇文章后立即推送。
步骤 1:确定要 ping 的 URL 列表
优先来源(按优先级):
- 用户在消息里直接给的 URL
- 最近一次 git commit 新增的 markdown 文件 → 推算线上 URL
- 用户指定的 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 响应需打印响应体,常见原因:
403:key 文件不可访问(检查 https://reactuse.com/fef79adedf094ebea713a5bc6584bc56.txt)422:URL 格式不合法或不在 host 范围内429:触发速率限制,等几分钟重试
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默认值。
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.
- 2mo ago First seen · 87 lines · 94 tokens per session scan A d76509387c21
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.
ping-indexnow compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ping-indexnowchildrentime/reactuse | Skill | 1.1k | 8d ago | Unlicense | A | 94 | Claude Code |
| nextjsericrisco/rsc-harness | Skill | 503 | 2d ago | MIT | A | 90 | Claude Code, Codex |
| juniors-best-practicesiberiacancode/agent-skills | Skill | 23 | 27d ago | MIT | A | 55 | Claude Code, Codex |
| react-hooks-best-practicessiberiacancode/agent-skills | Skill | 23 | 27d ago | MIT | A | 71 | Claude Code, Codex |
| landing-page-generatorhybridlabor-api/bdb-dev-optimized-agent-skills | Skill | 6 | 5d ago | Apache-2.0 | A | 50 | Claude Code, Codex |
| reactusesiberiacancode/agent-skills | Skill | 23 | 27d ago | MIT | A | 50 | Claude Code, Codex |
| testing-best-practicessiberiacancode/agent-skills | Skill | 23 | 27d ago | MIT | A | 47 | Claude Code, Codex |