baidu-search
by ide-rea
Search & ResearchBrief
Search the web using Baidu AI Search Engine (BDSE).
Description
What This Skill Does
Runs web searches through Baidu's AI Search API and returns results to the agent. Supports result count control and date-range filtering for time-sensitive queries.
Gives agents access to Baidu's index, which covers Chinese-language content more comprehensively than Western search engines.
When to Use It
- Looking up recent Chinese-language news
- Researching topics with Baidu's index
- Fetching results from the past 24 hours or a custom date range
- Finding documentation or references via Baidu
- Gathering multiple results in a single query
Example Workflow
User asks: 'What are the latest AI news from the past week?'
- 1
Constructs a JSON payload with the query and freshness set to 'pw'
- 2
Calls the search script via python3
- 3
Parses the returned results list
- 4
Extracts titles, snippets, and URLs from each result
A list of recent AI news articles with titles and links from Baidu's index
Requirements
- BAIDU_API_KEY environment variable
Installation
clawhub install ide-rea/baidu-searchRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.