Agent skill

Real Time Sync

by BuilderIO in BuilderIO/agent-native

How to keep the UI in sync with agent changes via SSE plus polling fallback.

No licenceAuto-check passedBackend & APIs

Install Real Time Sync

skills CLI
$ npx skills add BuilderIO/agent-native --skill real-time-sync -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install BuilderIO/agent-native real-time-sync --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/BuilderIO/agent-native.git skills-src && mkdir -p .claude/skills && cp -r skills-src/community-templates/win-loss-memo/.agents/skills/real-time-sync .claude/skills/real-time-sync && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
real-time-sync
GitHub stars
7.1k
Token cost
~3.7k tokens
SKILL.md length
1,543 words
Files
1
Skills in repo
102
Repo updated
First seen
Licence
None found

At a glance

How to keep the UI in sync with agent changes via SSE plus polling fallback.

  • Works in 5 steps: Server increments a version counter on… → Client listens for sync events and… → Templates fold per-source counters into… → …
  • Wiring query invalidation for new data models
  • SKILL.md covers Rule, Why, How It Works and Don't, plus 8 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Real Time Sync is an agent skill from BuilderIO/agent-native. How to keep the UI in sync with agent changes via SSE plus polling fallback. Use when wiring query invalidation for new data models, debugging UI not updating, or understanding jitter prevention.

Its SKILL.md is about 3.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs. The repository describes itself as: A framework for building agentic apps.

When your agent uses it

  • Wiring query invalidation for new data models
  • Debugging UI not updating
  • Understanding jitter prevention

Example prompts

  • “/real-time-sync”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Server increments a version counter on every database write. In-process events stream through the authenticated /_agent-native/events…
  2. Client listens for sync events and updates per-source change counters
  3. Templates fold per-source counters into their query keys. This is the pattern that makes "agent writes show up without a manual refresh"…
  4. Fallback polling calls /_agent-native/poll?since=N. It polls every 2 seconds only while an agent run is in flight; otherwise it idles at…
  5. When the agent writes to the database, the version increments, SSE/polling detects it, and React Query refetches the affected queries.

What it can do on your machine

Read from SKILL.md and the folder at commit e16da0c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Real Time Sync loads about 3.7k tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 1,543 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~53
When it runs · the whole SKILL.md, loaded when a task matches
~3.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,543 words (~3,661 tokens).

“The UI stays in sync with agent/script changes through useDbSync(). In-process writes stream over /_agent-native/events first; /_agent-native/poll remains the cross-process/serverless fallback. When the agent writes to the database, the UI detects the change and updates automatically — no manual refresh…”

— opening of SKILL.md by BuilderIO
name
real-time-sync
scope
dev
metadata.internal
true

Read the full SKILL.md on GitHub

Files

Just SKILL.md in community-templates/win-loss-memo/.agents/skills/real-time-sync of BuilderIO/agent-native.

Open the folder on GitHubat commit e16da0c

Compare with similar skills

Real Time Sync next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Real Time Sync compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Real Time Sync this skillBuilderIO/agent-native7.1k—~3.7kAutomated safety check: PassNone
Nestjs Best Practicesrolling-scopes/rsschool-app10k6 repos~1.2kAutomated safety check: PassMIT
ToolJet Marketplace Plugin BuilderToolJet/ToolJet41k—~2.1kAutomated safety check: PassAGPL-3.0
Payloadpayloadcms/payload45k5 repos~6.2kAutomated safety check: PassMIT
Infer Conventionsanonaddy/anonaddy4.9k5 repos~3.1kAutomated safety check: PassMIT
RuView CLI, API and WASMruvnet/RuView97k—~1.2kAutomated safety check: NotesMIT

Similar skills

  • Nestjs Best Practices

    rolling-scopes/rsschool-app

    NestJS best practices and architecture patterns for building production-ready applications.

    10k GitHub starsUsed in 6 repos~1.2k tokens
    Backend & APIsAuto-check passed
  • Turns an API description, such as an OpenAPI file or a Postman collection, into a connector plugin for ToolJet's marketplace and checks it with the repo's validator.

    41k GitHub stars~2.1k tokensUpdated today
    Backend & APIsAuto-check passed
  • Payload

    payloadcms/payload

    A skill your agent uses when working with Payload projects (payload.config.ts, collections, fields, hooks, access control, Payload API).

    45k GitHub starsUsed in 5 repos~6.2k tokens
    Backend & APIsAuto-check passed
  • Infer Conventions

    anonaddy/anonaddy

    A skill your agent uses to analyze how a Laravel application is actually written and record its conventions as shared rules.

    4.9k GitHub starsUsed in 5 repos~3.1k tokens
    Backend & APIsAuto-check passed
  • Covers the RuView `wifi-densepose` command line binary, its Axum REST API and the WebAssembly builds for browsers and ESP32, for embedding or scripting RuView.

    97k GitHub stars~1.2k tokensUpdated today
    Backend & APIsAuto-check: notes
  • Contributor guide for step three of adding a syncable entity to the Twenty server: write the validator, the migration action builder and the orchestrator wiring.

    58k GitHub stars~3.3k tokensUpdated today
    Backend & APIsAuto-check passed

More from BuilderIO/agent-native

All 102 skills in this repo
  • Actions

    BuilderIO/agent-native

    How to create and run agent actions. An agent skill from BuilderIO/agent-native.

    7.1k GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • Client Methods

    BuilderIO/agent-native

    Client method surface rules. An agent skill from BuilderIO/agent-native.

    7.1k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Adding A Feature

    BuilderIO/agent-native

    The four-area checklist every new feature must complete. An agent skill from BuilderIO/agent-native.

    7.1k GitHub stars~4k tokensUpdated today
    Auto-check passed
  • Address Feedback

    BuilderIO/agent-native

    Triage feedback from docs, issues, Slack threads, or pasted notes into verified bugs, UX proposals, unclear questions, and skipped noise.

    7.1k GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • Audit Log

    BuilderIO/agent-native

    Durable, access-scoped, append-only record of who changed what app data, when, and whether it was the agent or a human.

    7.1k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Automations

    BuilderIO/agent-native

    Event-triggered and schedule-triggered automations with natural-language conditions.

    7.1k GitHub stars~4.4k tokensUpdated today
    Auto-check passed

Questions about Real Time Sync

What does Real Time Sync do?

How to keep the UI in sync with agent changes via SSE plus polling fallback. Real Time Sync is an agent skill from BuilderIO/agent-native. How to keep the UI in sync with agent changes via SSE plus polling fallback.

When should I use Real Time Sync?

Real Time Sync fits situations like: wiring query invalidation for new data models; debugging UI not updating; understanding jitter prevention.

How do I install Real Time Sync in Claude Code?

Run `npx skills add BuilderIO/agent-native --skill real-time-sync -a claude-code`. Or copy the skill folder (community-templates/win-loss-memo/.agents/skills/real-time-sync in BuilderIO/agent-native) into .claude/skills/real-time-sync in your project. Claude Code loads it when a task matches its description.

How do I install Real Time Sync in Codex?

Run `npx skills add BuilderIO/agent-native --skill real-time-sync -a codex`. Or copy the skill folder (community-templates/win-loss-memo/.agents/skills/real-time-sync in BuilderIO/agent-native) into .agents/skills/real-time-sync in your project. Codex loads it when a task matches its description.

Can I use Real Time Sync in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add BuilderIO/agent-native --skill real-time-sync -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/real-time-sync, .gemini/skills/real-time-sync, .github/skills/real-time-sync and .opencode/skills/real-time-sync in your project.

What does Real Time Sync need to run?

SKILL.md names no scripts, command-line tools or credentials: Real Time Sync is instructions for the agent only.

Does Real Time Sync access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Real Time Sync safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Real Time Sync use?

No licence was found for Real Time Sync or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Real Time Sync use?

About 3.7k tokens (SKILL.md is roughly 15k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Real Time Sync?

Skills that share tags, products or a category with Real Time Sync: Nestjs Best Practices (rolling-scopes/rsschool-app, 10k stars), ToolJet Marketplace Plugin Builder (ToolJet/ToolJet, 41k stars), Payload (payloadcms/payload, 45k stars) and Infer Conventions (anonaddy/anonaddy, 4.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Real Time Sync?

BuilderIO (a GitHub organization) maintains it in BuilderIO/agent-native, which has 7,087 GitHub stars. The repository holds 102 skills in this directory. The repository was last updated on October 8, 2026.

Source: BuilderIO/agent-native on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.