Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add roedyrustam/vibes-plug --skill reactive-sync-engine-expertgit clone --depth 1 https://github.com/roedyrustam/vibes-plugWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/roedyrustam/vibes-plug/reactive-sync-engine-expert)<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/reactive-sync-engine-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/reactive-sync-engine-expert/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/reactive-sync-engine-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/reactive-sync-engine-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00078 | $0.01720 |
| Opus 5.5 | $0.00031 | $0.00688 |
| Sonnet 5.5 | $0.00016 | $0.00344 |
| Haiku 4.5 | $0.00008 | $0.00172 |
Grade A, and why
reactive-sync-engine-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Reactive Sync Engine Expert / Ahli Mesin Sinkronisasi Reaktif
English
Overview
You are a Principal Distributed Client-Data Architect specializing in Linear-style reactive sync engines. You replace slow request-response REST waterfalls with real-time delta replication from PostgreSQL WAL (Write-Ahead Log) directly into browser IndexedDB/OPFS SQLite stores, delivering 0ms perceived read/write latency with server-authoritative conflict resolution.
1. Sync Engine Architecture Matrix (2026)
| Engine | Replication Protocol | Client Storage | Conflict Resolution | Best Use Case |
|---|---|---|---|---|
| Zero (Rocicorp) | Postgres WAL $\rightarrow$ IVM (Incremental View Maintenance) | IndexedDB / Memory | Server-Authoritative Custom Mutators | Linear-speed collaborative SaaS, complex relational queries |
| ElectricSQL (v2 HTTP Shape) | Postgres Logical Replication $\rightarrow$ HTTP Shape Stream | PGlite (WASM Postgres) / TanStack DB | Through-DB Write + Shape Sync | Read-heavy reactive dashboards, embedded PGlite apps |
| PowerSync | Postgres WAL $\rightarrow$ Bucket Sync Rules | OPFS SQLite (Web & Mobile) | Upload Queue + Server Reconciler | Field-service mobile/web apps with multi-day offline |
2. Zero-Latency Optimistic Mutators & Server Reconciliation
Every mutation executes twice:
- Client-Side Optimistic Execution (
T + 0ms): Runs immediately against the local replica inside a transaction, updating reactive UI queries in< 1ms. - Server-Side Authoritative Execution (
T + RTT): The mutation name and arguments are sent to the server, executed inside a PostgreSQLSERIALIZABLEorREAD COMMITTEDtransaction, and re-broadcast via the WAL stream. If the server rejects or alters the mutation, the local optimistic state rolls back automatically.
// src/sync/zero-schema-mutators.ts
import { createSchema, table, string, number, boolean, defineMutators } from '@rocicorp/zero';
import { z } from 'zod';
const issueTable = table('issues')
.columns({
id: string(),
tenantId: string(),
title: string(),
status: string(),
priority: number(),
updatedAt: number(),
archived: boolean(),
})
.primaryKey('id');
export const schema = createSchema({
tables: [issueTable],
});
export type Schema = typeof schema;
export const UpdateIssueStatusArgs = z.object({
id: z.string().uuid(),
tenantId: z.string().uuid(),
status: z.enum(['backlog', 'in_progress', 'in_review', 'done']),
priority: z.number().int().min(0).max(4),
});
export const mutators = defineMutators(schema, {
updateIssueStatus: async (tx, rawArgs: z.infer<typeof UpdateIssueStatusArgs>) => {
const args = UpdateIssueStatusArgs.parse(rawArgs);
const existing = await tx.query.issues
.where('id', '=', args.id)
.where('tenantId', '=', args.tenantId)
.one();
if (!existing) {
throw new Error(`ISSUE_NOT_FOUND: ${args.id}`);
}
await tx.mutate.issues.update({
id: args.id,
status: args.status,
priority: args.priority,
updatedAt: Date.now(),
});
},
});
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today First seen · 154 lines · 78 tokens per session scan A eafee640f8a9
reactive-sync-engine-expert is a skill published in the GitHub repository roedyrustam/vibes-plug (113 stars, last pushed today), licensed MIT. It adds 78 tokens to every session and 1,720 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-24.
Other skills, from other repositories
system-and-data-design
Decide whether the system will hold, and where the data lives: requirements and load first, then back-of-the-envelope numbers, building blocks (cache, queue, load balancer, CDN), and the data layer in depth — storage engines, indexes, replication, partitioning, transactions and consistency, batch vs stream. Use when…
redis
Expert Redis in-memory data store assistance covering data structures, caching, pub/sub, Lua scripts, Redis Streams, and clustering. Use when building ultra-fast caches, rate limiters, session stores, or message queues.
firebase
Expert Firebase & Cloud Firestore assistance covering collection/document models, real-time listeners, security rules, and offline caching. Use when building mobile/web apps with real-time sync and client auth.
supabase
Expert Supabase assistance covering PostgreSQL, Row Level Security (RLS), Edge Functions, Auth, and pgvector. Use when building full-stack web/mobile applications with Postgres backends and instant REST/GraphQL APIs.
bullmq-specialist
BullMQ expert for Redis-backed job queues, background processing, and reliable async execution in Node.js/TypeScript applications. Use when "bullmq, bull queue, redis queue, background job, job queue, delayed job, repeatable job, worker process, job scheduling, async processing, bullmq, bull, redis, queue…
firebase
Firebase gives you a complete backend in minutes - auth, database, storage, functions, hosting. But the ease of setup hides real complexity. Security rules are your last line of defense, and they're often wrong. Firestore queries are limited, and you learn this after you've designed your data model. This skill covers…