LogoClawIndex
CasesSkillsAbout
LogoClawIndex

real-time-sync - Keep the UI synced with agent changes

Keeps React Query data synchronized with agent and database changes using shared SSE transport, polling fallback, and source-based query invalidation.

Tags

Updated: 2026-09-28

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Initialize shared sync transport
  • Stream in-process change events
  • Poll for missed changes
  • Invalidate targeted query caches
  • Track source change versions
  • Prevent sync-induced UI jitter
  • Refresh action query observers

Inputs

  • React Query query client
  • Database write events
  • Source identifiers
  • SSE event endpoint
  • Polling endpoint
  • Browser tab identifier

Outputs

  • Refreshed UI data
  • Invalidated query caches
  • Delivered sync events
  • Updated source counters
  • Refetched affected queries

Requirements

  • React application
  • React Query
  • @agent-native/core hooks
  • Accessible sync endpoints
  • Authenticated SSE endpoint

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
real-time synchronization
SSE
polling
React Query
database updates
cache invalidation
agent UI
Initialize shared sync transport
Stream in-process change events
Poll for missed changes
Invalidate targeted query caches
React Query query client
Database write events
Source identifiers
Refreshed UI data
Invalidated query caches
Delivered sync events