hletrd/setup/agent-browser-debug

Claude Code and agent skill by hletrd/setup

Trust tier 3
  • community
Source check pending

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

Browser debugging: execute JavaScript, view console output and page errors, record traces, and run performance profiling.

Install

npx vskill@latest install hletrd/setup/agent-browser-debug

SKILL.md

The same SKILL.md was published earlier as hletrd/setup/agent-browser-debug.

Agent Browser: Debug & Evaluate

Run JavaScript, inspect console output, capture errors, and profile performance.

Execute JavaScript

sh
agent-browser eval "<js>" # Run JavaScript in page context
agent-browser eval -b "<base64>" # Run base64-encoded script
agent-browser eval --stdin # Read script from stdin

Console Messages

sh
agent-browser console # View console messages (log, warn, info)
agent-browser console --clear # Clear console message buffer

Page Errors

sh
agent-browser errors # View uncaught page errors
agent-browser errors --clear # Clear error buffer

Tracing (Timeline Recording)

sh
agent-browser trace start [path] # Start recording trace
agent-browser trace stop [path] # Stop and save trace file

Trace files can be opened in Chrome DevTools (chrome://tracing).

Performance Profiling

sh
agent-browser profiler start # Start CPU profiling
agent-browser profiler stop [path] # Stop and save profile

Examples

sh
# Get the current user from app state
agent-browser eval "JSON.stringify(window.__STORE__.user)"
# Check for JavaScript errors on a page
agent-browser open https://example.com
agent-browser errors
# Monitor console output during interaction
agent-browser console
# Record a performance trace
agent-browser trace start /tmp/trace.json
# ... perform actions ...
agent-browser trace stop /tmp/trace.json
# Profile a slow operation
agent-browser profiler start
agent-browser click "#heavy-button"
agent-browser wait 5000
agent-browser profiler stop /tmp/profile.json
# Execute multi-line script via stdin
echo 'document.querySelectorAll("a").length' | agent-browser eval --stdin

Guidelines

  • Use eval for extracting app state or running custom assertions
  • Check errors after page load to catch JavaScript issues
  • Use console to monitor application logging during interactions
  • Traces are useful for diagnosing slow page loads or animations
  • Save trace/profile files to /tmp/ for ephemeral debugging

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

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

Source

Popularity

7-day trend score
0

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/hletrd/setup/agent-browser-debug/badge)](https://verified-skill.com/skills/hletrd/setup/agent-browser-debug)

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