google-search-browser-use
npx skills add https://github.com/grasseed/google-search-browser-use --skill google-search-browser-use
Agent 安装分布
Skill 文档
Google Search Browser Use
Overview
Run Google searches with browser-use (prefer real browser mode), open results, and extract the relevant snippets or page content. This skill leverages the user’s existing browser session to reduce CAPTCHAs.
Prerequisites
Before running the search, ensure the environment is ready:
-
Check Installation: Verify if
browser-useis available in the current PATH.which browser-use -
Install if Missing: If not found, install it using pip.
python3 -m pip install --user browser-use -
Locate Binary: If the command is still not found after installation, it is likely in the user’s local bin directory. Retrieve the path dynamically:
python3 -m site --user-base # The binary is typically at <USER_BASE>/bin/browser-use
Workflow
1) Launch a Google search (Real Browser Mode)
Use the real browser to reuse the userâs logged-in session.
Option A: Standard Execution
browser-use --browser real open "https://www.google.com/search?q=YOUR+QUERY"
Option B: Explicit Path Execution If Option A fails (command not found), use the full path found in Prerequisites:
# Example (adjust based on 'python3 -m site --user-base' output):
${HOME}/Library/Python/3.14/bin/browser-use --browser real open "https://www.google.com/search?q=YOUR+QUERY"
(Note: Replace 3.14 with your current Python version if different)
2) Inspect results and parse
Once the browser is open:
# Check current page state
browser-use --browser real state
# Click on a search result (use index from state output)
browser-use --browser real click <index>
3) Extract or Summarize
- Goal: Provide a short summary (3-6 bullets) with source citations.
- Fallback: If
browser-usestruggles with parsing, usecurlwith Jina AI for a text-friendly version:curl -L "https://r.jina.ai/https://example.com"
4) Close the Session
browser-use close
Troubleshooting
- CAPTCHAs: If encountered, solve them manually in the open browser window.
- Path Issues: If
browser-usecannot be called directly, always prefer finding the path viapython3 -m site --user-baserather than guessing. - Connection: Ensure no VPN/Proxy is blocking Google results if timeouts occur.