dev-browser

Dev Browser Integration

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "dev-browser" with this command: npx skills add iyaki/opencode-base-template/iyaki-opencode-base-template-dev-browser

Dev Browser Integration

Overview

dev-browser uses agent-browser to provide browser automation capabilities. It allows the agent to control a web browser to navigate pages, interact with elements, take screenshots, and extract information. This is essential for:

  • Web research beyond simple text fetching

  • Testing web applications (e.g., verifying UI changes)

  • Interacting with dynamic web pages (SPA, JavaScript-heavy sites)

  • Automating browser-based workflows

Usage Guide

Use agent-browser for web automation. Run agent-browser --help for all commands.

Common Prompts

Navigation & Research:

  • "Go to https://example.com and summarize the pricing model."

  • "Search Google for 'latest React patterns' and list the top 3 results."

  • "Navigate to the local server at http://localhost:3000 and tell me what you see."

Interaction:

  • "Click on the 'Sign Up' button."

  • "Type 'hello world' into the search box and press Enter."

  • "Take a screenshot of the homepage."

Testing/Verification:

  • "Verify that the login form shows an error when I submit an empty password."

  • "Check if the navigation bar is responsive on mobile view."

Best Practices

For Agents

  • Be Specific with Selectors: When asking to click or type, describe the element clearly (e.g., "the blue 'Submit' button", "the input field labeled 'Email'").

  • Wait for Content: Dynamic pages may load slowly. If an element isn't found, ask the agent to wait or check for a loading state.

  • Use Screenshots: Visual verification is often better than text descriptions for UI layout issues.

  • Local Development: Use http://localhost:PORT to test local applications. Ensure the server is running before asking the browser to visit.

Troubleshooting

"Element not found"

  • The page might not be fully loaded. Ask to wait or use a more robust selector description.

  • The element might be inside an iframe or shadow DOM (mention this if known).

Connection Refused (Localhost)

  • Ensure your local dev server is running (npm start , etc.).

  • Check if the port is correct.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

shell-command

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-search

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

dev-browser

No summary provided by upstream source.

Repository SourceNeeds Review