cometchat-react-native-migration

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

A migration guide for moving CometChat's React Native chat interface from version 4 to version 5. It maps removed components to the newer parts and explains the changed theming approach.

In plain words
What is it for?
Use it to update old conversation, message, details, and theme code for the version 5 interface. React Native is a framework for building mobile apps with JavaScript.
Why use it?
It shows why a simple package upgrade may break a chat screen. It helps identify removed components and the larger rewrites needed to assemble their replacements.

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 update old conversation, message, details, and theme code for the version 5 interface. 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-migration
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-migration
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-migration

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cometchat/cometchat-skills/cometchat-react-native-migration"><img src="https://agentmods.dev/badge/skills/cometchat/cometchat-skills/cometchat-react-native-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,363 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.00100 $0.01363
Opus 5.5 $0.00040 $0.00545
Sonnet 5.5 $0.00020 $0.00273
Haiku 4.5 $0.00010 $0.00136

Measured 2mo ago against content hash db1bd54e274d, 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-migration 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.

skills/cometchat-react-native-migration/SKILL.md · 104 lines

How it starts

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

Ground truth: the public-export diff between kit v4 and @cometchat/[email protected], verified against catalogs/rn-v5.json (216 symbols) — every removal below is confirmed absent, not assumed. Docs: /ui-kit/react-native/upgrading-from-v4 · property-changes.

Companion skills (read first)

  • cometchat-react-native-core — the v5 install, provider chain and ordering you are migrating to.

Use this skill when

  • "upgrade our chat from v4 to v5" · "CometChatConversationsWithMessages is gone" · "CometChatDetails not found"

Prerequisites & install

v5 changes the peer set as well as the API — reinstall from core's list rather than bumping one package.

What actually changed: composites became parts

v4 shipped end-to-end components. One tag gave you a list, a message view, details and threads. v5 removes them so each piece is customizable — which is better, and is also a rewrite of your chat screen, not a version bump. Budget accordingly.

16 components removed — each verified absent from the v5 catalog

Composites → stitch the parts yourself

v4 v5
CometChatConversationsWithMessages CometChatConversations + a message screen
CometChatUsersWithMessages CometChatUsers + a message screen
CometChatGroupsWithMessages CometChatGroups + a message screen
CometChatMessages CometChatMessageHeader + CometChatMessageList + CometChatMessageComposer
CometChatThreadedMessages CometChatThreadHeader on its own screen

The message screen is three components in a flex: 1 container — see core. Navigation between list and pane is placement.

Detail & management screens → no replacement component

CometChatDetails · CometChatContacts · CometChatAddMembers · CometChatBannedMembers · CometChatTransferOwnership · CometChatUserMemberWrapper

⚠️ This is the migration's real cost. v5 ships nothing equivalent. You build these screens on the SDK:

Screen SDK
user / group details CometChat.getUser · getGroup · updateGroup
add members addMembersToGroup
banned members BannedMembersRequestBuilder · unbanGroupMember
transfer ownership transferGroupOwnership

CometChatGroupMembers lists active members only. If your v4 app could ban, it could also show and unban — keep that pair, or you ship a one-way door.

Do not invent a layout: the official sample app has real implementations — github.com/cometchat/cometchat-uikit-react-native/tree/v5/examples/SampleApp. Those are sample-app directory paths, never imports.

Read the full file on GitHub · 104 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 · 104 lines · 100 tokens per session scan A db1bd54e274d

Subscribe to this mod's changes

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

Related

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

cometchat-react-native-migration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cometchat-react-native-migrationcometchat/cometchat-skillsSkill1732d agoMITA100Claude 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