← Back to Skills Marketplace
xiongkun01

baidu-search-auto

by xiongkun01 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
154
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install baidu-search-auto
Description
This skill should be used when the user wants to perform automated searches on Baidu, extract search results, or mentions "百度搜索", "在百度上搜索", "baidu search", "...
README (SKILL.md)

百度搜索自动化

This skill provides automated Baidu search functionality using browser automation.

功能概述

通过浏览器自动化工具在百度上执行搜索,获取搜索结果页面内容。

核心功能

  1. 自动化搜索: 在百度搜索页面输入关键词并执行搜索
  2. 结果提取: 获取搜索结果页面的标题和链接
  3. 浏览器操作: 使用 browser_agent 进行页面交互

使用方式

执行搜索

使用 browser_agent 工具执行百度搜索:

打开百度首页 https://www.baidu.com
在搜索框中输入关键词
点击"百度一下"按钮
等待搜索结果加载完成
返回搜索结果页面内容

参数

  • 搜索关键词: 用户提供的搜索词

工作流程

graph TD
    A[开始] --> B[打开百度首页]
    B --> C[定位搜索框]
    C --> D[输入搜索关键词]
    D --> E[点击搜索按钮]
    E --> F[等待结果加载]
    F --> G[提取搜索结果]
    G --> H[返回结果]

使用示例

示例 1:搜索技术文档

用户: 帮我在百度上搜索 "Python requests 文档"

执行:

  1. 打开 https://www.baidu.com
  2. 在搜索框输入 "Python requests 文档"
  3. 点击搜索按钮
  4. 返回搜索结果

示例 2:获取搜索结果列表

用户: 百度搜索 "快手生服 API"

执行:

  1. 访问百度首页
  2. 输入关键词 "快手生服 API"
  3. 获取前10条搜索结果
  4. 整理结果列表返回给用户

注意事项

  1. 网络依赖: 需要稳定的网络连接
  2. 页面结构: 如果百度页面结构变化,可能需要更新选择器
  3. 反爬虫: 频繁搜索可能触发验证码
  4. 结果格式: 返回的是页面内容,可能需要进一步解析

技术实现

使用 browser_agent 工具进行浏览器自动化:

  • 打开页面: browser_agent 访问 https://www.baidu.com
  • 输入操作: 在搜索框元素中输入关键词
  • 点击操作: 触发搜索按钮
  • 结果等待: 等待结果页面加载完成

限制说明

  • 不支持登录状态下的搜索
  • 不支持高级搜索选项(时间筛选、文件类型等)
  • 搜索结果受百度算法和地域影响
Usage Guidance
This skill is coherent and appears to do what it says (automated Baidu searches via a browser agent). Before installing, confirm what the platform's browser_agent tool is allowed to do in your environment (network access, access to local files, or other agent capabilities). Avoid submitting sensitive secrets as search queries and respect rate limits to reduce triggering Baidu's anti-bot measures. Because this is instruction-only, there is no additional code to inspect — if you need higher assurance, verify the platform's implementation of browser_agent and logging/telemetry for exported data.
Capability Analysis
Type: OpenClaw Skill Name: baidu-search-auto Version: 1.0.0 The skill bundle provides legitimate automated Baidu search functionality using a browser agent. It contains clear instructions in SKILL.md and technical references in baidu_page_structure.md for interacting with the Baidu search page using standard DOM selectors (e.g., #kw, #su). No evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
Capability Assessment
Purpose & Capability
Name and description align with the instructions: the skill only needs browser automation to open baidu.com, enter queries, and extract results. No unrelated binaries, credentials, or config paths are requested.
Instruction Scope
SKILL.md instructs use of a browser_agent to navigate Baidu, interact with page elements, and extract results. It does not instruct reading local files, environment variables, or sending data to third-party endpoints outside of Baidu.
Install Mechanism
No install spec and no code files beyond documentation; nothing is written to disk by the skill itself (instruction-only), which minimizes installation risk.
Credentials
The skill declares no environment variables, secrets, or config paths. The lack of requested credentials matches the simple search/extraction functionality described.
Persistence & Privilege
always is false and the skill is user-invocable; autonomous invocation is allowed by platform default but the skill does not request elevated persistence or system-wide config changes.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install baidu-search-auto
  3. After installation, invoke the skill by name or use /baidu-search-auto
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of baidu-search-auto skill. - Enables automated searches on Baidu using browser automation. - Extracts titles and links from Baidu search results. - Supports searches via keywords provided by the user. - Utilizes browser_agent tool for page interaction and result retrieval. - Designed to help with both general search and structured result extraction. - Includes important notes on usage limits and dependencies.
Metadata
Slug baidu-search-auto
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is baidu-search-auto?

This skill should be used when the user wants to perform automated searches on Baidu, extract search results, or mentions "百度搜索", "在百度上搜索", "baidu search", "... It is an AI Agent Skill for Claude Code / OpenClaw, with 154 downloads so far.

How do I install baidu-search-auto?

Run "/install baidu-search-auto" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is baidu-search-auto free?

Yes, baidu-search-auto is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does baidu-search-auto support?

baidu-search-auto is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created baidu-search-auto?

It is built and maintained by xiongkun01 (@xiongkun01); the current version is v1.0.0.

💬 Comments