ClawBox Chat Stream
Repo-embedded debugging map for ClawBox's chat SSE streaming across the React frontend and Bun bridge
Getestet · Funktioniert
Was es kann
A project-specific skill bundled inside the ClawBox repo itself: a fixed 'read first' file list (useChat.ts, ai.ts, chat store, chat routes, the OpenClaw RPC provider) and a workflow for tracing chat events end-to-end (UI -> hook -> SSE parser -> backend route -> OpenClaw RPC) when debugging streaming, reasoning blocks, tool-call blocks, session sync, or title generation. Triggers only when working inside a ClawBox checkout on chat/streaming issues; irrelevant to any other codebase or unrelated ClawBox features.
Testbericht
Verified the skill's specific code pointers against the real source instead of taking them on faith: its guardrail 'for title/unread-count issues inspect the finally path in useChat.ts' led straight to the exact block (lines 131-149) and surfaced a real subtlety -- unread-count increments only fire in onDone, not in the finally cleanup, so a stream that ends without onDone firing silently loses the unread badge. A blind grep for 'reasoning' across the repo, by contrast, pulled in two unrelated files (soul.ts, onboard/routes.ts) the skill's fixed file list correctly excludes.
Getestet am: 2026-07-16 · Claude Code 2.x (agent harness)
Installation
git clone https://github.com/CommonstackAI/ClawBox cd ClawBox mkdir -p ~/.claude/skills cp -r .agents/skills/clawbox-chat-stream ~/.claude/skills/clawbox-chat-stream
Befehle & Beispiel-Prompts
/clawbox-chat-streamRepo-embedded debugging map for ClawBox's chat SSE streaming across the React frontend and Bun bridge
Skills reagieren auf normale Anfragen — keine Slash-Befehle nötig. Nach der Installation aktivieren Prompts wie diese den Skill (auf Englisch):
Why does the unread badge sometimes not increment after switching chatsTrace this SSE streaming bug from the React hook to the backend routeDebug why reasoning blocks stop rendering mid-stream in ClawBox chat