stream-react

A workflow for building or changing React and Next.js web apps with Stream's chat, video, feeds, and moderation services. React and Next.js are tools for creating web interfaces, while Stream supplies these communication features.

In plain words
What is it for?
Use it to create a new app, add Stream Chat, Video, Feeds, or Moderation to an existing app, or audit and migrate an existing integration.
Why use it?
It provides a defined process for adding or checking Stream features without having to design the integration approach from scratch.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/getstream/agent-skills/stream-react
Any agent
npx skills add GetStream/agent-skills --skill stream-react
Clone the repo
git clone --depth 1 https://github.com/GetStream/agent-skills

Made for: Claude Code, Codex.

Per session 275 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,948 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original 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 $0.00275 $0.06948
Opus 5 $0.00138 $0.03474
Sonnet 5 $0.00055 $0.01390
Haiku 4.5 $0.00028 $0.00695

Measured yesterday against content hash 721a55d7911c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

stream-react scanned grade B with 1 finding 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.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

Bash(mv .scaffold*), Bash(rm -rf .scaffold),

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/stream-react/SKILL.md · 274 lines

How it starts

The opening of the file, as written. The whole thing — 274 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Stream React (web) - scaffold + enhance + audit + migrate

Read first (every session): Read RULES.md (React/Next.js non-negotiables) and the cross-cutting ../stream/RULES.md. Where the two files state the same rule differently (e.g. Strict mode protection, Package manager), this pack's RULES.md wins for React work. Glob ../stream/SKILL.md; if empty, install with getstream skills stream.

CLI: CLI usage (onboarding, credentials, auth, every getstream api call) lives in the root skill - its "Stream CLI" section in ../stream/SKILL.md, with CLI safety in ../stream/RULES.md. Glob ../stream/SKILL.md; install silently if missing (getstream skills stream).

This skill builds, enhances, audits, and migrates Stream Chat, Video, and Feeds in React / Next.js web apps - the default pack for all web React work. It covers five tracks:

  • Track A - Scaffold a new app: Steps 0-7 below. Use when the cwd is empty / new and the user said "build me a ... app".
  • Track E - Enhance an existing app: see enhance.md. Skips scaffold + theme; reuses the same SDK wiring and component blueprints.
  • Track F - Audit an existing integration (read-only): for "audit/review my video integration", "check my app against best practices", "is my video app production-ready?", "what am I missing before launch?". Video only: load the Integration best-practices audit section in references/VIDEO.md and follow its protocol - it has a Video-specific checklist + output contract. If the user asks to audit Chat or Feeds, say up front there is no dedicated best-practices checklist for those yet, then do a general docs-based review (fetch the relevant pages from references/docs-map.md and check the app against them) rather than applying the Video checklist. Skip onboarding, auth, the CLI, and all build steps - this track only reads the app and reports findings. Fix issues only if the user then asks.
  • Track M - Migrate / upgrade an SDK version: see migrate.md. For "upgrade stream-chat-react to v14", "migrate to the new SDK", "bump my Stream version". Docs-driven: detect the installed version, fetch the matching release guide, apply it. Never migrate from memory.
  • Track S - Migrate from Sendbird: see sendbird-migration.md. For "migrate my app from Sendbird to Stream", "replace @sendbird/uikit-react with Stream", "we're switching off Sendbird". Detects the existing Sendbird integration shape, swaps packages + init, re-implements each touchpoint (UI composition, channels, messages, events/pagination, moderation, theming) against the grounded Sendbird<->Stream mapping the file carries, then offers the separate data migration.

Read the full file on GitHub · 274 lines

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. yesterday First seen · 274 lines · 275 tokens per session scan B 721a55d7911c

Subscribe to this mod's changes

stream-react is a skill published in the GitHub repository GetStream/agent-skills (18 stars, last pushed 3d ago), licensed Apache-2.0. It adds 275 tokens to every session and 6,948 once invoked, about $0.0014 per session on Opus 5. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

wukongim-cloud-analysis

Diagnose one exact live WuKongIM cloud Simulation Run or chat-lifecycle Cloud Lease through the repository Analysis MCP. Use when the user or a local Analysis Session asks Codex to inspect a run's cluster state, Prometheus signals, application logs, diagnostics, Controller task audits, profiles, or redacted config…

WuKongIM/WuKongIM · 114 tokens

wukongim-chat-lifecycle

Operate the Codex-owned WuKongIM chat-lifecycle laboratory directly from the local repository. Use when the operator explicitly asks to buy temporary Alibaba Cloud servers and start the repair stability run, deploy a committed candidate to the same Lease, start or monitor the bounded long workload, diagnose a stopped…

WuKongIM/WuKongIM · 115 tokens

wukongim-ops

Diagnose WuKongIM single-node or multi-node clusters through the embedded read-only Operations MCP. Use when investigating cluster health, nodes, physical Slots, exact channel runtime state, Controller tasks, fixed Prometheus signals, raw application logs, diagnostics, redacted config, backups, or bounded pprof…

WuKongIM/WuKongIM · 69 tokens

compare

Multi-model code review. Fan out a bug or task to multiple LLMs, diff their findings, optionally debate, then dispatch subagents to fix in parallel. Use when the user types /compare or asks to compare models on a code issue.

Cristophereasygoing927/compare-mcp · 52 tokens

activity-record

Query and orchestrate Arkloop Activity Record local activity data. Covers browser history, search terms, screen time, bluetooth, shell commands, window focus, keyboard, mouse, clipboard, screen content (accessibility tree), microphone audio transcription, and Codex sessions.

qqqqqf-q/Arkloop · 55 tokens

geogebra-drawing

GeoGebra 交互式数学可视化 Skill。生成 GGBScript 代码块,支持函数绘图、几何作图、坐标系构建和动态交互。.

qqqqqf-q/Arkloop · 0 tokens