/cometchat-skills:cometchat-analyticsfrom cometchat-skills
Pulls CometChat usage & message metrics via REST API, streams real-time events via webhooks, monitors client-side errors, and reads push/call logs. Useful for chat analytics, observability, and feeding chat events into Datadog/Segment/BigQuery.
Ships in cometchat-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Ground truth: shapes are FETCHED from the live docs —
{DOCS_BASE}/rest-api/metrics/usage-metrics,/rest-api/metrics/message-metrics,/fundamentals/webhooks(+/rest-api/management-apis/webhooks/overview),/notifications/logs,/rest-api/calls-apis/get-call, and on-prem/on-premise-deployment/docker/monitoring.DOCS_BASE = https://www.cometchat.com/docs; append.md. Verify each metric field / event name against the docs before charting it; don't invent a metric.
You need visibility into chat: product analytics (DAU, messages, retention), an ops/observability signal (delivery, errors, latency), or feeding chat events into an existing warehouse/monitoring stack.
| Layer | Source | Use it for |
|---|---|---|
| Aggregate metrics | Metrics REST API (usage + message) | dashboards, MAU/DAU, message volume, growth |
| Real-time events | Webhooks | stream every message/user/group/call event to your pipeline |
| Client health | your error monitor + the kit's error boundary/listeners | init/login failures, render errors, UX latency |
{DOCS_BASE}/rest-api/metrics/usage-metrics) — active users and usage over time.{DOCS_BASE}/rest-api/metrics/message-metrics) — message volume/counts.{DOCS_BASE}/rest-api/calls-apis/get-call.
Call these from a server job with the REST API Key (never client-side), on a schedule, into your BI tool. Fetch the exact query params + response fields from each page before building the report.Webhooks POST an HTTPS notification to your server on message / user / group / call events ({DOCS_BASE}/fundamentals/webhooks; configure via /rest-api/management-apis/webhooks/overview). This is how you get chat into Segment / BigQuery / Snowflake / Datadog / a data lake in real time:
{DOCS_BASE}/fundamentals/webhooks — the docs describe Basic Auth only, with no payload-signature scheme, so validate the Authorization header rather than looking for an HMAC signature).cometchat-compliance.The metrics API won't tell you a user's chat failed to load — instrument the client:
CometChatErrorBoundary onError; Angular/RN have the equivalent); on iOS/Android/Flutter (no error-boundary construct) via the SDK error listeners / the kit's error-state views. Forward to Sentry/Datadog with context.cometchat-compliance).
Wire these through the resolved family's -core/-production/-troubleshooting skills.{DOCS_BASE}/notifications/logs) — FCM/APNs/email/SMS delivery, ~14-day retention; enable when diagnosing "notifications not arriving" and export before they age out.On-prem ships Prometheus + Grafana + Loki + Promtail ({DOCS_BASE}/on-premise-deployment/docker/monitoring): service metrics, dashboards, alerts, and centralized logs — wire alerts (P95 latency, error rate, WS capacity) to your on-call. SaaS customers use the Metrics API + webhooks instead.
Usage/message metrics return real numbers into your dashboard · a test message triggers your webhook and lands in your warehouse/monitor · a forced init/login failure shows up in your error monitor with context · push/call logs are readable when needed · (on-prem) Grafana shows the services and alerts fire.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cometchat, chat-analytics, observability, webhooks, metrics, monitoring
npx claudepluginhub cometchat/cometchat-skills --plugin cometchat-skills98 skills in this plugin
/cometchatEntry point for any CometChat task on any platform. Detects the framework + UI Kit version (React, Angular, iOS, Android, React Native, Flutter), then routes to that family's skills — for a NEW integration or a change to an existing one. Triggers: 'add chat', 'add cometchat', 'add chat to my app', 'add calling', 'change something in my chat', 'my chat is already set up', 'add a feature to the chat', 'add chat to my android app', 'integrate cometchat android', 'add chat to my ios app', 'integrate cometchat ios', 'add chat to my swift app', 'migrate my app to cometchat', 'migrate from sendbird', 'migrate from getstream / stream', 'replace sendbird / stream chat with cometchat', 'build a <app> clone', 'make a chat app like <app>', 'make it look and work like <app>'./cometchat-a11yKeep a CometChat integration accessible — the UI Kit is designed targeting WCAG 2.1 AA with keyboard navigation (verify per component in its docs; full conformance still needs manual testing), and this skill makes sure the HOST app doesn't break that, covering contrast, focus, screen-reader context, reduced motion, RTL, and calls accessibility. Cross-family. Triggers: 'is cometchat accessible', 'WCAG / 508 / ADA compliance', 'screen reader support', 'keyboard navigation', 'a11y audit', 'accessible chat', 'contrast/focus issues in chat'.Other plugins' skills for the same job