What problem does it solve? When an agent writes directly to the database, the browser UI has no way to know the data changed, leaving users staring at stale content. This Skill explains how database polling bridges that gap so agent writes appear in the UI automatically without manual refreshes. ## Core Features & Use Cases - Polling-Based Sync: Uses the useDbSync() hook and the /_agent-native/poll endpoint to detect database version changes and invalidate React Query caches. - Event-Based Query Filtering: Maps poll events to specific query keys via the onEvent callback, avoiding unnecessary refetches in apps with multiple data models. - Jitter Prevention: Tags writes with request sources and uses the ignoreSource option so a tab ignores its own writes while still reacting to agent, script, and other-tab changes. - Use Case: You add a new data model to your app and the UI stops updating after agent writes; use this Skill to wire useDbSync with the correct query keys, staleTime, and event filtering. ## Quick Start Ask the agent to wire up useDbSync so the items list updates automatically whenever the agent writes to the database.