Feature Library

How it was built

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.

Agent
Claude Code 2.1.326
Model
Claude Opus 5.5
Calls to the library
38
First build
50 min38 calls, brief to a working page
Kit
game, playful
Page shape
GameThe harbour fills the screen and the centre is kept for play; the HUD keeps to the corners, banners to the top edge, and play starts within two presses.
Look
Deep Exposure
Level
inspiredAt the inspired level it is the build's own tokens carrying the look's character, never its name: the harbour replaces the look's star-sky backdrop, and the keeper's log adds a handwritten face from the system's own fonts.

The brief it was given

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.

In rounds

  1. First build 50 min · 38 calls

    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.

What it did

  1. Read the rules4 calls · 11:38:11

    The agent protocol first: how to plan, read, install and check.

    • rules.md
  2. Planned the build2 calls · 11:40:58

    A kit for this kind of build, with a tone applied.

    • game, playful
    • page shape: Game
  3. Looked for parts5 calls · 11:41:48

    Searched by the job, not by a name.

    • “hundreds of enemies swarming the player in a 2D top-down arena, drawn cheaply”
    • “juicy hit feedback: hit-stop, screen shake, knock-back, impact flash and sparks”
    • “light beam through drifting fog with glow and bloom in a dark 2D scene”
    • “sound effects for hits, kills and pickups synthesised in the browser”
    • “score screen with best score and play again, readable by a screen reader”
  4. Read the cards3 calls · 11:41:55

    Each part’s card and every pitfall before using it.

    • Reskin seam for 2D games and visual apps
    • GPU capability tiers
    • Play input for couch and party games
  5. Read the playbooks7 calls · 11:42:19

    How the parts are placed, moved and made accessible, and why.

    • Performance budgets
    • Scenes that hold up
    • Motion and feel
    • Accessibility baseline
    • Placement and layout
    • Page shapes
    • Layouts that never break
  6. Looked for parts1 call · 11:42:26

    Searched by the job, not by a name.

    • “a look for a dark night-time game menu and HUD: lantern light, deep blacks, warm”
  7. Planned the build1 call · 11:42:29

    A kit for this kind of build, with a tone applied.

    • game, playful
  8. Read the cards3 calls · 11:44:04

    Each part’s card and every pitfall before using it.

    • Synthesised UI sounds
    • Accessible dialogs: modal, sheet, confirm
    • Effects switchboard
  9. Installed6 calls · 11:44:27

    The module files, each marked with the licence.

    • Reskin seam for 2D games and visual apps@1.0.0
    • Play input for couch and party games@1.0.1
    • Effects switchboard@1.0.1
    • GPU capability tiers@1.1.0
    • Synthesised UI sounds@1.0.0
    • Accessible dialogs: modal, sheet, confirm@1.0.1
  10. Checked5 calls · 12:19:36

    Versions, licences and the checklist before calling it done.

The parts it took

The playbooks it followed

  • Performance budgets Counts per tier written down before measuring; the busiest wave measured at p50, p95 and p99 on the real GPU: about 2.6 ms at worst on the reference laptop, against 16.7 ms.
  • Scenes that hold up Checked from the camera that plays and in motion, which turned up the readability fixes: eyes on the creatures, brighter embers, less glare.
  • Motion and feel Named durations, only transform and opacity; Motion off (or the system's reduced motion) stops shake and flashes and the game still plays.
  • Accessibility baseline A ring on every control, switches that say their state in words, a polite live region for what happens, and menus and the log that work with a screen reader.
  • Placement and layout The HUD in the corners, the centre for play, warnings on the top edge, menus over the paused world.
  • Page shapes Read in full.
  • Layouts that never break HUD figures in tabular numbers with reserved widths, so nothing moves as the score climbs; the store's layout probe at 1440 and 375 found nothing moving.

What it built itself

The glue between the parts, which the rules ask to be clean modules of its own.

  • The night itself, the new centrepiece: a director that builds the crowd from every side with surges every 30 seconds and leviathans, four kinds of creature with their own movement, a beam that burns the nearest few in its cone in pulses, a foghorn shockwave, embers with a magnet, and a ten-step upgrade ladder.
  • The ferries that cross the harbour and get home only while the light holds, and the keeper's log at the end of every night: the score, the best night, a chart of the night's harbour with the lantern's wake, and the facts in words.
  • A Night skin for the library's renderer: the harbour, the fog, the lighthouse and hundreds of glowing creatures in three instanced layers with 2D lighting and bloom.
  • The game feel: a camera that follows with a lead and shakes by trauma, hit-stop, and synthesised sounds whose pitch climbs with the combo.
  • The HUD, the banner queue, the menus and the switches, on the library's dialog and effects parts.

Design decisions

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.

  • two: ui-sounds for menus and milestones, and the game's own synth for play, rather than “ui-sounds pitfall: one AudioContext per app”: ui-sounds has no game sounds and its table is the part's own; both follow its rules (gesture, throttle, voice cap, hidden, the Sound switch).
  • the rules use Math.sin/cos/atan2, rather than “play-input pitfall: determinism in step()”: single-player, no network lockstep or cross-machine replay; the fixed clock and latch are what is used.
  • the title shows the live harbour while Motion is on, rather than “performance: ambient motion rests”: the Game shape's first screen is the game's own world; it rests after 90 s idle, under reduced motion, while paused and on the log.
  • also the game's Motion switch, via the part's --adlg-from hook, rather than “accessible-dialog: reduced motion from the system setting”: the player's own switch should reach every motion in the game.

What we found to improve

  • A crowd for 2D action gamesFixed

    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.

  • A spatial grid for 2DFixed

    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.

  • Game feel for 2DFixed

    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.

  • A wave directorFixed

    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.

  • Game sound effectsFixed

    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.

  • A game HUD and a pause menuFixed

    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.

  • A kit for 2D actionFixed

    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.

Every call, in order (38)
TimeAskedWithAnswerms
11:38:11server/discoverNo method server/discover.0
11:38:11initialize{"protocolVersion":"2025-11-25"}0
11:38:11tools/list{"tools":11}0
11:38:11resources/list0
11:38:22get_brief{}{"rules":"79e578f49956"}27
11:40:58get_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:58get_shape{"id":"game"}{"id":"game","name":"Game"}6
11:41:48find_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-contr77
11:41:48find_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","w87
11:41:48find_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","volumetri167
11:41:48find_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"],"fits231
11:41:48find_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-co287
11:41:55get_part{"id":"skin-seam"}{"id":"skin-seam","licensed":true,"version":"1.0.0","pitfalls":16}12
11:41:55get_part{"id":"capability-tiers"}{"id":"capability-tiers","licensed":true,"version":"1.1.0","pitfalls":13}13
11:41:55get_part{"id":"play-input"}{"id":"play-input","licensed":true,"version":"1.0.1","pitfalls":13}15
11:42:19get_playbook{"id":"performance"}{"id":"performance","title":"Performance budgets"}6
11:42:19get_playbook{"id":"scenes"}{"id":"scenes","title":"Scenes that hold up"}9
11:42:19get_playbook{"id":"motion"}{"id":"motion","title":"Motion and feel"}9
11:42:19get_playbook{"id":"accessibility"}{"id":"accessibility","title":"Accessibility baseline"}9
11:42:21get_playbook{"id":"placement"}{"id":"placement","title":"Placement and layout"}4
11:42:21get_playbook{"id":"page-shapes"}{"id":"page-shapes","title":"Page shapes"}6
11:42:21get_playbook{"id":"resilient-layout"}{"id":"resilient-layout","title":"Layouts that never break"}7
11:42:26find_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:29get_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:04get_part{"id":"ui-sounds"}{"id":"ui-sounds","licensed":true,"version":"1.0.0","pitfalls":8}33
11:44:04get_part{"id":"accessible-dialog"}{"id":"accessible-dialog","licensed":true,"version":"1.0.1","pitfalls":10}17
11:44:04get_part{"id":"effects-switchboard"}{"id":"effects-switchboard","licensed":true,"version":"1.0.1","pitfalls":10}17
11:44:27install{"id":"skin-seam","version":"1.0.0"}{"id":"skin-seam","version":"1.0.0","files":16,"left":0}36
11:45:00install{"id":"play-input","version":"1.0.1"}{"id":"play-input","version":"1.0.1","files":14,"left":0}33
11:45:00install{"id":"effects-switchboard","version":"1.0.1"}{"id":"effects-switchboard","version":"1.0.1","files":7,"left":0}77
11:45:00install{"id":"capability-tiers","version":"1.1.0"}{"id":"capability-tiers","version":"1.1.0","files":4,"left":0}78
11:45:00install{"id":"ui-sounds","version":"1.0.0"}{"id":"ui-sounds","version":"1.0.0","files":2,"left":0}78
11:45:00install{"id":"accessible-dialog","version":"1.0.1"}{"id":"accessible-dialog","version":"1.0.1","files":6,"left":0}82
12:19:36get_check{}{"listed":1}2
12:19:38get_check{"id":"layout-probe"}{"id":"layout-probe","version":"1.3.0"}3
12:24:53check{}{"rules":"79e578f49956","catalogue":"2026-11-21T11:27:50.245Z","licensed":true}16
12:25:07check{"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:28check{"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