2026-11-26 15:59 UTC

Motion Debugger pairs a browser-based UI critic with an agent design skill

state: expiredheat: lowuncertainty: mediumrelevance: mediumcoding-agents visual-testing ui-designShadowKingYT444

What is this?

Motion Debugger is an MIT-licensed, open-source project by GitHub user ShadowKingYT444. A Show HN post on Nov. 12, 2026 announced it as a workflow for coding agents: a Chromium-based critic captures local web pages and reports visual or motion issues, while a separate “premium-motion” skill guides agents through redesigning and checking sites. The repository documents support for multiple agents and operating systems. Its demos and small A/B study are developer-provided evidence; independent validation or adoption data is not supplied.

Why it matters

It targets a practical gap in AI-generated websites: coding agents can write frontend code but may not reliably judge what the browser actually renders. A repeatable capture-and-repair loop could make agents more useful for visual polish and motion, lowering the effort needed to produce and verify a finished landing page. The broader significance is plausible, but evidence here is limited to the project’s own examples and small study.

Current assessment

New: the project is presented as an available open-source CLI and agent skill, not merely a planned feature. Its browser critic records a local page in Chromium, checks rendered states across scrolling, controls, phone layouts and reduced motion, and returns findings and screenshots for an agent to address and recheck. The skill adds a structured redesign workflow intended to preserve existing facts, links and forms while changing presentation. The repository says it works with a range of coding agents and does not call a model API; installation requires Node.js 22+ for CLI use. The author reports four upgrade demos and a blinded four-pair study favoring plugin-assisted builds, while explicitly noting that four pairs are too few for statistical significance; the earlier 16-pair study reported gains in premium and motion scores but no visual-design gain. These are self-reported results, and the critic’s scores measure defects its own checks detect, not general design quality. No independent benchmark, user adoption evidence or external confirmation is supplied. Worth tracking as an example of agent workflows gaining browser-based feedback, with practical potential to improve frontend iteration but uncertain quality gains beyond the author’s tests.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p17momentum: steady2 platformsage 349h
points/hour across evidence · reading as of 2026-11-26 13:21:28.769082+11:00 · deterministic, not a model opinion

How the heat travelled

11-11 13:00⭐ origin echo-reconstructedThe GitHub repository is the project's original primary artifact; its README describes an open-source workflow combining a premium-motion sk
ShadowKingYT444 on github (echo) · attributed from hn.story.50462023
—
11-12 01:53first on hacker news · published · +12.9hShow HN: Motion Debugger – A browser critic for AI slop
ShadowKingYT444
—
11-12 01:53amplified on hacker news 👑hn.story.50462023
ShadowKingYT444
peak 1 · 0 comments · 104% of case engagement
11-12 02:20our radar first saw it · +13.3hdiscovery anchor: hn.story.50462023—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Motion Debugger – A browser critic for AI slop
Retrieved article excerpt

Open article · Retrieved 2026-11-12T02:21:22.199195+00:00

[Motion Debugger](https://github.com/ShadowKingYT444/motion-debugger/blob/main/docs/assets/wordmark.svg)

### Upgrade a vibe-coded site to premium with your coding agent. Motion first, then taste, checked in a real browser.

[CI](https://github.com/ShadowKingYT444/motion-debugger/actions/workflows/ci.yml)
[MIT license](https://github.com/ShadowKingYT444/motion-debugger/blob/main/LICENSE)
[Node.js 22+](https://camo.githubusercontent.com/8429860523d2bb5c3fa8550774f98784f372c6a0d5ad2623f1cc9b685684f905/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6e6f64652d32322532422d343338353364)
[Works with Claude Code, Cursor, Codex and any agent](https://camo.githubusercontent.com/9f14c45ca4e38fa97f50a8384c8e3a1b640bb69426451390a66aabafb683e17a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f776f726b73253230776974682d436c61756465253230436f6465253230254332254237253230437572736f72253230254332254237253230436f646578253230254332254237253230616e792532306167656e742d666662333364)

[Install](https://github.com/ShadowKingYT444/motion-debugger#install) ·
[Upgrade a site](https://github.com/ShadowKingYT444/motion-debugger#upgrade-a-site) ·
[Commands](https://github.com/ShadowKingYT444/motion-debugger#commands) ·
[The critic](https://github.com/ShadowKingYT444/motion-debugger#the-critic) ·
[Demos](https://github.com/ShadowKingYT444/motion-debugger#four-upgrades) ·
[FAQ](https://github.com/ShadowKingYT444/motion-debugger#faq) ·
[Contribute](https://github.com/ShadowKingYT444/motion-debugger/blob/main/CONTRIBUTING.md)

[A vibe-coded architecture studio site (left) and the same site after one premium-motion upgrade run (right)](https://github.com/ShadowKingYT444/motion-debugger/blob/main/demos/norr/upgrade.gif)
  
Left: a site an agent built from a one-paragraph brief. Right: the same site after a fresh agent (Opus 5.5) ran `premium-motion upgrade` on it. Nothing edited by hand. [All four upgrades](https://github.com/ShadowKingYT444/motion-debugger#four-upgrades).

Every agent-built landing page looks the same: near-black with one neon accent, a headline with an italic word, pill buttons, a bento grid, a logo marquee, and every section fading up the same way. It is not ugly. It just tells everyone a model made it, and nobody looked at it before it shipped.

Motion Debugger gives your agent two things it doesn't have:

- 🎬 **A workflow that rebuilds the look and keeps the truth.** The `premium-motion` skill runs an `upgrade` pipeline: it records a baseline, keeps every fact, link and form, picks a direction from the product's own world, then rebuilds the page around choreographed motion and one cinematic scroll scene. It uses a tested GSAP, ScrollTrigger, SplitText and Lenis stack, or Motion in React projects.
- 👀 **Eyes.** `motion-debugger critique` opens the local page in Chromium, records the entrance, scrolls the whole page, hovers every control, checks the phone layout and reduced motion, and hands the agent ranked fixes plus screenshots of the real frames. The agent looks, fixes and looks again, then compares against the baseline.

## Install

Every line below is one command. They work with any model and any coding agent, and the same commands run on macOS, Linux and Windows (bash, zsh or PowerShell). The CLI and `npx` lines need Node.js 22 or later; the git line needs only git.

**The full setup** (critic, skill and agent configuration). Install, then run `init` in your project:

```
npm install -g https://github.com/ShadowKingYT444/motion-debugger/releases/latest/download/motion-debugger.tgz
```

```
motion-debugger init
```

`init` detects your agent (Claude Code, Cursor, Codex, VS Code, OpenCode), installs the skill, offers to download a matching Chromium, and shows every file it would change before asking you to type `yes`. Nothing is written without that, and your existing settings are kept.

**Just the skill, or just the critic:**

| You want | One line |
| --- | --- |
| The skill, for the agent you use | `npx skills add ShadowKingYT444/motion-debugger --skill premium-motion -a cursor` |
| The skill, in the shared `.agents/skills` folder many agents read | `npx skills add ShadowKingYT444/motion-debugger --skill premium-motion -a universal -y` |
| The skill without Node (bash, zsh) | `mkdir -p .agents/skills && git clone --depth 1 https://github.com/ShadowKingYT444/motion-debugger.git /tmp/motion-debugger && cp -r /tmp/motion-debugger/plugin/motion-debugger/skills/premium-motion .agents/skills/` |
| The skill without Node (PowerShell) | `git clone --depth 1 https://github.com/ShadowKingYT444/motion-debugger.git $env:TEMP\motion-debugger; $null = New-Item -ItemType Directory -Force .agents\skills; Copy-Item -Recurse $env:TEMP\motion-debugger\plugin\motion-debugger\skills\premium-motion .agents\skills\` |
| The critic, with nothing installed | `npx -y -p https://github.com/ShadowKingYT444/motion-debugger/releases/latest/download/motion-debugger.tgz motion-debugger critique http://localhost:3000` |
| A browser for the critic | `motion-debugger setup --browser` |

For `-a`, use your agent's name: `claude-code`, `cursor`, `codex`, `gemini-cli`, `github-copilot`, `windsurf`, `cline`, `roo`, `zed`, `opencode`, `goose`, `kiro-cli`, `amp`, `junie` and about 70 more ([skills CLI](https://github.com/vercel-labs/skills)). An agent that can't run shell commands can still follow the skill; it just can't look at the page.

The critic uses Playwright's Chromium if you downloaded it, then `CHROMIUM_PATH`, then an installed Chrome, Chromium or Edge in the usual place on macOS, Windows or Linux. CI installs the packed CLI on all three and critiques a real page.

**Installing from source?**

```
git clone https://github.com/ShadowKingYT444/motion-debugger.git
cd motion-debugger && npm ci && npm run build && npm install -g .
motion-debugger setup --browser    # version-matched Chromium
motion-debugger doctor
```

More options in [client setup](https://github.com/ShadowKingYT444/motion-debugger/blob/main/docs/CLIENTS.md).

## Upgrade a site

Start your dev server, then tell your agent:

> Use premium-motion upgrade on this site.

What the agent does, from [`commands/upgrade.md`](https://github.com/ShadowKingYT444/motion-debugger/blob/main/plugin/motion-debugger/skills/premium-motion/commands/upgrade.md):

1. **Baseline.** Critiques the page as it is and lists its AI tells.
2. **Inventory.** Writes down what to keep (facts, numbers, CTAs, forms, your logo and colours) and what to replace.
3. **Direction.** Writes `PREMIUM.md`: audience, facts, the product's world, type, colour, imagery and one motion personality.
4. **First viewport.** Rebuilds the hero alone and critiques it until it holds up.
5. **Rebuild.** Works section by section, each laid out from its content instead of eyebrow, bento and marquee.
6. **Signature scene.** Builds one scroll-scrubbed scene that tells the product's story and is finished at every scroll position.
7. **Polish and harden.** Fixes every outlined defect, then the phone layout, reduced motion, accessibility and scroll performance.
8. **Verify.** Critiques again and compares with the baseline side by side.

Narrow targets work too: `upgrade the pricing section`, `signature the how-it-works section`, `polish the footer`.

## Commands

| Command | What it does |
| --- | --- |
| `upgrade [target]` | The full pipeline above: vibe-coded to premium, verified before and after |
| `audit [target]` | Records the page and ranks every AI tell and motion or finish defect. No edits |
| `direction` | Writes `PREMIUM.md`, the design context every other command reads |
| `motion [target]` | Choreographs the hero, reveals, hover, press and transitions in one personality |
| `signature [target]` | Designs and builds one cinematic scroll scene |
| `typeset [target]` | Replaces default type with a system that has character, scale and finish |
| `palette [target]` | Colour, light and depth from the product's world, with a chapter rhythm |
| `imagery [target]` | Rich visuals without stock photos: product renders, generative scenes, live product UI |
| `compose [target]` | Layout, hierarchy and rhythm: one dominant element per frame |
| `polish [target]` | The finish pass: everything the critic outlines, every state, every edge |
| `harden [target]` | Phone layout, reduced motion, accessibility and scroll performance |

The motion code agents copy from the skill is extracted from its Markdown and run in Chromium in CI at desktop, phone and reduced-motion sizes, so the documented snippet is the tested snippet.

## The critic

Run it yourself on anything local:

```
motion-debugger critique http://localhost:3000   # your dev server (Next.js, Vite, …)
motion-debugger critique ./site                  # a folder with index.html, or one .html file
```

It prints findings with fixes, writes contact sheets to `.motion-critique/`, and says what changed since the last run: fixed, new and remaining.

Finish defects outlined on crops of a real page


|  | Finding | What it means |
| --- | --- | --- |
| 🎞️ | Motion checks | No entrance, unstaggered entrance, linear easing, motion that stops after the hero, dead hover, invisible focus, no reduced-motion support, scroll jank, layout shift |
| 🚫 | `stuck-invisible` | Content that never appears, even after a full scroll (the most common agent bug) |
| 🧱 | `text-collision`, `copy-under-sticky` | Copy painted over other copy, or scrolling under a sticky header |
| 🕳️ | `hollow-containers`, `dead-space` | Cards with an empty band inside; screens that are mostly blank |
| 📐 | `near-miss-alignment`, `edge-crowding` | Items a few pixels off their column; copy jammed against the screen edge |
| 📱 | `mobile-overflow`, tap targets, clipped text | A phone layout that is really a squeezed desktop |
| 🤖 | `default-template` | How many of nine default AI-landing-page traits the first screen shares |

Findings come from real Chromium frames, never from reading the source. [Every check and its limits](https://github.com/ShadowKingYT444/motion-debugger/blob/main/docs/PREMIUM-MOTION.md).

## Four upgrades

Four landing pages that Sonnet 5.5 built from one-paragraph briefs with no plugin, the controls from the A/B study below. A fresh Opus 5.5 agent ran `upgrade` on each, with the same prompt. These are single runs to show the workflow, not a blinded comparison, and nobody edited the results. The prompt, the skill version and every recording are in [`demos/upgrades.json`](https://github.com/ShadowKingYT444/motion-debugger/blob/main/demos/upgrades.json).

|  | Critic score before → after | Blocker and major findings | Template traits |
| --- | --- | --- | --- |
| Ledgerline: payments API | 30 → 100 | 2 → 0 | 6 → 1 of 9 |
| Atelier Norr: architecture studio | 8 → 98 | 4 → 0 | 7 → 0 of 9 |
| Halo: wireless speaker launch | 38 → 100 | 3 → 0 | 5 → 0 of 9 |
| Drift: AI sleep coach | 24 → 100 | 3 → 0 | 8 → 0 of 9 |

One critic run per site, made after the agents finished. The agents were working against this critic, so read the score as "the defects it can see are gone", not as a measure of taste. Judge the films.

**Atelier Norr: architecture studio** · [film](https://github.com/ShadowKingYT444/motion-debugger/blob/main/demos/norr/upgrade.mp4)
[Atelier Norr before and after the upgrade](https://github.com/ShadowKingYT444/motion-debugger/blob/main/demos/norr/upgrade-poster.jpg)

**Halo: wireless speaker launch** · [film](https://github.com/ShadowKingYT444/motion-debugger/blob/main/demos/halo/upgrade.mp4)
[Halo before and after the upgrade](https://github.com/ShadowKingYT444/motion-debugger/blob/main/demos/halo/upgrade-poster.jpg)

**Drift: AI sleep coach** · [film](https://github.com/ShadowKingYT444/motion-debugger/blob/main/demos/drift/upgrade.mp4)
[Drift before and after the upgrade](https://github.com/ShadowKingYT444/motion-debugger/blob/main/demos/drift/upgrade-poster.jpg)

**Ledgerline: payments API** · [film](https://github.com/ShadowKingYT444/motion-debugger/blob/mai
ShadowKingYT44410
🟧 echo.github ⭐The GitHub repository is the project's original primary artifact; its README describes an open-source workflow combining a premium-motion skShadowKingYT444——

Interpretation history

Decision trace