AgentStack
SKILL verified MIT Self-run

Clawbox Chat Stream

skill-commonstackai-clawbox-clawbox-chat-stream · by CommonstackAI

Use when changing or debugging ClawBox chat sending, SSE streaming, reasoning blocks, tool-call blocks, session synchronization, or title generation across the React frontend and the Bun OpenClaw bridge.

No reviews yet
0 installs
8 views
0.0% view→install

Install

$ agentstack add skill-commonstackai-clawbox-clawbox-chat-stream

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Clawbox Chat Stream? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

ClawBox Chat Stream

Use this skill when the task involves ClawBox chat flow, assistant streaming, tool event rendering, session history hydration, or title generation.

Read first

  • src/hooks/useChat.ts
  • src/services/ai.ts
  • src/store/chat.ts
  • src/components/chat/
  • internal/routes/chat.ts
  • internal/providers/openclaw-rpc.ts
  • src/services/api.ts

Workflow

  1. Map the end-to-end path: UI event -> frontend store/hook -> SSE parser -> backend route -> OpenClaw RPC event.
  2. If request or response payloads change, update every consumer in the same task instead of leaving cross-layer drift.
  3. For tool-call regressions, verify both streamed events and history rehydration. ClawBox uses live events plus follow-up history reconciliation.
  4. For title or unread-count issues, inspect the finally path in src/hooks/useChat.ts and the corresponding Zustand store updates.

Verification

  • Run npm run build:frontend.
  • Run npm run build:backend.
  • If the local gateway is available, use bun test/openclaw-stream.ts --prompt "..." as a manual smoke test.

Guardrails

  • Never guess OpenClaw protocol fields or event names.
  • Preserve the SSE event types expected by src/services/ai.ts.
  • Keep message block ordering consistent with the text, reasoning, and tool_call model.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.