browser

browser is a command for Claude Code from dork-labs/dorkos. It costs 16 tokens per session (1,284 once invoked), scanned A, original, MIT.

A browser-debugging command for investigating visual, interaction, data, and responsive problems in a running web application. Responsive problems are layout issues that appear at different screen sizes.

In plain words
What is it for?
Use it with a URL and issue description to diagnose broken controls, wrong or stale content, layout problems, or mobile-screen behavior.
Why use it?
It gathers browser, network, health, and server-error evidence before changes and requires the result to be checked in the browser.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the TodoWrite tool.

Part of the flow plugin — 43 skills, 44 commands, 5 agents, 4 hooks shipped together

Good fit Use it with a URL and issue description to diagnose broken controls, wrong or stale content, layout problems, or mobile-screen behavior.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/dork-labs/dorkos/browser
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/dork-labs/dorkos

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 43 skills, 44 commands, 5 agents, 4 hooks.

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 browser

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/dork-labs/dorkos/browser"><img src="https://agentmods.dev/badge/commands/dork-labs/dorkos/browser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,284 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00016 $0.01284
Opus 5.5 $0.00006 $0.00514
Sonnet 5.5 $0.00003 $0.00257
Haiku 4.5 $0.00002 $0.00128

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

Security

Grade A, and why

browser scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. **Capture** — navigate to the URL; take a snapshot; collect console messages and network requests. Check the dev server is up (`curl -s http://localhost:${DORKOS_PORT:-6242}/api/health`) and scan recent server errors:
.claude/commands/debug/browser.md · 57 lines

How it starts

The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Browser Debug

Debug and resolve an issue observed in the browser — visual (design-system violations, layout), interaction (broken buttons/forms), data (wrong/stale content), or responsive. Parse $ARGUMENTS: an optional --url <url> flag plus the issue description. If the URL is missing, default to the Vite dev client at http://localhost:6241 (the Express API is on 6242; /api is proxied). If the description is too vague to act on, ask one clarifying question — otherwise just start.

The loop

Work the issue as an evidence-driven loop. Never edit code you haven't read, and never claim a fix you haven't re-verified in the browser.

  1. Capture — navigate to the URL; take a snapshot; collect console messages and network requests. Check the dev server is up (curl -s http://localhost:${DORKOS_PORT:-6242}/api/health) and scan recent server errors:

    LOG="apps/server/.temp/.dork/logs/dorkos.log"   # NDJSON; level >= 40 is warn/error
    tail -200 "$LOG" | python3 -c "
    import sys, json
    for line in sys.stdin:
        try:
            o = json.loads(line)
            if o.get('level', 0) >= 40:
                print(f\"[{o.get('time','')}] {o.get('tag','?')}: {o.get('msg','')}\"[:200])
        except: pass
    " | tail -20
    
  2. Classify — visual (no console errors, looks wrong), interaction (errors on action), data (API failures, stale cache), performance (slow, timing warnings), or responsive (breaks at breakpoints).

  3. Diagnose — trace the observation to source code and confirm the cause there before changing anything:

    • Client code lives in apps/client/src/ (FSD layers under apps/client/src/layers/).
    • Visual issues: load the designing-frontend skill for the design-system audit criteria and styling-with-tailwind-shadcn for token/component specs — don't re-derive the design system from memory. Take targeted element screenshots to compare against spec.
    • Interaction issues: attempt the interaction via browser tools, capture new console errors, then trace the event handler in the component.
    • Data issues: trace component → TanStack Query hook (apps/client/src/layers/entities/*/model/) → Express route (apps/server/src/routes/) → service (apps/server/src/services/); check server logs for the failing request. For deep data-flow work, switch to /debug:api.
    • Responsive issues: resize to 375×667, 768×1024, and 1280×800 and snapshot each; check sm:/md:/lg: class usage and 44px touch targets.
    • For library behavior questions, query context7 (resolve-library-id → query-docs). For multi-file hunts, dispatch a code-search agent; for gnarly type errors mid-fix, typescript-expert; for CSS/layout expertise, react-tanstack-expert.

Read the full file on GitHub · 57 lines

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. 1mo ago Changed · +1 lines b05c6f4a102f
  2. 1mo ago First seen · 56 lines · 16 tokens per session scan A 2112837d56b4

Subscribe to this mod's changes

browser is a command published in the GitHub repository dork-labs/dorkos (12 stars, last pushed today), licensed MIT. It adds 16 tokens to every session and 1,284 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.