mobile-check

mobile-check is a command for coding agents from eddiebelaval/squire. It costs 0 tokens per session (397 once invoked), scanned A, original, MIT.

A mobile-readiness audit for web pages using automated browser checks. It tests pages at phone-sized screens and can also check very small phone or tablet widths.

In plain words
What is it for?
Use it to check one route or several routes for mobile layout, touch targets, forms, fixed elements, console errors, and network issues.
Why use it?
It finds layout overflow, unsuitable text or controls, missing mobile settings, browser errors, and other problems that affect phone users.

Command

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 commands/eddiebelaval/squire/mobile-check
Clone the repo
git clone --depth 1 https://github.com/eddiebelaval/squire

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 mobile-check

README.md
[![agentmods](https://agentmods.dev/badge/commands/eddiebelaval/squire/mobile-check.svg)](https://agentmods.dev/commands/eddiebelaval/squire/mobile-check)
Your own site
<a href="https://agentmods.dev/commands/eddiebelaval/squire/mobile-check"><img src="https://agentmods.dev/badge/commands/eddiebelaval/squire/mobile-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 397 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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.00000 $0.00397
Opus 5 $0.00000 $0.00198
Sonnet 5 $0.00000 $0.00079
Haiku 4.5 $0.00000 $0.00040

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

Security

Grade A, and why

mobile-check 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.

commands/mobile-check.md · 48 lines

What it actually says

Mobile Readiness Check

You are invoking the mobile-check skill - comprehensive mobile viewport verification using Playwright MCP.

Load and follow the skill at: .claude/skills/mobile-check/SKILL.md

Mode Selection

Parse $ARGUMENTS to determine mode:

  • Empty → Full mobile audit of all detected pages (cap at 10)
  • URL/route → Check that specific page (e.g., "/dashboard", "/login")
  • Multiple routes → Check each listed route
  • "extreme" → Also test at 320px (iPhone SE 1st gen) after 375px pass
  • "tablet" → Also check at 768px (iPad Mini)

Quick Reference

Setup

1. Detect dev server (localhost:3000, 3001, 8080)
2. If not running, start it
3. browser_resize({ width: 375, height: 667 })

Per-Page Audit Sequence

1. browser_navigate to page
2. browser_snapshot for accessibility tree
3. browser_evaluate — run horizontal overflow check
4. browser_evaluate — run touch target check
5. browser_evaluate — run text size check
6. browser_evaluate — run viewport meta check
7. browser_evaluate — run fixed/sticky element check
8. browser_evaluate — run input type check (if forms present)
9. browser_console_messages — check for errors
10. browser_network_requests — check for failures
11. browser_take_screenshot — save visual proof

Key Thresholds

  • Viewport: 375x667 (iPhone mini/SE) — the floor
  • Touch targets: minimum 44x44px (Apple HIG)
  • Text: minimum 12px rendered
  • Inputs: minimum 44px height, proper type attributes

Arguments

$ARGUMENTS

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 · 48 lines · 0 tokens per session scan A 30b185dcb091

Subscribe to this mod's changes

mobile-check is a command published in the GitHub repository eddiebelaval/squire (21 stars, last pushed 20d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 397 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other commands, from other repositories

verify

Grade work that already exists and decide whether it can merge. Runs the project's current unit, integration, and E2E suites plus security scanning and type checking, scores every dimension 0-10, and returns a merge verdict with a VERIFIED-vs-CLAIMED evidence manifest. Writes no test files and edits no source. Use…

yonatangross/orchestkit · 92 tokens

expect

Diff-aware AI browser testing — reads the git diff, maps changes to affected pages via the route map, generates a targeted test plan, and executes it via agent-browser (Rust daemon + CDP, ARIA-tree-first) with pass/fail reporting. Use when testing UI changes, verifying PRs before merge, or running regression checks on…

yonatangross/orchestkit · 73 tokens

paul:verify

Guide manual user acceptance testing of recently built features.

ChristopherKahler/paul · 14 tokens

cover

Generate tests that do not exist yet. Analyzes coverage gaps, then writes and runs new test files across three tiers (unit, integration via testcontainers, Playwright E2E), one test-generator agent per tier, healing failures for up to 3 iterations. Use when code has no tests or when raising coverage after…

yonatangross/orchestkit · 95 tokens

spec-check

Audit GWT acceptance test specs for implementation leakage. Optionally provide a specific file path.

swingerman/engineer · 21 tokens

drift

Detectar divergencias entre specs Gherkin e implementación (spec drift). Usa cuando el usuario dice "spec drift", "drift detection", "spec vs código", "conformance check", "spec deviation", "código no matchea specs", "implementation diverged", "spec vs implementation", "verificar specs". Compara features implementadas…

doncheli/don-cheli-sdd · 81 tokens