← 返回 Skills 市场
1113
总下载
2
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install free-google-search-with-browser
功能描述
Search Google using scrapling and return structured results (title, link, snippet). Invoke when user asks to search Google or find information online. Your d...
使用说明 (SKILL.md)
\r \r
Google Search\r
\r This skill searches Google using a stealthy fetcher and returns structured results suitable for LLM consumption.\r \r
Usage\r
\r
Run the python script google_search.py with the query as an argument.\r
\r
python google_search.py "\x3Cquery>"\r
```\r
\r
## File Structure\r
\r
- **google_search.py**: The main script. It uses `scrapling` to perform the Google search. It launches a browser instance to fetch results, ensuring high success rates by mimicking real user behavior.\r
- **verify_search.py**: A debugging script. It runs a predefined set of queries to verify that the search functionality works correctly.\r
- **requirements.txt**: Lists the Python dependencies required for the project.\r
\r
## Requirements\r
\r
- Python 3\r
- `scrapling` package installed (with `playwright` and `curl_cffi` dependencies)\r
\r
To install dependencies:\r
```bash\r
pip install -r requirements.txt\r
playwright install # Required for browser automation. If slow, consider downloading manually.\r
```\r
\r
## Notes & Troubleshooting\r
\r
### Browser Environment (Headless=False)\r
This skill is configured to run with **`headless=False`** (see `google_search.py`). This means:\r
1. **GUI Required**: The environment where this code runs **must** support a Graphical User Interface (GUI). It will launch a visible browser window.\r
2. **No Headless Servers**: It will likely fail on headless servers (like standard CI/CD runners or SSH-only servers) unless X11 forwarding or a virtual display (like `xvfb`) is configured.\r
\r
### Debugging with `verify_search.py`\r
If you encounter issues or want to test if the setup is working:\r
1. Run `python verify_search.py`.\r
2. This script will execute several test queries (e.g., "python tutorial", mixed English/Chinese).\r
3. Watch the browser window to see if it opens and loads Google results.\r
4. Check the console output for success messages or error logs.
安全使用建议
This skill appears to do what it says, but consider the following before installing:
- It launches visible browser windows (headless=False). Run it on a machine with a GUI or use a virtual display (xvfb) or VM if needed.
- It requires installing Python packages and Playwright, which will download browser binaries (run 'playwright install'). Review and trust the packages on PyPI before installing.
- The code writes a local file named scrapling_storage.db in the working directory; that may contain state or cookies—treat it as local data that could include browsing artifacts.
- The scraper enables solve_cloudflare/adaptive stealth settings to bypass protections. That may trigger CAPTCHAs, violate Google/website terms of service, or have legal/ethical implications. Avoid running this against services where you lack permission.
- The verification script will open multiple browser windows; run it interactively (not on shared servers) to inspect behavior.
- If you intend to run this on a server, prefer an isolated environment (VM or container), and audit the installed dependencies. If you need headless operation, you must modify the script and ensure a headless-capable environment.
If you want more assurance, request a line-by-line code review of any third-party libraries (scrapling, browserforge, etc.) and confirm whether solve_cloudflare behavior is acceptable for your use case.
功能分析
Type: OpenClaw Skill
Name: free-google-search-with-browser
Version: 0.0.1
The skill provides a functional Google search capability using the `scrapling` library and browser automation. The code in `google_search.py` correctly implements search result extraction (titles, links, and snippets) and uses a non-headless browser configuration (`headless=False`) to improve success rates against bot detection, as documented in `SKILL.md`. There is no evidence of data exfiltration, malicious execution, or prompt injection; the dependencies listed in `requirements.txt` are standard tools for stealthy web scraping.
能力评估
Purpose & Capability
The name/description (search Google using a browser-like fetcher) aligns with the included Python scripts and requirements. The code implements browser automation (StealthyFetcher) and returns title/link/snippet results; none of the declared or implicit requirements are out-of-scope for a search-by-browser skill.
Instruction Scope
SKILL.md and the scripts instruct running local Python scripts, installing dependencies, and launching a visible browser (headless=False). The runtime will open GUI browser windows and the verify script opens multiple searches for testing. The code configures a local storage file (scrapling_storage.db) and sets solve_cloudflare=True (attempts to handle/solve Cloudflare protections). These behaviors are coherent with a stealthy scraper but have operational and policy implications (visible browser windows, stored local state, possible CAPTCHAs or anti-bot circumvention).
Install Mechanism
No registry install spec is provided; SKILL.md directs using pip install -r requirements.txt and running 'playwright install'. This is a common, expected install approach for Playwright-based Python projects. No downloads from untrusted URLs or archive extraction are present in the registry metadata; the risk is standard package-install risk from PyPI.
Credentials
The skill declares no environment variables or external credentials and the code does not access secrets. It writes a local database file (scrapling_storage.db) for storage, which is proportionate to the scraper's operation. No unrelated credentials or config paths are requested.
Persistence & Privilege
always is false and the skill does not request elevated or persistent platform privileges. It does not modify other skills or global agent settings; its persistence is limited to creating a local storage file in the working directory.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install free-google-search-with-browser - 安装完成后,直接呼叫该 Skill 的名称或使用
/free-google-search-with-browser触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.1
- Initial release of the free-google-search-with-browser skill.
- Search Google and return structured results (title, link, snippet) using a browser automation approach for reliable scraping.
- Requires a GUI environment, launches a visible browser window (headless=False).
- Includes `google_search.py` (main script), `verify_search.py` (debugging), and `requirements.txt`.
- Instructions and troubleshooting tips provided for setup and usage.
元数据
常见问题
free_google_search_with_browser 是什么?
Search Google using scrapling and return structured results (title, link, snippet). Invoke when user asks to search Google or find information online. Your d... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1113 次。
如何安装 free_google_search_with_browser?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install free-google-search-with-browser」即可一键安装,无需额外配置。
free_google_search_with_browser 是免费的吗?
是的,free_google_search_with_browser 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
free_google_search_with_browser 支持哪些平台?
free_google_search_with_browser 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 free_google_search_with_browser?
由 QipengGuo(@qipengguo)开发并维护,当前版本 v0.0.1。
推荐 Skills