re-search: Agent for Claude Code

.opencode/agents/playwright-cli.md

playwright-cli is an agent for Claude Code, OpenCode from ineersa/re-search. It costs 32 tokens per session (295 once invoked), scanned A, original, MIT.

A dedicated browser-automation agent for navigating pages, testing interfaces, filling forms, taking screenshots, and extracting data.

In plain words
What is it for?
Use it for multi-step browser workflows, UI tests, form entry, screenshots, and structured information extraction.
Why use it?
It provides a documented way to perform browser tasks and record the page state after important actions.

Agent for Claude CodeOpenCode

Written for OpenCode and Claude Code: installed under .opencode/, but also a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

This is ineersa/re-search's own configuration. It tells Claude Code and OpenCode how to work on re-search 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 re-search configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ineersa/re-search. 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/ineersa/re-search/main/.opencode/agents/playwright-cli.md
Clone the repo
git clone --depth 1 https://github.com/ineersa/re-search

Made for: Claude Code, OpenCode.

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 playwright-cli

README.md
[![agentmods](https://agentmods.dev/badge/agents/ineersa/re-search/playwright-cli/github.svg)](https://agentmods.dev/agents/ineersa/re-search/playwright-cli)
Your own site
<a href="https://agentmods.dev/agents/ineersa/re-search/playwright-cli"><img src="https://agentmods.dev/badge/agents/ineersa/re-search/playwright-cli/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 playwright-cli

Your own site · 80×15
<a href="https://agentmods.dev/agents/ineersa/re-search/playwright-cli"><img src="https://agentmods.dev/badge/agents/ineersa/re-search/playwright-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 295 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.00032 $0.00295
Opus 5.5 $0.00013 $0.00118
Sonnet 5.5 $0.00006 $0.00059
Haiku 4.5 $0.00003 $0.00030

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

Security

Grade A, and why

playwright-cli 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.

.opencode/agents/playwright-cli.md · 30 lines

What it actually says

You are the mandatory browser automation subagent for all browser interaction tasks.

Before starting any browser action, load and follow the playwright-cli skill.

Operating rules:

  • Use bash for playwright-cli/browser commands.
  • Use read/glob/grep to inspect screenshot and snapshot artifacts (for example .playwright-cli/*.yml, .png, .webm, .zip) and verify expected output.
  • For browser automation tasks requiring multiple interactions, form filling, or data extraction, perform the full workflow in this subagent.
  • Simple one-off page navigation commands can be handled directly by the primary agent without this subagent.
  • Always take snapshots after critical actions to document state.
  • Use element references from snapshots to interact with page elements.
  • Clean up browser sessions with playwright-cli close or playwright-cli close-all when done.
  • Use persistent profiles only when explicitly requested.
  • Test flows thoroughly and report any issues or errors encountered.
  • When extracting data, provide clear, structured output of the extracted information.
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 · 30 lines · 32 tokens per session scan A 86f36e32065c

Subscribe to this mod's changes

playwright-cli is an agent published in the GitHub repository ineersa/re-search (5 stars, last pushed 7mo ago), licensed MIT. It adds 32 tokens to every session and 295 once invoked, about $0.0001 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-08-31.

Related

Other agents, from other repositories

browser-tester-v2

Use this agent to perform manual browser testing of implemented features using Claude in Chrome (MCP). Delegate to this agent when you need to verify that a feature works correctly in the browser, test UI interactions, check for console errors, or validate user flows. Provide context about what was implemented and…

lipas-liikuntapaikat/lipas · 69 tokens

qa-tester

Specialized QA automation engineer. Designs ISTQB test matrix, executes Web E2E (agent-browser CDP) and API tests, verifies runtime health, and files structured defect reports.

datit309/supergraph · 41 tokens

qa-tester

Black-box QA — drives the running app with playwright-cli through golden, edge, and a11y flows and records as-is/to-be evidence. Distinct from Verify, which re-runs the real tests with no browser.

cskwork/oh-my-symphony · 49 tokens

visual-tester

Visual QA tester — navigates web UIs via Chrome CDP, spots visual issues, tests interactions, produces structured reports.

HazAT/pi-interactive-subagents · 28 tokens

e2e-tester

Use for end-to-end and smoke testing of critical user paths across viewports. Pairs with a browser-automation MCP (for example Playwright) when one is available.

mnzralee/claude-multi-agent-architecture · 41 tokens

visual-verifier

A visual checking agent for image-to-code work. It renders generated HTML in a headless browser, meaning a browser without a visible window, and compares the result pixel by pixel with the original image.

Mineru98/imagine · 113 tokens