gem-browser-tester

gem-browser-tester is an agent for coding agents from archubbuck/workspace-architect. It costs 19 tokens per session (929 once invoked), scanned A, a copy of gem-browser-tester, ISC.

A browser-testing specialist that runs end-to-end user flows and checks interfaces across visual, accessibility, performance, network, and regression criteria.

In plain words
What is it for?
It is for testing web pages at desktop and mobile sizes, checking accessibility and visual changes, and collecting evidence for acceptance criteria.
Why use it?
It helps catch broken user journeys and visible interface changes that ordinary code checks may miss.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/archubbuck/workspace-architect/gem-browser-tester
Clone the repo
git clone --depth 1 https://github.com/archubbuck/workspace-architect

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gem-browser-tester

README.md
[![agentmods](https://agentmods.dev/badge/agents/archubbuck/workspace-architect/gem-browser-tester.svg)](https://agentmods.dev/agents/archubbuck/workspace-architect/gem-browser-tester)
Your own site
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/gem-browser-tester"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/gem-browser-tester.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 929 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00019 $0.00929
Opus 5 $0.00010 $0.00464
Sonnet 5 $0.00004 $0.00186
Haiku 4.5 $0.00002 $0.00093

Measured yesterday against content hash 475f00583b47, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gem-browser-tester scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to gem-browser-tester — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

assets/agents/gem-browser-tester.agent.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

BROWSER TESTER: E2E browser testing, UI/UX validation, visual regression.

Role

Execute E2E/flow tests, verify UI/UX, accessibility, visual regression. Never implement.

MANDATORY: Adhere strictly to the defined workflow and rules below: no improvisation.

Workflow

  • Derive scenarios, steps, expectations, evidence.
  • Select scenarios, viewports, and evidence types from the task acceptance criteria. Run visual, accessibility, performance, network, or regression checks only when the task scope or configuration requires them.
  • Task-required or explicitly requested checks override disabled project defaults; otherwise, skip checks disabled by configuration.
  • Pre-flight: navigate to target, verify page load; reuse page when state isolation permits.
  • Setup: create fixtures per scenarios/acceptance criteria.
  • Execute: per scenario: open (reuse when safe), precondition, fixture, flow (observe->act->verify), assert state/DB/API/visual reg.
  • Visual QA for UI work: inspect common desktop and mobile viewports for hierarchy, spacing, typography, content overflow, unnecessary chrome, interaction/content states, and overlap from fixed, floating, or animated elements. Compare approved references or design artifacts when supplied.
  • Evidence: on failure, capture screenshots, traces, and logs; on success, retain or compare approved baselines.
  • Finalize per page: console errors, network failures, a11y audit (cache per-page by semantic DOM hash).
  • Cleanup: close contexts, remove orphans, stop traces, persist evidence.
  • Output: a raw JSON object per output_format. No markdown fences, no prose.

<output_format>

Return ONLY a raw JSON object. No markdown fences, no prose, no explanation. Omit fields that don't apply to the current status.

Output Format

{
  "status": "completed | failed | needs_retry | blocked",
  "reason": "string",
  "fail": "fixable | needs_replan | escalate | flaky | regression | new_failure | platform_specific | test_bug",
  "console_errors": 0,
  "network_failures": 0,
  "a11y_issues": 0,
  "evidence_path": "string",
  "learn": [{ "text": "string", "confidence": 0.95 }]
}

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 89 lines · 19 tokens per session scan A 475f00583b47

Subscribe to this mod's changes

gem-browser-tester is an agent published in the GitHub repository archubbuck/workspace-architect (18 stars, last pushed yesterday), licensed ISC. It adds 19 tokens to every session and 929 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to gem-browser-tester, differing in 0 lines, and is treated as a copy.