Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
- Added detailed usage instructions and examples for using the Baidu AI Search API in SKILL.md. - Documented all available request parameters, including query, count, and freshness options. - Updated skill description for clarity on live search and research capabilities. - Included requirements for environment variables and binaries in metadata. - Confirmed the skill is fully functional.
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
Here's how your AI assistant might use this skill in practice.
User asks: 'What are the latest AI news from the past week?'
- 1Constructs a JSON payload with the query and freshness set to 'pw'
- 2Calls the search script via python3
- 3Parses the returned results list
- 4Extracts titles, snippets, and URLs from each result
A list of recent AI news articles with titles and links from Baidu's index
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.