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.
npx skills add cometchat/cometchat-skills --skill cometchat-react-native-troubleshootinggit clone --depth 1 https://github.com/cometchat/cometchat-skillsWrote 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/cometchat/cometchat-skills/cometchat-react-native-troubleshooting)<a href="https://agentmods.dev/skills/cometchat/cometchat-skills/cometchat-react-native-troubleshooting"><img src="https://agentmods.dev/badge/skills/cometchat/cometchat-skills/cometchat-react-native-troubleshooting/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/cometchat/cometchat-skills/cometchat-react-native-troubleshooting"><img src="https://agentmods.dev/badge/skills/cometchat/cometchat-skills/cometchat-react-native-troubleshooting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00092 | $0.02305 |
| Opus 5.5 | $0.00037 | $0.00922 |
| Sonnet 5.5 | $0.00018 | $0.00461 |
| Haiku 4.5 | $0.00009 | $0.00231 |
Grade A, and why
cometchat-react-native-troubleshooting 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 28d 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 — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ground truth:
@cometchat/chat-uikit-react-native@5+ catalogrn-v5.json. Docs:/ui-kit/react-native/troubleshooting.
Companion skills (read first)
cometchat-react-native-core— install, provider chain, init→login→render. Assumed, not repeated here.
Use this skill when
- anything is broken and the error does not say why — which on React Native is most of the time
Prerequisites & install
None.
Read this first: RN failures usually name the wrong thing
Three properties make React Native bugs hard to read, and all three appear below:
- native modules fail at MOUNT, not at build — so the app starts, then a screen explodes
- the error names a peer dependency, not CometChat —
gesture-handler,svg,video - an unknown prop is silently ignored — no error, nothing renders
So "it says nothing about CometChat" is not evidence the problem is elsewhere.
Symptom → root cause → fix
Blank chat screen, no error
| Cause | Fix |
|---|---|
rendering before login() resolved |
gate render on a loggedIn flag; init → login → render |
initFromSettings() failed |
you cannot catch it — CometChatUIKit.initFromSettings() swallows init errors (its rejection handler is a no-op), so await/.catch() see nothing. Instead assert on the NEXT step: await login(...) (which DOES reject) or check await CometChatUIKit.getLoggedInUser(); a bad appId/region surfaces there as an auth failure |
an ancestor is not flex: 1 |
every ancestor flex: 1; a scrolling column also needs minHeight: 0 |
The UI renders but nothing responds to touch
GestureHandlerRootView is missing, or is not outermost, or lacks flex: 1.
No error is thrown. On bare RN also confirm import 'react-native-gesture-handler' is the first
line of index.js — wrong ordering there often works in debug and crashes in release.
NativeModule … null / "cannot read property of null" on a chat screen
A native peer is missing or unlinked. Install the full peer list (core), then pod install (bare)
or a fresh development build (Expo). Metro reload does not pick up native changes — rebuild.
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.
- 28d ago Changed · +58 lines fcdedf968dda
- 1mo ago First seen · 117 lines · 92 tokens per session scan A 188e44cb6a0f
cometchat-react-native-troubleshooting is a skill published in the GitHub repository cometchat/cometchat-skills (150 stars, last pushed 6d ago), licensed MIT. It adds 92 tokens to every session and 2,305 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.
Other skills, from other repositories
firebase-crashlytics
Use when implementing crash reporting, capturing fatal/non-fatal errors, recording isolate/async exceptions, customizing reports, or uploading obfuscated symbols.
flutter-errors
Use when hitting layout errors (RenderFlex overflow, unbounded constraints, RenderBox not laid out), scroll errors, or setState-during-build errors.
ios-ettrace-profiler
Before invoking Apple-only binaries, confirm the execution context is macOS. From Windows or Linux, run those steps in a Mac SSH project or through an already configured remote transport; do not retry missing Apple binaries locally.
ios-memgraph-inspector
Before invoking Apple-only binaries, confirm the execution context is macOS. From Windows or Linux, run those steps in a Mac SSH project or through an already configured remote transport; do not retry missing Apple binaries locally.
tuist-generation-doctor
Diagnose Tuist generation, build, and launch failures when tuist generate, generated Xcode workspaces, or apps fail or diverge from the source project.
appstore-crash-insights
TestFlight crash reports: triage crashes, beta feedback, hangs, disk writes, launches, and performance diagnostics with asc.