TechniquesNewReskin seam for 2D games and visual apps
A contract that lets one simulation wear any number of looks.
An agent built the wickwatch from the library alone, through the store’s agent feed. This is what it asked for, in order, and what we learned from watching it.
Build a small action game for the browser that people play once and then show their friends, with invented names only. The player moves and fights against a crowd, dozens to hundreds on screen at once, in waves that build. Every hit is felt: impact flashes, particles, small screen shake, hit-stop, knock-back, and power that grows over a run. Short runs of a few minutes that end clearly and make you want another. Something personal, so it feels made by someone. Mind-blowing yet smooth: a steady 60 fps on the reference laptop in the busiest wave, a lighter phone tier with touch, a fallback without WebGPU, reduced motion with no shake or flashes, under about 2 MB to download. Concept first: two or three directions shown to the owner before building.
A fresh session in an empty folder on the owner's machine. Its only way into the library was the store's agent feed (MCP), with a test licence for the whole library; it was told not to open the library's own folder. It settled the concept before looking at the catalogue and showed the owner three directions; the owner picked one and the agent built it. Every call it made was recorded, and that record is what this page is made from. The brief described what the game must do, never which parts to use.
From the brief to a finished game: the rules, three directions for the owner, a kit and searches, seven playbooks, every pitfall read, six parts installed, the build, a balance pass with bots playing whole nights, the frame measured in Chrome, and the store's check passed. About three minutes of it the local store was stopped, which the agent waited out.
The agent protocol first: how to plan, read, install and check.
A kit for this kind of build, with a tone applied.
Searched by the job, not by a name.
Each part’s card and every pitfall before using it.
How the parts are placed, moved and made accessible, and why.
Searched by the job, not by a name.
A kit for this kind of build, with a tone applied.
Each part’s card and every pitfall before using it.
The module files, each marked with the licence.
Versions, licences and the checklist before calling it done.
The glue between the parts, which the rules ask to be clean modules of its own.
Where it chose differently from the library’s defaults, and why. The person’s wishes come first; only accessibility, the licence and a layout that holds still are fixed.
Hundreds of creatures with their own steering, kept apart, clinging round a target without stacking: the library had 3D crowds and squads, nothing for a 2D swarm, so the agent built it.
A 2D crowd part: typed-array columns, kinds with their own steering, separation through a grid. Now in the library as crowd-2d, part of its 2D action kit.
Hit tests between hundreds of bodies need a grid; the library's ray grid is three.js and 3D.
A uniform 2D grid rebuilt each tick, with allocation-free circle queries. Now in the library as spatial-grid-2d, part of its 2D action kit.
Shake, hit-stop and a follow camera are in every action game; the library's cameras are three.js and third-person.
Trauma shake, hit-stop and a camera with a lead, gated by the Motion switch. Now in the library as game-feel-2d, part of its 2D action kit.
The crowd curve over a run, groups from beyond the view, timed surges and set pieces were all written by hand.
A director part: phases, curves and spawns as data. Now in the library as wave-director, part of its 2D action kit.
The library's sounds are for interfaces and shows; hits, kills, pickups and a game over were synthesised by hand.
Game sounds on the same rules as the interface sounds. Now in the library as game-sfx, part of its 2D action kit.
Meters, figures that don't move, a banner queue, a live region, and a pause and settings menu: already gaps in the game kit.
A HUD kit and a pause menu on the dialog and effects parts. Now in the library as game-hud and game-menus, part of its 2D action kit.
The game kit is 3D-first (three.js cameras, terrain, foliage); a 2D game needed its parts found one by one.
Done: the library built its 2D action kit from these gaps (2d-action), with Swarm run as its game; get_kit("2d-action") now plans a game like this in one call.
| Time | Asked | With | Answer | ms |
|---|---|---|---|---|
| 11:38:11 | server/discover | | No method server/discover. | 0 |
| 11:38:11 | initialize | {"protocolVersion":"2025-11-25"} | | 0 |
| 11:38:11 | tools/list | | {"tools":11} | 0 |
| 11:38:11 | resources/list | | | 0 |
| 11:38:22 | get_brief | {} | {"rules":"79e578f49956"} | 27 |
| 11:40:58 | get_kit | {"purpose":"an action game for the browser: many enemies, juicy hits, short runs","tone":"playful","platform":"desktop"} | {"shapes":["game"],"kit":"game","tone":"playful","parts":["appearance-theme","site-shell","accessible-dialog","menu-skins","tabs-tooltips"," | 31 |
| 11:40:58 | get_shape | {"id":"game"} | {"id":"game","name":"Game"} | 6 |
| 11:41:48 | find_parts | {"job":"hundreds of enemies swarming the player in a 2D top-down arena, drawn cheaply","platform":"laptop","limit":8} | {"platform":"laptop","total":100,"parts":["play-input","skin-seam","game-cameras","gpu-foliage","stone-inlay","video-textures","canvas-contr | 77 |
| 11:41:48 | find_parts | {"job":"juicy hit feedback: hit-stop, screen shake, knock-back, impact flash and sparks","platform":"laptop","limit":8} | {"platform":"laptop","total":144,"parts":["impact-plates","panel-choreography","chart-access","throw-to-commit","cue-console","ui-sounds","w | 87 |
| 11:41:48 | find_parts | {"job":"light beam through drifting fog with glow and bloom in a dark 2D scene","platform":"laptop","limit":8} | {"platform":"laptop","total":140,"parts":["skin-seam","lamp-lights","lit-height-fog","prism-light","light-sheets","phosphor-beam","volumetri | 167 |
| 11:41:48 | find_parts | {"job":"sound effects for hits, kills and pickups synthesised in the browser","platform":"laptop","limit":6} | {"platform":"laptop","total":41,"parts":["ui-sounds","comic-text","effects-switchboard","audio-engine","impact-plates","ring-effects"],"fits | 231 |
| 11:41:48 | find_parts | {"job":"score screen with best score and play again, readable by a screen reader","platform":"laptop","limit":6} | {"platform":"laptop","total":129,"parts":["world-pinned-labels","play-input","slide-show-player","chart-access","connectors-layouts","cue-co | 287 |
| 11:41:55 | get_part | {"id":"skin-seam"} | {"id":"skin-seam","licensed":true,"version":"1.0.0","pitfalls":16} | 12 |
| 11:41:55 | get_part | {"id":"capability-tiers"} | {"id":"capability-tiers","licensed":true,"version":"1.1.0","pitfalls":13} | 13 |
| 11:41:55 | get_part | {"id":"play-input"} | {"id":"play-input","licensed":true,"version":"1.0.1","pitfalls":13} | 15 |
| 11:42:19 | get_playbook | {"id":"performance"} | {"id":"performance","title":"Performance budgets"} | 6 |
| 11:42:19 | get_playbook | {"id":"scenes"} | {"id":"scenes","title":"Scenes that hold up"} | 9 |
| 11:42:19 | get_playbook | {"id":"motion"} | {"id":"motion","title":"Motion and feel"} | 9 |
| 11:42:19 | get_playbook | {"id":"accessibility"} | {"id":"accessibility","title":"Accessibility baseline"} | 9 |
| 11:42:21 | get_playbook | {"id":"placement"} | {"id":"placement","title":"Placement and layout"} | 4 |
| 11:42:21 | get_playbook | {"id":"page-shapes"} | {"id":"page-shapes","title":"Page shapes"} | 6 |
| 11:42:21 | get_playbook | {"id":"resilient-layout"} | {"id":"resilient-layout","title":"Layouts that never break"} | 7 |
| 11:42:26 | find_parts | {"job":"a look for a dark night-time game menu and HUD: lantern light, deep blacks, warm glow","limit":3} | {"platform":"reference","total":162,"parts":["skin-seam","lamp-lights","probe-lighting"],"fits":["skin-seam","lamp-lights","probe-lighting"] | 100 |
| 11:42:29 | get_kit | {"purpose":"game","level":"tuned","tone":"playful"} | {"shapes":["game"],"kit":"game","tone":"playful","parts":["appearance-theme","site-shell","accessible-dialog","menu-skins","tabs-tooltips"," | 4 |
| 11:44:04 | get_part | {"id":"ui-sounds"} | {"id":"ui-sounds","licensed":true,"version":"1.0.0","pitfalls":8} | 33 |
| 11:44:04 | get_part | {"id":"accessible-dialog"} | {"id":"accessible-dialog","licensed":true,"version":"1.0.1","pitfalls":10} | 17 |
| 11:44:04 | get_part | {"id":"effects-switchboard"} | {"id":"effects-switchboard","licensed":true,"version":"1.0.1","pitfalls":10} | 17 |
| 11:44:27 | install | {"id":"skin-seam","version":"1.0.0"} | {"id":"skin-seam","version":"1.0.0","files":16,"left":0} | 36 |
| 11:45:00 | install | {"id":"play-input","version":"1.0.1"} | {"id":"play-input","version":"1.0.1","files":14,"left":0} | 33 |
| 11:45:00 | install | {"id":"effects-switchboard","version":"1.0.1"} | {"id":"effects-switchboard","version":"1.0.1","files":7,"left":0} | 77 |
| 11:45:00 | install | {"id":"capability-tiers","version":"1.1.0"} | {"id":"capability-tiers","version":"1.1.0","files":4,"left":0} | 78 |
| 11:45:00 | install | {"id":"ui-sounds","version":"1.0.0"} | {"id":"ui-sounds","version":"1.0.0","files":2,"left":0} | 78 |
| 11:45:00 | install | {"id":"accessible-dialog","version":"1.0.1"} | {"id":"accessible-dialog","version":"1.0.1","files":6,"left":0} | 82 |
| 12:19:36 | get_check | {} | {"listed":1} | 2 |
| 12:19:38 | get_check | {"id":"layout-probe"} | {"id":"layout-probe","version":"1.3.0"} | 3 |
| 12:24:53 | check | {} | {"rules":"79e578f49956","catalogue":"2026-11-21T11:27:50.245Z","licensed":true} | 16 |
| 12:25:07 | check | {"clipped":true,"text":"{\"evidence\":{\"layout\":[{\"check\":\"layout\",\"what\":\"HUD stepped from empty to its longes | {"rules":"79e578f49956","catalogue":"2026-11-21T11:27:50.245Z","licensed":true,"done":false,"mustFix":1,"worthALook":1,"decisions":[{"rule": | 11 |
| 12:25:28 | check | {"clipped":true,"text":"{\"evidence\":{\"layout\":[{\"check\":\"layout\",\"what\":\"title switches flipped and back\",\" | {"rules":"79e578f49956","catalogue":"2026-11-21T11:27:50.245Z","licensed":true,"done":true,"mustFix":0,"worthALook":0,"decisions":[{"rule":" | 5 |