test-localhost

test-localhost is a skill for Claude Code from testingbot/mcp-server. It costs 66 tokens per session (399 once invoked), scanned A, original, MIT.

A skill for opening a locally running or private website in a remote TestingBot browser or mobile device through a tunnel. The tunnel carries the remote test connection to your machine.

In plain words
What is it for?
Use it to navigate a local site, click and type through a user flow, capture screenshots, and report failures on desktop or mobile targets.
Why use it?
It lets you test a site before it is public, including on browsers or devices that are not available locally.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the testingbot plugin — 7 skills, 1 MCP server shipped together

Good fit Use it to navigate a local site, click and type through a user flow, capture screenshots, and report failures on desktop or mobile targets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/testingbot/mcp-server/test-localhost
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.

Any agent
npx skills add testingbot/mcp-server --skill test-localhost
Clone the repo
git clone --depth 1 https://github.com/testingbot/mcp-server

Made for: Claude Code.

Or install testingbot, the plugin that ships this one along with the rest of its 7 skills, 1 MCP server.

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 test-localhost

README.md
[![agentmods](https://agentmods.dev/badge/skills/testingbot/mcp-server/test-localhost/github.svg)](https://agentmods.dev/skills/testingbot/mcp-server/test-localhost)
Your own site
<a href="https://agentmods.dev/skills/testingbot/mcp-server/test-localhost"><img src="https://agentmods.dev/badge/skills/testingbot/mcp-server/test-localhost/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 test-localhost

Your own site · 80×15
<a href="https://agentmods.dev/skills/testingbot/mcp-server/test-localhost"><img src="https://agentmods.dev/badge/skills/testingbot/mcp-server/test-localhost.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 399 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.00066 $0.00399
Opus 5.5 $0.00026 $0.00160
Sonnet 5.5 $0.00013 $0.00080
Haiku 4.5 $0.00007 $0.00040

Measured 7d ago against content hash 3c73d087d08f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test-localhost 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 7d 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.

plugins/testingbot/skills/test-localhost/SKILL.md · 19 lines

What it actually says

Test a local site on TestingBot

Needs the TestingBot MCP server (@testingbot/mcp-server) and Java 17+ on the machine (for the tunnel). If a tool says no credentials are configured, call tb_login (it opens a browser sign-in) and continue; never ask the user to paste a key or secret.

  1. Confirm the local URL (for example http://localhost:3000) and that the dev server is running.
  2. Call startTunnel. It waits until the tunnel is ready (up to a minute the first time) and returns a tunnel identifier.
  3. Pick the target with getBrowsers (desktop) or getDevices (mobile) if the user did not name one.
  4. Call tb_openBrowser with the browser, platform and tunnelIdentifier, then tb_navigate to the local URL. Use the same URL as on the machine; the tunnel routes it.
  5. Use tb_snapshot to read the page and tb_click / tb_type to go through the flow the user cares about. Take tb_screenshot where something looks wrong.
  6. Call tb_closeBrowser when done, then stopTunnel unless the user wants to keep testing.
  7. Report what worked, what broke (with screenshots and console errors from tb_executeScript if useful) and the session link.

For a quick visual check across many browsers at once, use takeScreenshot instead (see cross-browser-check); it also goes through the running tunnel.

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. 7d ago Changed 3c73d087d08f
  2. 8d ago First seen · 19 lines · 66 tokens per session scan A d66a256dbbdf

Subscribe to this mod's changes

test-localhost is a skill published in the GitHub repository testingbot/mcp-server (2 stars, last pushed 7d ago), licensed MIT. It adds 66 tokens to every session and 399 once invoked, about $0.0003 per session on Opus 5.5. 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-11-22.

Related

test-localhost compared with skills from other repositories

test-localhost next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
test-localhosttestingbot/mcp-serverSkill27d agoMITA66Claude Code
playwrightEliasOulkadi/shokuninSkill1121mo agoMITA0Claude Code, Codex
sorify-updaterakutentech/sorifySkill571mo agoApache-2.0A24Claude Code
browser-automationmozilla/firefox-mcpSkill629yesterdaynoneA55Claude Code
release-qaAishwaryShrivastav/vibe-testingSkill183d agoMITA52Claude Code
qa-usedesplega-ai/qa-useSkill302mo agoMITA36Claude Code
playwright-expertpersonamanagmentlayer/pclSkill461mo agoApache-2.0A77Claude Code