Island Mode Server
Description
Agent Skill: build an on-premise island-mode fallback server — live two-way RxDB replica of Firestore, LAN failover for kiosk/staff PWAs when the internet drops, reconnect flush with idempotent cloud ingestion, HMAC hardware auth, systemd/nginx on-site ops — Node/NestJS local server, Firestore cloud
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
island-mode-server
An [Agent Skill](https://agentskills.io) that teaches an agent to build an **on-premise fallback server** — a Node box at a physical site holding a live two-way replica of that site's slice of Firestore, which takes over serving LAN terminals when the internet drops and flushes offline work back on reconnect. Local server is Node/NestJS + RxDB; the cloud is Firestore with Next.js route handlers as the reference API, both stated as substitutable.
While the internet is up the box is invisible: it replicates in the background and heartbeats so the cloud knows it is alive. When the cloud stops answering, kiosk and staff PWAs on the LAN switch their API base URL to it and the site keeps taking bookings, moving stock and toggling hardware from the replica.
The insight that shapes the whole skill: **sync is two systems, not one.** Document-level RxDB replication keeps state current but cannot run the cloud's business logic; an HTTP flush of business events on reconnect runs that logic — atomic stock increments, audit ingestion — but keeps nothing current. Neither path alone is sufficient, and both are keyed on client-generated IDs so their overlap converges instead of double-counting.
Extracted from a production shooting-range management system: a NestJS + RxDB local server deployed at physical range locations, replicating 8 Firestore collections for a Next.js 16 cloud app, with kiosk/staff PWA terminals and HMAC-authenticated lock hardware. The templates are **hardened, not faithful**: ten defects found during the extraction audit are fixed in the code shown, and every deviation — including what was designed but never run in production — is recorded in [`references/provenance.md`](references/provenance.md).
Install
One command, via [skills.sh](https://www.skills.sh) — the open Agent Skills directory. Its [CLI](https://github.com/vercel-labs/skills) resolves a GitHub repository directly, so this works today, with no manual clone and no per-age
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11