Diagnose Playwright Failure as Product Bug
appsmithorg/appsmith
Investigates a stubbornly failing Playwright test as a possible product bug, using error output, screenshots, traces and server code, and writes a structured bug report.
Look at the /sim world page the way a user would — bring up the lab in world mode and the viewer, open the page in headless Chromium, press keys, screenshot it, and READ the screenshot and console.
$ npx skills add jonathanhawkins/microduck-lab --skill sim-smoke -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install jonathanhawkins/microduck-lab sim-smoke --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/jonathanhawkins/microduck-lab.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/sim-smoke .claude/skills/sim-smoke && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "sim-smoke" agent skill from https://github.com/jonathanhawkins/microduck-lab/tree/main/.claude/skills/sim-smoke into .claude/skills/sim-smoke/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sim-smoke", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/jonathanhawkins/microduck-lab/tree/main/.claude/skills/sim-smokeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add jonathanhawkins/microduck-lab --skill sim-smoke -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install jonathanhawkins/microduck-lab sim-smoke --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jonathanhawkins/microduck-lab.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/sim-smoke .agents/skills/sim-smoke && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "sim-smoke" agent skill from https://github.com/jonathanhawkins/microduck-lab/tree/main/.claude/skills/sim-smoke into .agents/skills/sim-smoke/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sim-smoke", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add jonathanhawkins/microduck-lab --skill sim-smoke -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install jonathanhawkins/microduck-lab sim-smoke --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jonathanhawkins/microduck-lab.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/sim-smoke .cursor/skills/sim-smoke && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "sim-smoke" agent skill from https://github.com/jonathanhawkins/microduck-lab/tree/main/.claude/skills/sim-smoke into .cursor/skills/sim-smoke/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sim-smoke", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/jonathanhawkins/microduck-lab.git --path .claude/skills/sim-smoke--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add jonathanhawkins/microduck-lab --skill sim-smoke -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install jonathanhawkins/microduck-lab sim-smoke --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jonathanhawkins/microduck-lab.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/sim-smoke .gemini/skills/sim-smoke && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "sim-smoke" agent skill from https://github.com/jonathanhawkins/microduck-lab/tree/main/.claude/skills/sim-smoke into .gemini/skills/sim-smoke/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sim-smoke", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install jonathanhawkins/microduck-lab sim-smokeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add jonathanhawkins/microduck-lab --skill sim-smoke -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/jonathanhawkins/microduck-lab.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/sim-smoke .github/skills/sim-smoke && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "sim-smoke" agent skill from https://github.com/jonathanhawkins/microduck-lab/tree/main/.claude/skills/sim-smoke into .github/skills/sim-smoke/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sim-smoke", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add jonathanhawkins/microduck-lab --skill sim-smoke -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install jonathanhawkins/microduck-lab sim-smoke --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jonathanhawkins/microduck-lab.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/sim-smoke .opencode/skills/sim-smoke && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "sim-smoke" agent skill from https://github.com/jonathanhawkins/microduck-lab/tree/main/.claude/skills/sim-smoke into .opencode/skills/sim-smoke/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sim-smoke", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
sim-smokeLook at the /sim world page the way a user would — bring up the lab in world mode and the viewer, open the page in headless Chromium, press keys, screenshot it, and READ the screenshot and console.
Sim Smoke is an agent skill from jonathanhawkins/microduck-lab. Look at the /sim world page the way a user would — bring up the lab in world mode and the viewer, open the page in headless Chromium, press keys, screenshot it, and READ the screenshot and console. Use after touching worldserver / world / sensors / brain or the viewer's sim files, whenever "does the page actually render/stream" is the question, and to capture a picture of a scenario for a PR. Trigger on: "smoke test /sim", "screenshot the sim page", "is the world page working", "show me the room".
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `bringup.sh`).
It sits in Testing & QA, covering QA and bug reports. It works with Playwright. The repository describes itself as: Train RL policies for the Pollen Microduck 🦆 on an ordinary Mac, no CUDA GPU, and watch them learn live in the browser. The licence is Apache-2.0.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit bbf0326. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (JavaScript and Shell), which the agent can run.
Shell commands in SKILL.md call:
nodeffmpegcurlbashnpmnpxFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use curl, npm and npx, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Sim Smoke loads about 1.2k tokens when it runs. Until then it costs about 128 tokens; SKILL.md has 550 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from jonathanhawkins/microduck-lab at commit bbf0326, republished under its Apache-2.0 licence (© jonathanhawkins). 550 words, ~1,189 tokens.
.claude/skills/sim-smoke/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Two scripts, both from the repo root:
Bring the stack up (idempotent; --restart relaunches the lab, which
you need after editing any lab Python — the running process holds stale
code):
bash .claude/skills/sim-smoke/bringup.sh living-room --restartEvery launch goes through the restart-servers scripts (restart.sh,
viewer.sh), which start each server in its own session so it outlives
the agent shell — never start the lab with a bare nohup from an agent
shell. This script used to, with setsid as the detach; macOS has none,
so the lab stayed in the tool call's process group, and on 2026-09-10 the
harness reaped a backgrounded call of it and took the lab down with it,
hours after "lab: up". The scenario is then loaded over the lab's own API
(POST /world/load), so the lab is the user's — its roster, its logs.
restart.sh refuses while a teach job is training.
Built-in scenarios: empty-floor, wall-test, living-room, playroom,
pitch, pitch-2v2, pitch-3v3 (GET /scenarios lists saved ones too).
Logs: microduck_local/lab-server.log, duck-viewer/viewer-server.log.
Screenshot the page (needs Playwright; on the web runner it is in the
global node modules and Chromium is at /opt/pw-browsers/chromium; on a
Mac npm i -g playwright && npx playwright install chromium and unset
CHROMIUM_PATH):
node .claude/skills/sim-smoke/shot.mjs --out /tmp/sim.png --keys "Escape"
node .claude/skills/sim-smoke/shot.mjs --keys "1" --out /tmp/sim-d0.png # select duck 1Then Read the PNG and check: the ● live badge (frames flowing),
walls/boxes/ducks present, ToF dots on the surfaces the ducks face, the
inspector heatmap painted, RTF ≈ 1.00 in the top bar. The script prints
the browser console minus dev-server noise — a pageerror line is a bug.
Numbers to trust over the picture: curl -s :8788/world for per-duck falls
and presets, and curl -s :8788/replay/ring | tail -c 600 for the last
recorded frames (once record/replay exists).
Gotchas: never pkill -f duck-lab from an agent shell (the pattern matches
your own command line and kills your shell — and every other lab on the
machine, including another session's scratch lab on its own port;
restart.sh stops only the process listening on :8788); the container has no EGL, so do not set
MUJOCO_GL=egl here; headless software GL is slower than a Mac GPU, so give
the page a few seconds. If a bring-up call ever overruns the tool timeout and
is backgrounded, the servers now survive its reaping — that is the point of
the delegation above.
A screenshot is one instant. For what happened over a minute — a fall, a
stall, a scrum — use the record-world skill instead: it runs the same
scenario headless under a seed and writes an mp4, a contact sheet and an
events log; no browser or running lab needed.
Film the page, when the thing you want is the PAGE and not the physics
— the room's textures, the camera insets, the LiDAR fan, the brain's map
panel. record-world renders raw MuJoCo and none of that is in it, so a
clip for the README comes from here:
node .claude/skills/sim-smoke/film.mjs --url http://localhost:63317/sim \
--out /tmp/film --w 1280 --h 863 --reset moss-yard --skip 37000 --seconds 21
ffmpeg -framerate 60 -t 19 -i /tmp/film/f%05d.jpg \
-vf "setpts=PTS/4,fps=15,scale=720:-1,palettegen=max_colors=64" -y /tmp/p.png
ffmpeg -framerate 60 -t 19 -i /tmp/film/f%05d.jpg -i /tmp/p.png \
-lavfi "setpts=PTS/4,fps=15,scale=720:-1[x];[x][1:v]paletteuse" -y out.gifCDP Page.startScreencast at ~60 fps, so setpts=PTS/4 is a true 4x and
not dropped frames. --reset <scenario> POSTs /world/load AFTER the page
is up, so --skip is measured from t = 0 and a window scouted with
record-world on the same seed lands in the same place. --h is the
WINDOW, not the viewport: Chrome's own chrome eats 143 px, so 863 gives
720 — ask for 720 and you get a 2.11:1 clip where the rest of the README
is 16:9. docs/media/sim-moss-tidy.gif was made with exactly the above.
© jonathanhawkins, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files in .claude/skills/sim-smoke of jonathanhawkins/microduck-lab.
Open the folder on GitHubat commit bbf0326
Sim Smoke next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Sim Smoke this skilljonathanhawkins/microduck-lab | 132 | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Diagnose Playwright Failure as Product Bugappsmithorg/appsmith | 41k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Evidence-Driven Testingmichaelshimeles/skills | 1.3k | 1 repos | ~3.9k | Automated safety check: Pass | None | |
| Verify Omnigent End-to-Endomnigent-ai/omnigent | 11k | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Hands On Testktnyt/cclsp | 675 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Glance TestDebugBase/glance | 156 | — | ~827 | Automated safety check: Pass | MIT |
appsmithorg/appsmith
Investigates a stubbornly failing Playwright test as a possible product bug, using error output, screenshots, traces and server code, and writes a structured bug report.
michaelshimeles/skills
Records an annotated screen recording of the agent testing an app hands-on, then posts the video and a results summary to the PR and tracker issue.
omnigent-ai/omnigent
Spins up an isolated Omnigent server, runner and mock model to prove a user-facing behavior or bug fix with recorded evidence instead of reasoning from code.
ktnyt/cclsp
Performs manual hands-on testing of a web application using playwright-cli.
DebugBase/glance
Run E2E browser tests on any web application using Glance MCP.
keybase/client
Takes a screenshot of a running Electron desktop app through playwright-cli over remote debugging, shrinks it and shows it so you can check the UI visually.
jonathanhawkins/microduck-lab
Record a /sim WORLD scenario — the living room, the playroom tidy loop, a soccer pitch, any scenario JSON — to an mp4, a captioned contact sheet and an events log, headless and under a seed, then…
jonathanhawkins/microduck-lab
Render a microduck policy rollout to video AND to a frame contact sheet with per-frame diagnostics burned in, then READ the sheet to see what the policy actually does.
jonathanhawkins/microduck-lab
Debug the playroom tidy loop (Track 12) — trace one run state by state, see every release, landing and fall with context, and re-measure the walker facts the brain's constants rest on.
jonathanhawkins/microduck-lab
Run the CLOSED training loop on a MOSS/duck policy without a human having to ask "is it done yet": launch through the lab, block until the run finishes, print the standard report and the per-term…
jonathanhawkins/microduck-lab
Restart the microduck dev stack — the duck-lab backend (farm, :8788) and the duck-viewer dev server (:63317).
jonathanhawkins/microduck-lab
Look at what the ACTIVE teach run is practicing right now: renders the live checkpoint under the trainer's own env knobs (actuator, spawn mix, reward gates — read from the live trainer process) and…
Works with
Categories
Look at the /sim world page the way a user would — bring up the lab in world mode and the viewer, open the page in headless Chromium, press keys, screenshot it, and READ the screenshot and console. Sim Smoke is an agent skill from jonathanhawkins/microduck-lab. Look at the /sim world page the way a user would — bring up the lab in world mode and the viewer, open the page in headless Chromium, press keys, screenshot it, and READ the screenshot and console.
Sim Smoke fits situations like: : smoke test /sim; screenshot the sim page; is the world page working; show me the room.
Run `npx skills add jonathanhawkins/microduck-lab --skill sim-smoke -a claude-code`. Or copy the skill folder (.claude/skills/sim-smoke in jonathanhawkins/microduck-lab) into .claude/skills/sim-smoke in your project. Claude Code loads it when a task matches its description.
Run `npx skills add jonathanhawkins/microduck-lab --skill sim-smoke -a codex`. Or copy the skill folder (.claude/skills/sim-smoke in jonathanhawkins/microduck-lab) into .agents/skills/sim-smoke in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jonathanhawkins/microduck-lab --skill sim-smoke -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sim-smoke, .gemini/skills/sim-smoke, .github/skills/sim-smoke and .opencode/skills/sim-smoke in your project.
Going by SKILL.md and its folder, Sim Smoke needs JavaScript and a shell for the scripts in its folder and the command-line tools its instructions call (node, ffmpeg, curl, bash, npm and npx). Our summary lists: Python 3; Node.js; A Bash shell.
SKILL.md contains no URLs. Its commands use curl, npm and npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Sim Smoke is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Sim Smoke: Diagnose Playwright Failure as Product Bug (appsmithorg/appsmith, 41k stars), Evidence-Driven Testing (michaelshimeles/skills, 1.3k stars), Verify Omnigent End-to-End (omnigent-ai/omnigent, 11k stars) and Hands On Test (ktnyt/cclsp, 675 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
jonathanhawkins (a GitHub user) maintains it in jonathanhawkins/microduck-lab, which has 132 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 1, 2026.
Source: jonathanhawkins/microduck-lab on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.