Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/cometchat/cometchat-skillsnpx agentmods add skills/cometchat/cometchat-skills/cometchat-flutter-v6-placementWrote 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-flutter-v6-placement)<a href="https://agentmods.dev/skills/cometchat/cometchat-skills/cometchat-flutter-v6-placement"><img src="https://agentmods.dev/badge/skills/cometchat/cometchat-skills/cometchat-flutter-v6-placement/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-flutter-v6-placement"><img src="https://agentmods.dev/badge/skills/cometchat/cometchat-skills/cometchat-flutter-v6-placement.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.00093 | $0.01930 |
| Opus 5 | $0.00046 | $0.00965 |
| Sonnet 5 | $0.00019 | $0.00386 |
| Haiku 4.5 | $0.00009 | $0.00193 |
Grade A, and why
cometchat-flutter-v6-placement 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 yesterday.
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 — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ground truth: every widget below is in
catalogs/flutter-v6.json. The recipes follow the official guides (flutter-tab-based-chat·multi-tab-chat-ui-guide·flutter-conversation·flutter-one-to-one-chat) via../cometchat-flutter-v6-core/references/docs-map.md. Sizing follows the ONE mobile standard in../cometchat-flutter-v6-core/references/layout.md— change sizing rules THERE, not here.
Companion skills (read first)
cometchat-flutter-v6-core— install, credentials,init→login→render, the golden-path screens. This skill ASSUMES it.cometchat-flutter-v6-components— the widget catalog these compose.
Use this skill when
Deciding or wiring WHERE chat lives — either (a) growing the core surface into the full tab-based app, or (b) a scoped-down placement: a chat tab in an existing app, a modal/bottom sheet, or an embedded panel. A plain unscoped "add chat" is NOT this skill — that is the core surface in -core.
Prerequisites & install
Covered by core. No new package.
The one invariant every placement shares
Mobile shows one screen at a time, so placement is a NAVIGATION problem, not a column problem:
- Bounded height — every kit list needs
Expanded/Flexibleor a fixed height. Unbounded ⇒ exception or a zero-height list. Scaffold+SafeArea,resizeToAvoidBottomInsetleft attrue.- Round-trip — everything you push must pop back to the state that opened it.
- One init/login gate at the root, not per screen (core's
lifecycle.md).
Placement patterns (BAKED)
A. Tab-based app (the GROW target — the full app). Bottom tabs: Chats (CometChatConversations) · Users (CometChatUsers) · Groups (CometChatGroups) · Calls (CometChatCallLogs), each pushing the message screen. Incoming calls need NO widget from you — once calling is enabled the kit's CallEventService presents the incoming-call overlay itself from any tab; you only set navigatorKey: CallNavigationContext.navigatorKey on your MaterialApp (see -calls). Do NOT mount CometChatIncomingCall at the root yourself — that plus the kit's own overlay = a double incoming screen. Build from flutter-tab-based-chat. Note hideAppbar: true on the list widgets when your own Scaffold already supplies one, or you get two headers.
// Tab-based placement: four list components + group details + global search
// Users tab
CometChatUsers(
hideAppbar: true,
onItemTap: (user) => Navigator.push(context, MaterialPageRoute(builder: (_) => MessageScreen(user: user))),
)
// Groups tab
CometChatGroups(
hideAppbar: true,
onItemTap: (group) => Navigator.push(context, MaterialPageRoute(builder: (_) => MessageScreen(group: group))),
)
// Group details: members + kick/ban/scope built in
CometChatGroupMembers(group: group, hideAppbar: true)
// Global search from conversations list (onSearchTap -> push this screen). Result callbacks are
// onConversationClicked/onMessageClicked — verified against kit 6.1.0 and the live search page
// (DOCS-BACKLOG F3 corrected upstream).
CometChatSearch(
onConversationClicked: (conv) { Navigator.pop(context); openChat(conv); },
onMessageClicked: (msg) { Navigator.pop(context); openChat(msg); },
onBack: () => Navigator.pop(context),
)
import 'package:cometchat_chat_uikit/cometchat_chat_uikit.dart';
import 'package:flutter/material.dart';
class ChatsTab extends StatelessWidget {
const ChatsTab({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('Chats')),
body: SafeArea(
child: CometChatConversations(
hideAppbar: true, // the Scaffold already has one
onItemTap: (conversation) {
final entity = conversation.conversationWith;
Navigator.push(context, MaterialPageRoute(
builder: (_) => MessageScreen(
user: entity is User ? entity : null,
group: entity is Group ? entity : null,
),
));
},
),
),
);
}
}
The Calls tab (
CometChatCallLogs) comes from the calls barrel — that screen imports both barrels (-calls). Incoming-call presentation is handled by the kit itself; you don't mount an incoming widget at the root.
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.
- yesterday Changed · -287 lines · -32 tokens per session 2e0b9aedd610
- 9d ago First seen · 428 lines · 125 tokens per session scan A 196e9aa343f9
cometchat-flutter-v6-placement is a skill published in the GitHub repository cometchat/cometchat-skills (105 stars, last pushed yesterday), licensed MIT. It adds 93 tokens to every session and 1,930 once invoked, about $0.0005 per session on Opus 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-03.
Other skills, from other repositories
vercel-react-native-skills
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
flutter-use-column-row-first
Use when building any Flutter screen or component to choose responsive Row, Column, Expanded, Flexible, and Spacer layouts before fixed-size or coordinate-based alternatives.
e2e-testing
AI-powered E2E testing for any app — Flutter, React Native, iOS, Android, Electron, Tauri, KMP, .NET MAUI. Connects via MCP to running apps so the agent can take screenshots, tap elements, enter text, scroll, inspect UI trees, and verify state with natural language. Use when the user wants to test an app's UI…
lov-mobile-adapt
A mobile adaptation workflow for existing web projects. It adjusts desktop websites for phones by handling responsive layouts, overflow, safe areas around notches, browser viewport height, touch targets, and mobile navigation.
stream-react-native
Builds, integrates, migrates, and audits Stream Chat, Stream Video, and Stream Feeds in React Native CLI and Expo apps. Use when scaffolding a new RN/Expo Chat, Video, or Feeds app, adding Stream to an existing RN app, upgrading a Stream SDK version (stream-chat-react-native v8 to v9, Feeds v2 to v3), migrating from…
enhance-capacitor-ui
Cross-surface UIUX separation skill for hybrid web apps that ship as PWA + iOS + Android via Capacitor (or Tauri / Expo Web / Ionic / RN-Web). Use when a previous UI/UX sweep "improved one surface and broke the other" — desktop polished but mobile cramped, or mobile native but desktop wastes space.