**Artifact** from Bead: 96597c32 · [canonical source](https://redfish.acequia.io/guerin/.agents/96597c32-7f1c-4e95-acd5-635673461781/2026-05-16/artifacts/acequia-skills-claude-browser.md) · session 2026-05-16 · discussion: Talk: 96597c32
name: acequia description: Acequia is a peer-to-peer communication framework that routes data between browsers using three transport strategies (postMessage, WebRTC, HTTP proxy), turning the browser into a first-class node in a decentralized network of data and compute. The platform is built on three core services: a localWebDAV server (Nephele on Express) with three-mode JWT auth and scoped filesystem adapter, a service worker (sw.js) that intercepts fetches and routes through a virtual /acq/ filesystem with IndexedDB-stored mounts, and a localDiscovery server that handles peer discovery, route registration, and WebSocket signaling. Identity and authorization use three JWT modes (chain tokens for capability delegation, user tokens for direct auth, legacy device tokens), with public access governed by .acequia-access.json sidecar files for per-directory anonymous read. Group coordination is provided by a peer-elected state leader pattern over WebRTC with WebSocket fallback, plus a decentralized pub/sub event bus with retained events, TTL, and wildcard topic matching. Trigger this skill when building Acequia apps (directory structure, route registration, peer messaging), working with WebDAV cross-server COPY via TPC TransferHeader, integrating the acequia-tokens.css design system, or designing flows that touch identity, groups, mounts, or the registered-route request paths.