agentsclimarketplace

Clawbox chat stream

Skill CommonstackAI/ClawBox/.agents/skills/clawbox-chat-stream

ClawBox provides a guided setup experience and unified dashboard for OpenClaw-powered agents.

Install
npx -y skills add CommonstackAI/ClawBox --skill clawbox-chat-stream

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 22 stars22 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

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.

SKILL.md

1.5 KB, as published. Nobody here has run it

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.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.