One message makes Claude Code restyle an app to Windows 95 — and CSS exfiltration is the catch
gptrv · reddit · 2026-11-19
A developer demoed Brigade, an open-source workspace where each Claude Code session is a teammate with a job. Sending one teammate "Make Brigade look like a 90s desktop" restyled the whole dashboard to Windows 95 in seconds — looks only, undoable.
How it works:
- The teammate is a plain Claude Code session with two extra tools: one returns current themes plus a guide (color tokens, stable selectors), one applies a theme. A theme is a small JSON file — background, accent, fonts, up to 100k chars of CSS written by Claude itself.
- The feature was built by Claude Code teammates across PRs #910/#914/#917.
Two things harder than expected:
- Security: model-written CSS can exfiltrate page content character-by-character via selectors and background images. So the API rejects @import and external url(), and the browser parses the stylesheet first, dropping declarations that could still load anything.
- Missed buttons: Tailwind class names churn every release, so the guide only exposes stable data-look hooks with a test; even then early themes missed always-visible buttons, which are now marked "[always on screen]" for Claude to check one by one.
Brigade is MIT-licensed and runs locally on your existing Claude plan.
More from coding & agent
- Post-acquisition: Cognition's Poke agent gets its own computer and a chat interface — marvinvonhagen · 2026-11-20
- Browserbase uses agents to patch, build, and deploy 40M lines of Chromium code in under a day — blaizedsouza · 2026-11-20
- Eval-driven development: pick your model, retrieval, and agent design by testing, not guessing — blaizedsouza · 2026-11-20
- A bookmark-worthy evals resource pack: general, agentic, skills, and eval-driven development — blaizedsouza · 2026-11-20
- Open-source Harness Engineering course: 14 lectures, 8 projects on making coding agents reliable — blaizedsouza · 2026-11-20
- Google Cloud outlines 5 research-backed patterns for agent orchestration — rseroter · 2026-11-20