acceleratel/investment-advisor-zhang-openclaw-cn/SKILL.md
通过百度 AI 搜索 API 进行网页搜索,获取实时信息和搜索结果。
npx skillsauth add openclaw/skills 百度搜索Install this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Search the web with Baidu AI
通过百度 AI 搜索 API 进行网页搜索,获取中文互联网的实时信息。
cd {baseDir}
echo "BAIDU_API_KEY=your-api-key" > .env
uv venv && uv pip install -e ".[dev]"
uv run --env-file .env uvicorn baidu_search.main:app --host 127.0.0.1 --port 8001
需要在 .env 或环境变量中设置 BAIDU_API_KEY。
检查服务: curl http://127.0.0.1:8001/ping
搜索网页:
curl -X POST http://127.0.0.1:8001/search \
-H "Content-Type: application/json" \
-d '{
"query": "北京有哪些旅游景区",
"top_k": 10
}'
curl -X POST http://127.0.0.1:8001/search \
-H "Content-Type: application/json" \
-d '{
"query": "最新科技新闻",
"top_k": 5,
"recency_filter": "week"
}'
curl -X POST http://127.0.0.1:8001/search \
-H "Content-Type: application/json" \
-d '{
"query": "天气预报",
"top_k": 5,
"site_filter": ["www.weather.com.cn"]
}'
| 参数 | 类型 | 默认值 | 说明 |
|------|------|--------|------|
| query | string | 必填 | 搜索关键词 |
| top_k | int | 10 | 返回结果数量 (1-20) |
| recency_filter | string | null | 时间过滤: day, week, month, year |
| site_filter | list | null | 限定搜索的网站列表 |
{
"results": [
{
"title": "北京十大必去景点",
"url": "https://example.com/beijing-attractions",
"snippet": "北京作为中国的首都,拥有众多著名景点...",
"site_name": "旅游网"
}
],
"total": 10
}
tools
Use when the user wants to connect to, test, or use the McDonalds service at mcp.mcd.cn, including checking authentication, probing MCP endpoints, listing tools, or calling McDonalds MCP tools through a reusable local CLI.
development
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
development
SlowMist AI Agent Security Review — comprehensive security framework for skills, repositories, URLs, on-chain addresses, and products (Claude Code version)
data-ai
去除中文文本中的 AI 写作痕迹,使其读起来自然。基于维基百科 AI 写作特征指南,检测 24 种 AI 模式。触发词:humanizer-cn、去除 AI 痕迹、去除 AI 写作痕迹、中文文本人性化。