cometchat-react-native-push

cometchat-react-native-push is a skill for Claude Code from cometchat/cometchat-skills. It costs 87 tokens per session (1,288 once invoked), scanned A, original, MIT.

A guide for delivering CometChat notifications to React Native apps through Android's FCM and iOS's APNs systems. FCM is Google's notification service, while APNs is Apple's service.

In plain words
What is it for?
Use it to register device tokens, configure Android and iOS notification providers, and investigate notifications that do not arrive. React Native is a framework for building mobile apps with JavaScript.
Why use it?
It clarifies that mobile push notifications need operating-system services and cannot be tested like browser notifications. It also highlights the platform files, dashboard settings, and real-device requirement involved.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cometchat-skills plugin — 98 skills, 1 MCP server shipped together

Good fit Use it to register device tokens, configure Android and iOS notification providers, and investigate notifications that do not arrive. React Native is a framework for building mobile apps with JavaScript.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cometchat/cometchat-skills/cometchat-react-native-push
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.

Any agent
npx skills add cometchat/cometchat-skills --skill cometchat-react-native-push
Clone the repo
git clone --depth 1 https://github.com/cometchat/cometchat-skills

Made for: Claude Code.

Or install cometchat-skills, the plugin that ships this one along with the rest of its 98 skills, 1 MCP server.

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 cometchat-react-native-push

README.md
[![agentmods](https://agentmods.dev/badge/skills/cometchat/cometchat-skills/cometchat-react-native-push/github.svg)](https://agentmods.dev/skills/cometchat/cometchat-skills/cometchat-react-native-push)
Your own site
<a href="https://agentmods.dev/skills/cometchat/cometchat-skills/cometchat-react-native-push"><img src="https://agentmods.dev/badge/skills/cometchat/cometchat-skills/cometchat-react-native-push/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 cometchat-react-native-push

Your own site · 80×15
<a href="https://agentmods.dev/skills/cometchat/cometchat-skills/cometchat-react-native-push"><img src="https://agentmods.dev/badge/skills/cometchat/cometchat-skills/cometchat-react-native-push.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,288 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.
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.00087 $0.01288
Opus 5.5 $0.00035 $0.00515
Sonnet 5.5 $0.00017 $0.00258
Haiku 4.5 $0.00009 $0.00129

Measured 2d ago against content hash f9b23fea95b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cometchat-react-native-push 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 2d 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.

skills/cometchat-react-native-push/SKILL.md · 89 lines

How it starts

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

Ground truth: @cometchat/chat-sdk-react-native@4 + catalog rn-sdk-v4.json + features.rn-v5.json → push-notifications. Docs: /notifications/react-native-push-notifications-android · ...-ios. This skill is docs-first — fetch the current setup steps; do not bake a Firebase tutorial.

Companion skills (read first)

  • cometchat-react-native-core — install, provider chain, init→login→render. Assumed, not repeated here.

Use this skill when

  • "add push notifications" · "notifications aren't arriving" · "VoIP call push" · "register the FCM token"

Prerequisites & install

Push is not web push. There is no service worker. React Native uses the OS transports:

Platform Transport Needs
Android FCM google-services.json in android/app/
iOS FCM (via Firebase → APNs) GoogleService-Info.plist, an APNs key uploaded to the dashboard, Push capability in Xcode

Enable Push Notifications in the CometChat dashboard first and add the provider for the right platform. With @react-native-firebase/messaging, both Android and iOS use the FCM provider — Firebase relays to APNs on iOS and hands your app an FCM token, so you register it with CometChat as an FCM platform (see below). A raw-APNs (APNS_REACT_NATIVE_*) provider is only for a hand-rolled PushKit / native-APNs setup that skips Firebase.

The wiring — three steps, in this order

  1. init() → login() must have completed. A token registered before login belongs to nobody.
  2. Get the device token from your messaging library (typically @react-native-firebase/messaging).
  3. Register it with CometChat:
CometChatNotifications.registerPushToken(token, CometChatNotifications.PushPlatforms.FCM_REACT_NATIVE_ANDROID, providerId)

Platform constants match the token you actually hold. Because the Firebase library above yields an FCM token on both platforms, use PushPlatforms.FCM_REACT_NATIVE_ANDROID on Android and PushPlatforms.FCM_REACT_NATIVE_IOS on iOS (verified in @cometchat/chat-sdk-react-native CometChat.d.ts). The APNS_REACT_NATIVE_DEVICE / APNS_REACT_NATIVE_VOIP constants are ONLY for a raw APNs device/VoIP token from a hand-rolled PushKit setup — do not use them with a Firebase FCM token. Fetch the exact argument order from the docs page for that platform. CometChatNotifications, registerPushToken, unregisterPushToken and PushPlatforms are all verified present in catalogs/rn-sdk-v4.json.

Read the full file on GitHub · 89 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. 2d ago Changed f9b23fea95b4
  2. 2mo ago First seen · 89 lines · 87 tokens per session scan A aee27ee19815

Subscribe to this mod's changes

cometchat-react-native-push is a skill published in the GitHub repository cometchat/cometchat-skills (173 stars, last pushed 2d ago), licensed MIT. It adds 87 tokens to every session and 1,288 once invoked, about $0.0003 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-09-12.

Related

cometchat-react-native-push compared with skills from other repositories

cometchat-react-native-push next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cometchat-react-native-pushcometchat/cometchat-skillsSkill1732d agoMITA87Claude Code
animate-expoemilkowalski/skillsSkill57ktodayMITA112Claude Code, Codex
reverse-engineering-android-malware-with-jadxadriannoes/awesome-agentic-aiSkill10013d agoMITA82Claude Code, Codex
flutter-codestyleGulajavaMinistudio/awesome-copilot-idSkill9419d agoMITA13Claude Code, Codex
ios-builderNagarjuna2997/ios-agent-skillSkill41todayMITA53Claude Code, Codex
expo-ui-jetpack-composetmolavi/mcp-agent-skills-hubSkill9yesterdayMITA13Claude Code, Codex
apple-hig-sf-symbolsaka-kika/akakika-skillsSkill1216d agoMITA48Claude Code, Codex