Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/stevengonsalvez-expect-test
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, backend, testing, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/expect-test
What's inside
- Skill name
expect-test- Description
- AI-powered browser testing using expect-cli. Auto-detects dev server, reads git diff, generates and executes browser tests via Playwright. Use when you need to verify UI changes in a real browser, test user flows, or validate fixes visually. Trigger on "test this in the browser", "verify the UI", "run expect", "browser test", or after completing UI fixes.
- License
- MIT
- Instructions
- 468 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# Expect Test — AI Browser Testing Run AI-generated browser tests against your dev server using [expect-cli](https://github.com/millionco/expect). No test files to write — the AI reads your git diff, generates a test plan, and executes it in a real Playwright-driven browser. ## When to Use - After making UI changes — verify they work visually - After fixing bugs — confirm the fix in a real browser - To test user flows (login, navigation, forms) - As part of `/validate` to add browser verification - When you need visual confirmation, not just build passes ## Prerequisites Requires Claude Code (already running if you're reading this). ## Setup & Installation ```bash # Check if expect-cli is installed if ! command -v expect-cli &>/dev/null; then echo "Installing expect-cli..." npm install -g expect-cli@latest fi # Verify expect-cli --version ``` ### First-run Playwright browser install (gotcha) expect-cli ships with its OWN pinned `playwright-core` version. The system-wide `npx playwright install` installs whatever's LATEST, which expect-cli won't find. First-run symptom: ``` Failed to launch browser: ... Executable doesn't exist at .../chromium_headless_shell-1217/... ``` **Fix** — install via expect-cli's bundled playwright: ```bash # Headed mode (uses chromium) node $(npm root -g)/expect-cli/node_modules/playwright-core/cli.js install chromium # Headless mode (uses chromium-headless-shell) node $(npm root -g)/expect-cli/node_modules/playwright-core/cli.js install chromium-headless-shell ``` That downloads the exact version expect-cli pins. **Without this, the TUI's LLM-driven planner will detect the missing binary and wander into setup/install tangents that burn 2-3 minutes of tokens on `npx playwright install` + `ls node_modules` + project introspection BEFORE running any actual browser step.** ## Usage ### Auto-detect changes and test ```bash # Test unstaged changes (default) — auto-detects dev server expect-cli # Test with a specific instruction expect-cli -m "test the login flow works correctly" # Test a whole branch diff expect-cli -t branch # Skip plan review (CI mode) expect-cli -y # Show browser window during test expect-cli --headed # Verbose logging expect-cli --verbose ``` ### Targeted testing ```bash # Test specific feature expect-cli -m "verify the Future/Past toggle on events calendar switches views correctly" # Test a fix expect-cli -m "confirm the modal has a solid dark background, not transparent" # Test a flow expect-cli -m "sign in as coach, navigate to perform, check events show only future events" ``` ## Running in tmux (for agents) **Always run in tmux** — expect-cli `tui` has an interactive TUI that blocks the terminal. ### CLI syntax changed — use the `tui` subcommand Recent expect-cli versions (≥0.1.2) moved the test runner under the `tui` subcommand. `expect-cli -m "..."` without `tui` will print `error: unknown option '-m'`. ```bash # ✅ CORRECT — tui subcommand expect-cli tui -m "short description" --browser-mode headed -y # ❌ WRONG on v0.1.2+ expect-cli -m "short description" --headed -y ``` ### TUI is deprecated — prefer the MCP server going forward On first run, expect-cli prints a banner: > ⚠ The TUI is deprecated. Use /expect from your coding agent instead. Run `npx expect-cli@latest init` to set up. For new projects, install the MCP server (`expect-cli init`) so Claude Code can call the atomic tools (`expect open`, `expect screenshot`, `expect network_requests`, etc.) directly. The `tui` command still works but will be removed in a future release. ### Safe pattern for long missions (the ONLY way that's robust) Put the mission in a file via heredoc. Inline `-m "..."` strings with apostrophes, embedded double-quotes, or newlines break the shell chain: `tmux send-keys` → `bash -c` → expect-cli argv parser. Symptom: `error: too many arguments for 'tui'. Expected 0 arguments but got 4`.
From stevengonsalvez/ainb-toolkit, MIT.
More from stevengonsalvez/ainb-toolkit
- 0.592score
export
stevengonsalvez
Turn a finished demo into what people see outside a video player - a README bundle (a looping GIF, an animated WebP and a poster PNG plus a ready `<picture>`…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
brag
stevengonsalvez
Turn the project in the current directory into a short, shareable launch video, by delegating to the upstream brag skill.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
illustration:popa
stevengonsalvez
Generate intricate hand-drawn sketchnote illustrations starring Popa, a cute pink blob with a green sprout and a notepad, on soft pastel scenes.
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
capture
stevengonsalvez
Film a real web app, logged in or public, SPA or multi-page, as clean re-recordable product footage.
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
illustration
stevengonsalvez
Generate intricate hand-drawn sketchnote illustrations starring Popa (a pink blob with a green sprout and a notepad).
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
agytoggle
stevengonsalvez
Multi-account credential manager and profile switcher for the Antigravity CLI (agy).
SkillAFreshness: A★ 1Claude Code +9 - 0.579score
compose
stevengonsalvez
Turn captured product footage into a finished demo video - a 1440p60 master with the app in a framed window on a themed backdrop, a feathered spotlight that…
SkillAFreshness: A★ 1Claude Code +9 - 0.557score
test-writer-fixer
stevengonsalvez
Write tests for code that has none, and repair tests that broke, without weakening what they check.
SkillAFreshness: A★ 1Claude Code +9 - 0.552score
godmode
stevengonsalvez
Autonomous product factory.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
adopt
stevengonsalvez
Index the agent lanes that already exist into a programme's lanes.jsonl, reading each terminal to classify it and its context use.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
retire
stevengonsalvez
Remove a finished lane's worktree through Orca, only once it is merged, clean and idle.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
handover
stevengonsalvez
Generate HANDOVER.md from a programme's index files and release the owner lock so another session, on any harness, can pick the programme up.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 1
- Open issues
- 4
- Last commit (this folder)
- Sep 4, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/stevengonsalvez/ainb-toolkit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from stevengonsalvez
- 0.592score
export
stevengonsalvez
Turn a finished demo into what people see outside a video player - a README bundle (a looping GIF, an animated WebP and a poster PNG plus a ready `<picture>`…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
brag
stevengonsalvez
Turn the project in the current directory into a short, shareable launch video, by delegating to the upstream brag skill.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
illustration:popa
stevengonsalvez
Generate intricate hand-drawn sketchnote illustrations starring Popa, a cute pink blob with a green sprout and a notepad, on soft pastel scenes.
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
capture
stevengonsalvez
Film a real web app, logged in or public, SPA or multi-page, as clean re-recordable product footage.
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
illustration
stevengonsalvez
Generate intricate hand-drawn sketchnote illustrations starring Popa (a pink blob with a green sprout and a notepad).
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
agytoggle
stevengonsalvez
Multi-account credential manager and profile switcher for the Antigravity CLI (agy).
SkillAFreshness: A★ 1Claude Code +9
Cite this page
expect-test skill. Agent Mart. https://agentmart.dev/skills/stevengonsalvez-expect-test (last updated 2026-10-24)