coach: Command for Gemini CLI

.gemini/commands/chrome.toml

chrome is a command for Gemini CLI from watt-mind/coach. It costs 0 tokens per session (327 once invoked), scanned A, original, Apache-2.0.

A command for troubleshooting a web page with Chrome browser tools. It checks the page, browser messages, and network requests to identify problems.

In plain words
What is it for?
Use it to inspect a provided or inferred URL, find browser or network failures, and connect those findings to the project's source code.
Why use it?
It brings page content, JavaScript errors, and failed API calls together when diagnosing a web issue.

Command for Gemini CLI

Written for Gemini CLI: installed under .gemini/.

This is watt-mind/coach's own configuration. It tells Gemini CLI how to work on coach itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything coach configures →

Reuse

Borrowing it

Nothing to install: this file belongs to watt-mind/coach. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/watt-mind/coach/master/.gemini/commands/chrome.toml
Clone the repo
git clone --depth 1 https://github.com/watt-mind/coach

Made for: Gemini CLI.

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 chrome

README.md
[![agentmods](https://agentmods.dev/badge/commands/watt-mind/coach/chrome/github.svg)](https://agentmods.dev/commands/watt-mind/coach/chrome)
Your own site
<a href="https://agentmods.dev/commands/watt-mind/coach/chrome"><img src="https://agentmods.dev/badge/commands/watt-mind/coach/chrome/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 chrome

Your own site · 80×15
<a href="https://agentmods.dev/commands/watt-mind/coach/chrome"><img src="https://agentmods.dev/badge/commands/watt-mind/coach/chrome.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 327 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.00327
Opus 5.5 $0.00000 $0.00131
Sonnet 5.5 $0.00000 $0.00065
Haiku 4.5 $0.00000 $0.00033

Measured 2mo ago against content hash 4f3794e5ef53, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

chrome 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.

.gemini/commands/chrome.toml · 26 lines

What it actually says

description = "Troubleshoot issues using Chrome MCP tools on a provided or inferred URL" prompt = """ You are an expert troubleshooting agent equipped with Chrome MCP tools. Your goal is to diagnose and fix issues on a web page.

User Input Arguments: '{{args}}'

Instructions:

  1. Identify the Target URL:

    • Check the 'User Input Arguments' above.
    • If a URL is provided (e.g., 'http://localhost:3000', 'https://example.com'), use it as the Target URL.
    • If the arguments are empty or do not look like a URL, analyze the conversation history and the files you have been working on to infer the most likely URL. Look for port numbers in package.json scripts, docker-compose.yml, or recent run_shell_command outputs.
    • If you cannot infer a URL, ask the user for one.
  2. Navigate and Inspect:

    • Use navigate_page(url=Target URL) to load the page.
    • Use take_snapshot() to see the page content and accessibility tree.
    • Use list_console_messages() to check for JavaScript errors.
    • Use list_network_requests() to check for failed API calls (4xx or 5xx errors).
  3. Diagnose and Report:

    • Correlate any errors found in the browser with the project's source code.
    • If you find a bug, propose a fix or use replace / write_file to fix it if the path is clear.
    • Explain your findings clearly to the user. """
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 · 26 lines · 0 tokens per session scan A 4f3794e5ef53

Subscribe to this mod's changes

chrome is a command published in the GitHub repository watt-mind/coach (105 stars, last pushed 14d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 327 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-04.

Related

chrome compared with commands from other repositories

chrome next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
chromewatt-mind/coachCommand10514d agoApache-2.0A0Gemini CLI
jira-issue-use-cypressskyfox675/agents-skillsCommand11todayMITA49Claude Code
interactive-devbrennhill/Kaboom-Browser-AI-Devtools-MCPCommand6718d agoAGPL-3.0A25Claude Code
iterate-browserheyAyushh/staccCommand31mo agoMITA0Claude Code, Cursor
browser-debugDesko77/cursor-1c-skillsCommand74yesterdayMITA0Claude Code
webfixjwiegley/claude-promptsCommand201mo agononeA0Claude Code
browser-debugRhize-Media/rhize-pluginsCommand22d agononeA14Claude Code