Logo de Cometchat Android V6 Builder Settings

Cometchat Android V6 Builder Settings

Organização
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'.

Visão geral

Publicado porcometchat
Repositóriocometchat-skills
Nome da habilidadecometchat-android-v6-builder-settings
Estrelas
109
Forks
2
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por cometchat no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Cometchat Android V6 Builder Settings no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-android-v6-builder-settings
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Cometchat Android V6 Builder Settings em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Cometchat Android V6 Builder Settings automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Cometchat Android V6 Builder Settings não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.json — gitignored (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 SDK — which 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.

Perguntas frequentes

O que a habilidade de IA Cometchat Android V6 Builder Settings faz?

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'.

Por que usar Cometchat Android V6 Builder Settings no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Cometchat Android V6 Builder Settings é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Cometchat Android V6 Builder Settings no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-android-v6-builder-settings. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Cometchat Android V6 Builder Settings?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Cometchat Android V6 Builder Settings?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Cometchat Android V6 Builder Settings com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Cometchat Android V6 Builder Settings é gratuita?

Sim. A habilidade é publicada no GitHub por cometchat sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇