Cometchat Android V6 Builder Settings logo

Cometchat Android V6 Builder Settings

Organization
cometchat
cometchat-android-v6-builder-settings

The CometChat Android v6 settings and session API reference — the assets/cometchat-settings.json file that initFromSettings reads (appId, region, credentials, uiKit toggles), the legacy UIKitSettings builder, and the CometChatUIKit session methods (login, loginWithAuthToken, logout, getLoggedInUser, createUser). Use when configuring init options or wiring auth beyond the core golden path. Triggers: 'cometchat settings json android', 'uikitsettings builder options', 'login with auth token android', 'create a cometchat user from the app', 'enable calling in settings'.

Overview

Publishercometchat
Repositorycometchat-skills
Skill namecometchat-android-v6-builder-settings
Stars
109
Forks
2
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by cometchat on GitHub. Read the source before you install it.

Installation

Install the Cometchat Android V6 Builder Settings AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cometchat/cometchat-skills.git /tmp/cometchat-skills
mkdir -p .claude/skills
cp -r /tmp/cometchat-skills/skills/cometchat-android-v6-builder-settings .claude/skills/cometchat-android-v6-builder-settings
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cometchat Android V6 Builder Settings in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cometchat Android V6 Builder Settings on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cometchat Android V6 Builder Settings is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Ground truth: the installed kit source com.cometchat.uikit.core.CometChatUIKit (6.0.5) + the live page /ui-kit/android/methods (init · authentication · logout · create user · message helpers). Symbols verified against catalog android-v6.json. Fetch exact signatures from the methods page; never guess an overload.

Companion skills (read first)

  • cometchat-android-v6-core — owns the DEFAULT path: initFromSettings → login → render, the settings file, and credential handling. Come HERE only when a task needs an option or auth variant beyond that default.

Use this skill when

"what can go in the settings file?", "turn on calling in the settings", "log in with a server-minted auth token instead of the auth key", "create a CometChat user from the app", "check who's logged in", "what does the UIKitSettings builder do?".

Prerequisites & install

Same kit + init as core. Everything here is com.cometchat.uikit.core — no extra dependency.

The settings file (the DEFAULT input to initFromSettings)

app/src/main/assets/cometchat-settings.jsongitignored (it carries the dev Auth Key). Read by CometChatUIKit.initFromSettings(context, callback), which parses it, builds the settings, and persists integrationSource="ai-agent" for telemetry:

json
{
  "appId": "APP_ID",
  "region": "REGION",
  "credentials": { "authKey": "AUTH_KEY" },
  "uiKit": {
    "subscribePresenceForAllUsers": true,
    "enableCalling": false
  }
}
  • appId + region are required — missing either fails with ERR_SETTINGS_INVALID; a missing file fails with ERR_SETTINGS_FILE_NOT_FOUND.
  • credentials.authKey is optional and dev-only — omit it in production builds and log in with a server-minted auth token.
  • uiKit.subscribePresenceForAllUsers defaults to true.
  • uiKit.enableCalling defaults to false. Setting it true makes initFromSettings auto-initialize the Calls SDKwhich means the com.cometchat:calls-sdk-android dependency becomes MANDATORY. Without it the app throws NoClassDefFoundError: CometChatCalls$SessionSettingsBuilder from initCometChatCalls during onCreate, before any UI renders (verified on device). The two must always change together (→ cometchat-android-v6-calls).
  • The Chat SDK may read an optional chatSDK section from the same file. It is not required — init succeeds without it. /sdk/android/v5/setup.md documents only the classic programmatic init() + AppSettings, so it will NOT tell you the section's keys; do not send the user there for them.

The legacy UIKitSettings builder (know it, don't default to it)

UIKitSettings.UIKitSettingsBuilder() with .setAppId(...), .setRegion(...), .setAuthKey(...), .setEnableCalling(...), .subscribePresenceForAllUsers(), .build() feeds the classic CometChatUIKit.init(context, settings, callback) overload. It still exists, but it is NOT the default — it skips the integration-source telemetry that initFromSettings persists. Use it only when a project genuinely cannot ship an assets file (e.g. credentials arrive at runtime from your own backend); say so explicitly when you do, and keep credentials out of source either way.

Session / auth methods (CometChatUIKit)

MethodUse
getLoggedInUser(): User?Synchronous guard — non-null means a session already exists; skip login.
login(uid, CallbackListener<User>)Dev/auth-key login for an existing user.
loginWithAuthToken(authToken, CallbackListener<User>)Production login with a server-minted per-user token. Auth Key never ships to the client.
logout(CallbackListener<String>)End the session. Unregister the push token BEFORE this (cometchat-android-v6-push).
createUser(user, CallbackListener<User>)Create a user from the app — dev/prototype only; production should mint users server-side with the REST API.

Ordering never changes: init resolves → (guard) login resolves → chat UI. Re-logging in a different user requires logout first. Full lifecycle detail (where to init, config changes, process death): core/references/lifecycle.md.

Message-helper reference (on the same docs page)

/ui-kit/android/methods also documents date formatting and constructing TextMessage / MediaMessage / CustomMessage for programmatic sends — fetch that section rather than hand-rolling a message object; the SDK types are the Chat SDK's (cometchat-android-v5-sdk / core/references/docs-map.md → SDK section).

Common pitfalls

Committing cometchat-settings.json (leaks the Auth Key) · shipping credentials.authKey in a release build · using the classic init(...) as the default (loses telemetry attribution) · calling login before init's onSuccess (fails silently) · re-logging in without logout · using createUser in production · assuming enableCalling alone adds calling (the Calls SDK artifact is still required) · reading getLoggedInUser() before init.

Verify it works

Compile against the pinned kit (./gradlew :app:assembleDebug # in YOUR app (npm run verify:fences:android-v6 is a pack-repo gate)). On device: with the settings file present, init reports success and login resolves; delete/rename the file → you get ERR_SETTINGS_FILE_NOT_FOUND surfaced as a readable error (not a crash); with enableCalling: true + the Calls artifact, call buttons appear (Views: automatic; Compose: only with hideVoiceCallButton = false, hideVideoCallButton = false on the header — cometchat-android-v6-calls); a release build contains no Auth Key (grep the merged assets). Confirm cometchat-settings.json is in .gitignore.

Frequently asked questions

What does the Cometchat Android V6 Builder Settings AI skill do?

The CometChat Android v6 settings and session API reference — the assets/cometchat-settings.json file that initFromSettings reads (appId, region, credentials, uiKit toggles), the legacy UIKitSettings builder, and the CometChatUIKit session methods (login, loginWithAuthToken, logout, getLoggedInUser, createUser). Use when configuring init options or wiring auth beyond the core golden path. Triggers: 'cometchat settings json android', 'uikitsettings builder options', 'login with auth token android', 'create a cometchat user from the app', 'enable calling in settings'.

Why use Cometchat Android V6 Builder Settings on TypingMind?

Because you install it once and use it with any model. Cometchat Android V6 Builder Settings is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cometchat Android V6 Builder Settings in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-android-v6-builder-settings. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Cometchat Android V6 Builder Settings?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cometchat Android V6 Builder Settings?

As many as you like. As long as a model supports skills, you can use Cometchat Android V6 Builder Settings with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cometchat Android V6 Builder Settings AI skill free?

Yes. It is published on GitHub by cometchat under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇