cometchat-android-v5-sdk

cometchat-android-v5-sdk is a skill for Claude Code from cometchat/cometchat-skills. It costs 119 tokens per session (4,068 once invoked), scanned A, original, MIT.

A headless Android chat software development kit for building a custom chat interface with CometChat. Headless means it supplies chat operations and events but leaves the screens and visual design to the app.

In plain words
What is it for?
Use it to initialize and authenticate chat, send and receive messages, load older pages, and connect CometChat to custom Android screens or backend-style code.
Why use it?
It is suited to apps that need their own design or need to use chat functions outside a standard chat screen. It also documents ordering, pagination, and listener cleanup that can otherwise cause missing or duplicated messages.

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 initialize and authenticate chat, send and receive messages, load older pages, and connect CometChat to custom Android screens or backend-style code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cometchat/cometchat-skills/cometchat-android-v5-sdk
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-android-v5-sdk
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-android-v5-sdk

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cometchat/cometchat-skills/cometchat-android-v5-sdk"><img src="https://agentmods.dev/badge/skills/cometchat/cometchat-skills/cometchat-android-v5-sdk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,068 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.00119 $0.04068
Opus 5.5 $0.00048 $0.01627
Sonnet 5.5 $0.00024 $0.00814
Haiku 4.5 $0.00012 $0.00407

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

Security

Grade A, and why

cometchat-android-v5-sdk 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.

skills/cometchat-android-v5-sdk/SKILL.md · 127 lines

How it starts

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

Ground truth: catalog sdk-android-v5.json (curated from the INSTALLED com.cometchat:chat-sdk-android:5.0.5 AAR — the existence oracle; all 248 entries re-checked present in the 5.0.7 AAR, which only ADDS pin/save/thread-subscription APIs) + features.sdk-android-v5.json + contracts.sdk-android-v5.json (sdk-chat-surface — the completeness floor). Docs: references/docs-map.md. ⚠️ Android SDK v5 pages are VERSIONED (/sdk/android/v5/...); the unversioned tree is v4. Verify symbols against the catalog; fetch signatures from docs; never trust memory.

Companion skills (read first)

This skill is self-contained for headless builds — it does not depend on a UI Kit core. But: if the user wants ready-made chat UI, the UI Kit is the better answer — say so and route to cometchat-android-v6-core (drop-in components, far less code). Come here when they explicitly want their own UI, a non-chat surface, or backend-style usage.

Use this skill when

"use the CometChat SDK directly", "build chat with my own UI/design system", "I don't want the UI Kit", "send/receive messages programmatically", "custom chat screen in Compose backed by CometChat".

Prerequisites & install

// settings.gradle(.kts) → dependencyResolutionManagement.repositories
maven("https://dl.cloudsmith.io/public/cometchat/cometchat/maven/")
// app/build.gradle.kts
implementation("com.cometchat:chat-sdk-android:5.0.7")     // + calls-sdk-android:5.0.4 for calling
# gradle.properties — REQUIRED
android.useAndroidX=true
  • Jetifier: not needed on 5.0.7. 5.0.7 depends on androidx.lifecycle:lifecycle-process instead of the old android.arch.lifecycle:extensions:1.1.1, so a clean AndroidX app builds with android.enableJetifier=false (verified 2026-10-15, assembleDebug). Pinned to 5.0.6 or older? Then Jetifier IS required: without it the build fails checkDebugDuplicateClasses (Duplicate class android.support.v4.app.INotificationSideChannel ... com.android.support:support-compat:26.1.0; verified 2026-09-07 on 5.0.5). Calling (calls-sdk-android:5.0.4) additionally needs minSdk 26 + the SoLoader init + a manifest <service> — cometchat-android-v5-calls-sdk Prerequisites. Manifest needs android.permission.INTERNET. Credentials live in the gitignored app/src/main/assets/cometchat-settings.json (appId, region, credentials.authKey dev-only). The optional chatSDK section carries SDK-level overrides; init succeeds without it, so omit it for a minimal build — BUT one override is load-bearing for a required surface:

Read the full file on GitHub · 127 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 22d ago Changed · -1 lines 2eb28d2efebe
  2. 2mo ago First seen · 128 lines · 119 tokens per session scan A 5489a3d12b06

Subscribe to this mod's changes

cometchat-android-v5-sdk is a skill published in the GitHub repository cometchat/cometchat-skills (184 stars, last pushed 22d ago), licensed MIT. It adds 119 tokens to every session and 4,068 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-09-12.

Related

cometchat-android-v5-sdk compared with skills from other repositories

cometchat-android-v5-sdk next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cometchat-android-v5-sdkcometchat/cometchat-skillsSkill18422d agoMITA119Claude Code
animate-expoemilkowalski/skillsSkill63k3d agoMITA112Claude Code
swiftui-auditfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A52Claude Code
axiom-liquid-glasscoco-research/cocoSkill369todayApache-2.0A45Claude Code
firebase-messagingevanca/flutter-ai-rulesSkill67823d agoMITA35Claude Code
reverse-engineering-android-malware-with-jadxadriannoes/awesome-agentic-aiSkill1118d agoMITA82Claude Code, Codex
appstore-archive-uploaderXopoko/build-swift-appsSkill459d agoMITA41Claude Code, Codex