mobile-check

mobile-check is a command for Claude Code 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 for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths.

Good fit Use it to check one route or several routes for mobile layout, touch targets, forms, fixed elements, console errors, and network issues.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/eddiebelaval/squire/mobile-check
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.

Clone the repo
git clone --depth 1 https://github.com/eddiebelaval/squire

Made for: Claude Code.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mobile-check

Your own site · 80×15
<a href="https://agentmods.dev/commands/eddiebelaval/squire/mobile-check"><img src="https://agentmods.dev/badge/commands/eddiebelaval/squire/mobile-check.svg" alt="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.00397
Opus 5.5 $0.00000 $0.00159
Sonnet 5.5 $0.00000 $0.00079
Haiku 4.5 $0.00000 $0.00040

Measured 2mo ago against content hash 30b185dcb091, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo ago.

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. 2mo ago 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 3mo 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

mobile-check compared with commands from other repositories

mobile-check next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mobile-checkeddiebelaval/squireCommand213mo agoMITA0Claude Code
verifyyonatangross/orchestkitCommand312todayMITA52Claude Code, Cursor
expectyonatangross/orchestkitCommand312todayMITA51Claude Code, Cursor
coveryonatangross/orchestkitCommand312todayMITB47Claude Code, Cursor
spec-checkswingerman/engineerCommand16619d agoMITA21Claude Code
paul:verifyChristopherKahler/paulCommand1.3k3mo agoMITA14Claude Code
driftdoncheli/don-cheli-sddCommand593mo agoApache-2.0A81Claude Code