# Site Phone Check — Real-Browser PASS/FAIL for Any Website

> Test a website on phones before launch: a script opens your build folder, HTML file or live address in Chromium and Safari's engine at 4 widths and prints PASS or FAIL for sideways scroll, tiny text, small tap targets, broken images, dead links, sticky-header jumps and a dead menu button.

Site Phone Check — Real-Browser PASS/FAIL for Any Website is a paid AI agent skill on Agensi by CryptoJitt, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [CryptoJitt](https://www.agensi.io/creators/cryptojitt)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Version: 1.0
- Last updated: 2026-11-29
- Security: scan passed (2026-11-29); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/site-phone-check-real-browser-pass-fail-for-any-website
- Tags: testing, web-design, mobile, playwright, responsive, website-testing

## About this skill

"Looks fine on my laptop" is how a client finds the bug on their phone. This skill runs one script that loads the site in real browsers and measures the rendered page, then has your agent fix the causes and rerun until PASS.

### What it checks
Chromium and WebKit (the engine behind Safari) at 320, 390, 768 and 1280 wide:
- **Sideways scroll**, naming the element that pokes out
- **Text under 16px** and **tap targets under 44px** (links inside a sentence are exempt, per WCAG 2.5.8)
- **Pictures** that don't load or have no alt text
- **In-page links** to sections that don't exist, and links whose section lands **hidden under a sticky top bar** (it clicks every one)
- **Phone menu button** that won't open a panel of links, or won't close again
- **Script errors, console errors, 404s**, and requests to outside sites you didn't approve
- **Page basics** (lang, viewport tag, title, one h1) and an **axe accessibility scan** (serious and critical only)

### How it works
1. Run `node scripts/site_phone_check.js <folder | file.html | https://address> --shots shots`.
2. It prints FAIL lines, LOOK lines (screenshots, page weight on a phone), then `RESULT: PASS` or `RESULT: FAIL (n to fix)`. Exit code 0 / 1 / 2, so it also works as a CI gate.
3. Your agent fixes causes in the source from the included fix table (scroll offset for sticky bars, 48px tap areas, wrapping tables, real menu button…), reruns until PASS, opens the 390-wide screenshot and replies with a short check card.

### Why this beats prompting it yourself
An agent asked "is this mobile friendly?" reads the code and guesses. This measures the rendered page in two engines, clicks every in-page link, opens and closes the menu, and **never reports PASS for a check that didn't run** (no browser or an unreachable address exits 2 and is listed under "Not checked").

### Example
A sample one-page bakery site went from **FAIL (14 to fix)** to **PASS** in one fix pass. Full real output in the demo.

**Ask your agent:** "check it on a phone", "does my site work on mobile", "is this responsive", "test the site before launch", "make sure the buttons work on phones".

**Not for:** SEO, copywriting, a design critique, or native mobile apps.

### Known limitations
Read-only: it never edits the site, submits forms, taps pay buttons or signs in. It can't judge looks, wording or facts; the skill has your agent look at the screenshot for that. Tests one page per run.

## Requires

- Playwright
- Node.js
- Optional: axe-core (accessibility scan)

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Site Phone Check — Real-Browser PASS/FAIL for Any Website skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Which AI agents or environments are compatible with Site Phone Check?

Any agent that reads SKILL.md files and can run a terminal command (Claude Code, Codex CLI, Cursor and similar). The machine needs Node 18+ and Playwright with Chromium and WebKit. If only one browser is installed, the script runs with it and lists the other under "Not checked".

### How is this better than just asking an AI to review my code for mobile errors?

An agent asked to review code for mobile problems reads the source and guesses. This script loads the page in real browsers at four widths and measures what renders: the actual pixel height of each tap target, the computed font size of every visible line of text, whether the page is wider than the screen, where each in-page link lands under a sticky header, and whether the menu button opens and closes.

### Can I use this to test sites that aren't live yet, or does it only work on public URLs?

Both. Give it a local build folder or a single HTML file (it serves them itself, and applies a Netlify-style _headers file if present) or a live address. Sandboxed agent workspaces sometimes can't load live addresses; then it prints CAN'T BE REACHED instead of a result.

### What exactly is included in the skill purchase?

SKILL.md (when to run it, setup, a fix table for each FAIL type, the check-card template, boundaries), README.md (a worked before/after example with real output), and scripts/site_phone_check.js (the checker). axe-core is not bundled: install it with npm to switch on the accessibility scan.

### Are there any specific mobile testing scenarios that this skill does not cover?

It does not test native apps, pages behind a login, forms that send, payment links, or how the page looks and reads; the skill has your agent open the screenshot for looks. It tests one page per run and does not measure load speed beyond total page weight.

### How difficult is the initial setup process for this skill?

Run once per project folder: npm i --no-save playwright axe-core && npx playwright install chromium webkit. Then: node scripts/site_phone_check.js <folder | file.html | address> --shots shots.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
