cometchat-nextjs-patterns

cometchat-nextjs-patterns is a skill for Claude Code from cometchat/cometchat-skills. It costs 49 tokens per session (8,184 once invoked), scanned A, original, no licence file.

A collection of patterns for using the CometChat React UI Kit in Next.js applications with either the App Router or Pages Router. It covers browser-only setup, providers, routes, API routes, and common pitfalls.

In plain words
What is it for?
Use it to place and initialise CometChat in Next.js projects and connect it to routes or API endpoints.
Why use it?
It addresses Next.js server-rendering issues that can break browser-based chat components.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cometchat-skills plugin — 119 skills shipped together

Good fit Use it to place and initialise CometChat in Next.js projects and connect…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cometchat/cometchat-skills/cometchat-nextjs-patterns
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-nextjs-patterns
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 119 skills.

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-nextjs-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/cometchat/cometchat-skills/cometchat-nextjs-patterns.svg)](https://agentmods.dev/skills/cometchat/cometchat-skills/cometchat-nextjs-patterns)
Your own site
<a href="https://agentmods.dev/skills/cometchat/cometchat-skills/cometchat-nextjs-patterns"><img src="https://agentmods.dev/badge/skills/cometchat/cometchat-skills/cometchat-nextjs-patterns.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,184 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 unknown 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.00049 $0.08184
Opus 5 $0.00024 $0.04092
Sonnet 5 $0.00010 $0.01637
Haiku 4.5 $0.00005 $0.00818

Measured 3d ago against content hash c0878f02628e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

cometchat-nextjs-patterns 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 3d 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-nextjs-patterns/SKILL.md · 900 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 3d ago First seen · 900 lines · 49 tokens per session scan A c0878f02628e

Subscribe to this mod's changes

cometchat-nextjs-patterns is a skill published in the GitHub repository cometchat/cometchat-skills (99 stars, last pushed 1mo ago), with no licence file. It adds 49 tokens to every session and 8,184 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

igniteui-wc-choose-components

Identify and select the right Ignite UI Web Components for your app UI, then navigate to official docs, usage examples, and API references.

IgniteUI/igniteui-cli · 34 tokens

ionic-framework-docs

Ionic Framework 8.x — UI components, Angular/React/Vue integrations, theming, CLI, Capacitor, navigation.

pledgeandgrow/pledge-skills · 32 tokens

nextjs-app-router

Full end-to-end tRPC setup for Next.js App Router. Covers route handler with fetchRequestHandler (GET + POST exports), TRPCProvider with QueryClientProvider, createTRPCOptionsProxy for RSC prefetching, HydrateClient/HydrationBoundary for hydration, useSuspenseQuery for Suspense, and server-side callers.

trpc/trpc · 74 tokens

langbot-dev

Develop, build, and debug the LangBot core backend and web frontend. Use when working inside the LangBot repository — backend (Python/Quart, src/langbot/pkg), the Vite/React web UI, HTTP API controllers/services, Alembic migrations, or the MCP server. Covers the dev environment (uv, pnpm), repo layout, the API auth…

langbot-app/LangBot · 136 tokens

trigger-realtime-and-frontend

Trigger.dev client/frontend surface: subscribe to runs in realtime (runs.subscribeToRun and the @trigger.dev/react-hooks hook useRealtimeRun), consume metadata and AI/text streams in React (useRealtimeStream), trigger tasks from the browser (useTaskTrigger, useRealtimeTaskTrigger), and mint scoped frontend credentials…

triggerdotdev/trigger.dev · 148 tokens

add-gallery-example

Add an example to the Unovis gallery — a per-framework example directory under packages/shared/examples, registered in examples-list.tsx, with light/dark previews. Use when asked to add a gallery example, showcase a chart in the gallery, or create the gallery entry that accompanies a new component.

f5/unovis · 63 tokens