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-android-v6-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-android-v6-troubleshooting)<a href="https://agentmods.dev/skills/cometchat/cometchat-skills/cometchat-android-v6-troubleshooting"><img src="https://agentmods.dev/badge/skills/cometchat/cometchat-skills/cometchat-android-v6-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-android-v6-troubleshooting"><img src="https://agentmods.dev/badge/skills/cometchat/cometchat-skills/cometchat-android-v6-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.00117 | $0.02800 |
| Opus 5.5 | $0.00047 | $0.01120 |
| Sonnet 5.5 | $0.00023 | $0.00560 |
| Haiku 4.5 | $0.00012 | $0.00280 |
Grade A, and why
cometchat-android-v6-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 22d 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.
Ground truth: catalog
android-v6.json+ the kit's real error codes (ERR_SETTINGS_FILE_NOT_FOUND,ERR_SETTINGS_INVALID,CometChatException.code/message) + the live page/ui-kit/android/troubleshooting. This skill goes DEEPER thancore/references/troubleshooting.md(the quick table) — read that first for the common four; come here for the full path and for escalation.
Companion skills (read first)
cometchat-android-v6-core— install, credentials,initFromSettings → login → render,references/troubleshooting.md(the first-stop table),references/anti-patterns.md,references/layout.md. Assumed here, never repeated.
Use this skill when
"it doesn't work", "the build fails", "the chat screen is blank/stuck", "messages don't arrive until I reopen", "the composer is under the keyboard", "it works in debug but crashes in release", "calls/push don't work" — and you need a systematic path, not a guess.
Diagnostics entry — run these three, in order, before theorizing
- Does it BUILD?
./gradlew :app:assembleDebug. Dependency-resolution and duplicate-class failures are config, not code. - What does LOGCAT say at startup? Filter for
CometChat. You are looking for exactly two things: init'sonSuccess/onError, then login'sonSuccess/onError. Almost every "nothing works" report is one of these two failing and being swallowed — if your callbacks don't loge.code+e.message, fix that first; an emptyonError {}is the bug. - What's the SESSION state?
CometChatUIKit.getLoggedInUser()— null after a "successful" login means login didn't actually complete.
Symptom → root cause → fix
Build / dependencies
| Symptom | Cause | Fix |
|---|---|---|
Could not find com.cometchat:chatuikit-... |
CometChat Maven repo missing | add maven("https://dl.cloudsmith.io/public/cometchat/cometchat/maven/") to settings.gradle(.kts) dependencyResolutionManagement.repositories |
sendMessage returns onSuccess but the message NEVER arrives (receiver connected, listener registered) |
a Dashboard moderation rule blocked it server-side — the send genuinely succeeded, so no client error is raised. The UI Kit surfaces "Your message was blocked due to moderation policies"; a headless build sees nothing at all | Dashboard → Moderation → check rules/lists. Do NOT chase INTERNET permission or connection status — both are healthy in this case |
Duplicate class android.support.v4.* (jetifier off) or contains AndroidX dependencies, but the 'android.useAndroidX' property is not enabled (useAndroidX off) — on a clean, single-cohort app (6.0.x only) |
NOT a version conflict. chat-sdk-android up to 5.0.6 pulls a pre-AndroidX transitive (android.arch.lifecycle:extensions → com.android.support:support-compat:26.1.0) that collides with androidx.core |
set BOTH in gradle.properties: android.useAndroidX=true + android.enableJetifier=true (verified on a clean app; removing either reproduces it) — or move to 6.1.1 (chat-sdk 5.0.7 is all-AndroidX; Jetifier not needed, useAndroidX still is) |
Duplicate class org.jetbrains.annotations.* at dexing (6.0.x only; 6.1.1 POMs exclude it) |
io.noties:prism4j pulls annotations-java5:17 vs annotations:23 |
configurations.all { exclude(group = "org.jetbrains", module = "annotations-java5") } |
Execution failed for JetifyTransform: react-android-*.aar at checkDebugAarMetadata — appears only AFTER adding calling |
calls-sdk-android 5.0.x bundles a React-Native stack (react-android/hermes/react-native-webrtc) that Jetifier can't transform, and Jetifier is on (6.0.x needed it for the Chat SDK's pre-AndroidX transitive) — so the two collide the moment calling is added |
on 6.1.1, turn Jetifier off if nothing else needs it; otherwise add to gradle.properties: android.jetifier.ignorelist=react-android,hermes-android,react-native-webrtc (they're already AndroidX). See cometchat-android-v6-calls |
requires Android Gradle plugin 8.9.1 or higher |
AGP floor is 8.9.1, not 8.9 | bump AGP |
kotlin-stdlib ... metadata is 2.2.0, expected 2.0.0 / internal compiler error |
Kotlin floor is 2.1+; 2.0.21 fails | bump Kotlin |
| Duplicate class / conflicting versions | version_conflict: a v4/v5 chat-uikit-android alongside v6 chatuikit-* |
remove the old artifact — never mix majors; migrate via cometchat-android-v6-migration |
| Odd theme/duplicate UI, two kits resolve | both cohorts (chatuikit-kotlin-android AND chatuikit-compose-android) in one module |
pick ONE cohort |
Unsupported class file major version / Kotlin errors |
JVM target mismatch | JVM 11: compileOptions + kotlin { compilerOptions { jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_11) } } (fully-qualified — a mid-file import breaks a .kts; the kotlinOptions{} DSL is deprecated/removed on Kotlin 2.2+) |
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.
- 22d ago Changed 09897e658118
- 2mo ago Changed · -184 lines · +82 tokens per session 7e8f1373a7a8
- 3mo ago First seen · 271 lines · 35 tokens per session scan A 0dc379f24360
cometchat-android-v6-troubleshooting is a skill published in the GitHub repository cometchat/cometchat-skills (184 stars, last pushed 22d ago), licensed MIT. It adds 117 tokens to every session and 2,800 once invoked, about $0.0005 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.
cometchat-android-v6-troubleshooting compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cometchat-android-v6-troubleshootingcometchat/cometchat-skills | Skill | 184 | 22d ago | MIT | A | 117 | Claude Code |
| firebase-crashlyticsevanca/flutter-ai-rules | Skill | 678 | 23d ago | MIT | A | 34 | Claude Code |
| flutter-errorsevanca/flutter-ai-rules | Skill | 678 | 23d ago | MIT | A | 34 | Claude Code |
| wechat-devtoolsWaterTian/wechat-devtools-mcp | Skill | 175 | 5d ago | MIT | A | 24 | Claude Code |
| ios-ettrace-profilerXopoko/build-swift-apps | Skill | 45 | 9d ago | MIT | A | 35 | Claude Code, Codex |
| ios-memgraph-inspectorXopoko/build-swift-apps | Skill | 45 | 9d ago | MIT | A | 42 | Claude Code, Codex |
| tuist-generation-doctorXopoko/build-swift-apps | Skill | 45 | 9d ago | MIT | A | 40 | Claude Code, Codex |