owenleezy/agent-browser-skill/agent-browser-debug

Claude Code and agent skill by owenleezy/agent-browser-skill

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

[INTERNAL TEMPLATE] Debugging execution protocol. Called by agent-browser orchestrator.

Install

npx vskill@latest install owenleezy/agent-browser-skill/agent-browser-debug

SKILL.md

The same SKILL.md was published earlier as owenleezy/agent-browser-skill/agent-browser-debug.

Debug Diagnosis — Execution Protocol

Internal template. Entry point: agent-browser skill.

NEVER

NEVER jump to DOM inspection before checking `errors` — JS errors explain 80% of broken UIs
NEVER assume auth is fine — check `cookies` + `storage local` first when login suspected
NEVER think `inspect` kills CLI — DevTools and CLI work simultaneously

Triage Sequence (run in order, stop at first finding)

bash
agent-browser --headed open <url>
agent-browser wait --load networkidle
# Step 1: JS errors (explains 80% of broken UIs)
agent-browser errors
# Step 2: Console warnings
agent-browser console --pattern "error|warn"
# Step 3: Failed network requests — filter to relevant calls
agent-browser network requests --filter "api"
agent-browser network requests --type xhr,fetch --status 4xx # 4xx only
agent-browser network requests --method POST --status 5xx # failed writes
# Step 4: Inspect full request/response body of a failed request
agent-browser network request <requestId> # get requestId from step 3
# Step 5: Auth state (check first if login/session suspected)
agent-browser cookies # token cookie present?
agent-browser storage local # JWT in localStorage?
# Step 6: DOM state
agent-browser snapshot -i
agent-browser is enabled @e5
agent-browser is visible @e3
# Step 7: Form validity (if button appears enabled but won't submit)
agent-browser eval "document.querySelector('form').checkValidity()"
# Step 8: Deep investigation
agent-browser inspect # DevTools (CLI stays live)

Network HAR for Persistent Evidence

bash
# Record full network trace (start BEFORE navigation)
agent-browser network har start ./debug-trace.har
agent-browser open <url>
agent-browser wait --load networkidle
# ... reproduce the issue ...
agent-browser network har stop
# Open debug-trace.har in browser DevTools → Network → Import

Recovery Patterns

SymptomNext action
JS errors foundReport errors → judgment gate: continue or stop?
Auth token missingRe-run auth flow, recheck cookies
Network 4xx/5xxnetwork request <id> for full body → report → judgment gate
is enabled falseCheck form validity via eval
Issue not reproducible headlessRun with --headed to observe visually

Judgment Gates

Pause when:

  • JS errors found (show to user, ask: bug or known?)
  • Auth token missing (hard to auto-recover without credentials)
  • API returning unexpected errors (user needs to decide next step)
  • network request <id> reveals sensitive data in response (don't log, ask user)

Pitfalls

MistakeFix
Skip errors, jump to DOMErrors explain 80% — always check first
Auth bug → jump to JS debuggingCheck cookies + storage local first
Think inspect kills CLIIt doesn't — both work simultaneously
Filter network requests by URL onlyAlso filter by --status 4xx or --method POST to narrow down
Miss request bodyUse network request <requestId> for full payload

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
4
7-day trend score
8

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/owenleezy/agent-browser-skill/agent-browser-debug/badge)](https://verified-skill.com/skills/owenleezy/agent-browser-skill/agent-browser-debug)

Something wrong with this skill or its page? Tell us.