Borrowing it
Nothing to install: this file belongs to jnarowski/agentcmd. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/jnarowski/agentcmd/main/.claude/commands/use-browser.mdgit clone --depth 1 https://github.com/jnarowski/agentcmdWrote 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.
[](https://agentmods.dev/commands/jnarowski/agentcmd/use-browser)<a href="https://agentmods.dev/commands/jnarowski/agentcmd/use-browser"><img src="https://agentmods.dev/badge/commands/jnarowski/agentcmd/use-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.
<a href="https://agentmods.dev/commands/jnarowski/agentcmd/use-browser"><img src="https://agentmods.dev/badge/commands/jnarowski/agentcmd/use-browser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00012 | $0.00699 |
| Opus 5.5 | $0.00005 | $0.00280 |
| Sonnet 5.5 | $0.00002 | $0.00140 |
| Haiku 4.5 | $0.00001 | $0.00070 |
Grade A, and why
use-browser 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.
How it starts
The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Use Browser to Verify Feature
Automates browser testing to verify a feature is working correctly in the application. Logs into the app using test credentials, validates the feature, and iterates on fixes until successful.
Variables
- $featureSteps: $1 (required) - Description of the feature to verify (e.g., "user can create new projects", "dashboard displays metrics correctly")
- $testUrl: fetch TEST_URL from env
- $testUsername: fetch TEST_USERNAME from env
- $testPassword: fetch TEST_PASSWORD from env
Instructions
- ALWAYS use Playwright MCP tools for browser automation
- Log in using credentials from environment variables TEST_USERNAME and TEST_PASSWORD
- Login URL: $testUrl
- Test the feature thoroughly based on the description provided
- If issues are found, fix them and re-test
- DO NOT finish until the feature is verified as working
- Take screenshots of failures to help with debugging
- Report all issues found and fixes applied
Workflow
-
Authenticate
- Navigate to $testUrl from environment
- Fill in username field with $testUsername from environment
- Fill in password field with $testPassword from environment
- Submit the login form
- Verify successful login (check for redirect or dashboard)
-
Test the Feature
- Navigate to the relevant page/section for the feature
- Perform the actions described in $featureSteps
- Capture any errors, unexpected behavior, or visual issues
- Take screenshots if verification fails
-
Iterate on Issues
- If issues found: a. Document the specific problem b. Identify the root cause (use code search, read relevant files) c. Implement fixes to the codebase d. Return to step 1 (re-authenticate and re-test)
- Repeat until feature works correctly
-
Final Verification
- Run one complete end-to-end test of the feature
- Verify no console errors or warnings
- Confirm expected behavior matches requirements
- Document the successful test result
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.
- 2mo ago First seen · 97 lines · 12 tokens per session scan A daba5c048d0e
use-browser is a command published in the GitHub repository jnarowski/agentcmd (18 stars, last pushed 10mo ago), licensed MIT. It adds 12 tokens to every session and 699 once invoked, about $0.0000 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-09-01.
use-browser compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| use-browserjnarowski/agentcmd | Command | 18 | 10mo ago | MIT | A | 12 | Claude Code |
| expectyonatangross/orchestkit | Command | 299 | yesterday | MIT | A | 51 | Claude Code, Cursor |
| webapp-testinghamr0/agentic-toolkit | Command | 23 | 6d ago | Apache-2.0 | A | 35 | Claude Code |
| amazing-e2e-checkbtspoony/mstar-harness | Command | 68 | 2d ago | MIT | A | 29 | Claude Code |
| recordMarcosNahuel/antigravity-plugin-cc | Command | 32 | 26d ago | MIT | A | 38 | Claude Code |
| verify-prdesplega-ai/qa-use | Command | 29 | 1mo ago | MIT | A | 0 | Claude Code |
| auto-verifyInsajin/autopus-adk | Command | 111 | 1mo ago | MIT | A | 20 | Claude Code |