本文へ移動
cccskills
無料GitHub で公開

browser-agent

Autonomous human-like browser control and professional QA/QC testing. Powered by agent-browser (Rust native CDP, zero Playwright) with ISTQB test matrix generation, automated testcase execution, console/network error tracing, and defect reporting.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md5.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

/supergraph:browser-agent

Autonomous human-like browser control and professional QA/QC testcase execution without Playwright. Powered by native Rust agent-browser (Chrome DevTools Protocol direct, zero bot-detection footprint).

Announce: "🌐 /supergraph:browser-agent — professional QA testing with real user emulation (Rust CDP)..."


Why Agent-Browser over Playwright?

  • Zero Bot Detection Footprint: Native Rust client communicating directly via CDP. Removes navigator.webdriver and disables Blink automation flags.
  • Human Input Mode (--input-mode human): Natural Bezier mouse curves, randomized typing cadence, natural dwell times.
  • Token Efficiency: Compact Accessibility Tree snapshots with @ref identifiers (~100-300 tokens vs 20,000 HTML tokens).
  • Session & Profile Reuse: Effortlessly attaches to your authenticated Chrome profile or --auto-connect to running Chrome on port 9222.

Available Tools / Commands

Can be invoked via MCP (mcp__supergraph-browser__*) or CLI (agent-browser):

ActionMCP ToolCLI CommandPurpose
Open URLagent_browser_openagent-browser open <url>Navigate to page
Read Stateagent_browser_snapshotagent-browser snapshot -iAccessibility tree with @ref
Find Targetagent_browser_findagent-browser find role button clickLocate elements semantically
Clickagent_browser_clickagent-browser click @refClick element by ref
Type/Fillagent_browser_fillagent-browser fill @ref <text>Fill input with human keystrokes
Key Pressagent_browser_pressagent-browser press EnterSend keyboard event
Waitagent_browser_wait_for_textagent-browser wait <ms>Wait for condition or pause
Screenshotagent_browser_screenshotagent-browser screenshot <path>Capture visual evidence
Console Logsagent_browser_evalagent-browser consoleView browser console errors
Page Errorsagent_browser_evalagent-browser errorsCatch unhandled exceptions
Network Requestsagent_browser_evalagent-browser network requestsInspect failed API calls
Closeagent_browser_closeagent-browser closeClose session

The 4-Step Human Interaction Loop

[1. Open] ───────> [2. Snapshot @refs] ───> [3. Human Action] ───> [4. Verify & Settle]
open <url>          snapshot -i               click @e2                 wait_for_text
                    find                      fill @e3 "text"           snapshot

1. Observe Before Acting (Never Guess Selectors)

Call snapshot to get verified element references (@e1, @e2, ...).

2. Bypassing Strict Bot Walls (Cloudflare, Akamai, CAPTCHA)

Connect directly to your active browser:

# Attach to existing Chrome
export SG_BROWSER_CDP="http://127.0.0.1:9222"
# Or auto-discover running Chrome instance
export SG_BROWSER_AUTO_CONNECT="true"

Uses your real user session, cookies, extensions, canvas fingerprints, and hardware profile.


Professional QA/Tester Workflow (ISTQB Standard)

When tasked with testing a feature or application, the agent acts as a Senior QA Automation Engineer:

Phase 1: Test Matrix Generation

Generate a comprehensive test matrix covering 5 dimensions and save to docs/qa/test-matrix-<feature>.md:

  1. Happy Path: Expected valid user flow from entrance to success.
  2. Negative Path: Missing required fields, invalid credentials, malformed emails, business constraint violations.
  3. Boundary Value Analysis: 0 chars, 1 char, limit max chars, SQLi/XSS probe strings (<script>, ' OR 1=1).
  4. Network & Fault Resilience: Simulating 500 API errors, timeout, offline state.
  5. RBAC & Authorization: Guest/User attempting to access restricted routes or perform unauthorized operations.

Phase 2: Autonomous Execution & Verification

For each testcase in the matrix:

  1. Navigate to target URL (agent-browser open <url>).
  2. Input test data with human cadence (agent-browser fill @ref <data>).
  3. Trigger action (agent-browser click @ref).
  4. Assert outcome:
    • Check URL transition: agent-browser get url
    • Check UI feedback: agent-browser is visible <selector> or agent-browser get text @ref
    • Capture evidence on failure: agent-browser screenshot docs/qa/evidence/TC-xxx.png

Phase 3: Console & Network Diagnostics

Assert that no silent runtime bugs were introduced:

  • agent-browser console --clear → Detect React hydration warnings, runtime console.error.
  • agent-browser errors → Unhandled Promise rejections.
  • agent-browser network requests → Identify failed HTTP 4xx/500 endpoints.

Phase 4: Structured Defect Reporting

If defects are found, generate a formal Bug Report at docs/qa/bug-report-<timestamp>.md:

  • Defect ID & Title: e.g., BUG-AUTH-001: Missing password validation triggers unhandled 500 error.
  • Severity: Blocker / Critical / Major / Minor.
  • Preconditions & Environment: Browser profile, viewport, user state.
  • Steps to Reproduce: Exact command sequence or clicks.
  • Expected vs Actual Result: Clear contrast.
  • Evidence: Attached screenshot link + Console/Network error dump.

CLI Quick Examples (in bash)

agent-browser open https://example.com
agent-browser snapshot -i
agent-browser click @e1
agent-browser fill @e2 "user@example.com"
agent-browser screenshot docs/qa/evidence/verify.png
agent-browser close

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

analyze

無料

Risk analysis and approach selection before planning. Use when requirements are ambiguous, approaches vary, or work touches hub/bridge nodes. Skip for typo fixes.

日本語の概要は準備中です。原文の説明を表示しています。

datit309/supergraph222026年10月14日 更新

Proactive architecture review — explore codebase structure, generate a self-contained HTML report with Mermaid diagrams and candidate improvements, then grill the findings. Use when planning a large refactor, onboarding to an unfamiliar codebase, or before a major architectural change.

日本語の概要は準備中です。原文の説明を表示しています。

datit309/supergraph222026年10月14日 更新

caveman

無料

Persistent token-compression mode (~75% reduction) — now always-on by default. Strips filler while keeping code exact.

日本語の概要は準備中です。原文の説明を表示しています。

datit309/supergraph222026年10月14日 更新

Database migration best practices for schema changes, data migrations, rollbacks, and zero-downtime deployments across PostgreSQL, MySQL, and common ORMs (Prisma, Drizzle, Kysely, Django, TypeORM, golang-migrate).

日本語の概要は準備中です。原文の説明を表示しています。

datit309/supergraph222026年10月14日 更新

Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.

日本語の概要は準備中です。原文の説明を表示しています。

datit309/supergraph222026年10月14日 更新

diagnose

無料

Structured 6-phase debugging. Build feedback loop first, reproduce deterministically, hypothesize with ranked falsifiable theories, instrument one variable at a time, fix with regression test, cleanup. Use when a bug exists, tests fail unexpectedly, or behavior is wrong and cause is unknown.

日本語の概要は準備中です。原文の説明を表示しています。

datit309/supergraph222026年10月14日 更新

datit309 のスキルをすべて見る

このスキルの問題を報告する