Baidu AI Search 百度AI搜索

百度 AI 搜索。支持网页搜索、百度百科、秒懂百科、AI 智能生成四种模式。自动包含当前日期上下文。当用户要求搜索信息、查询百科、获取最新资讯、搜索新闻、查找资料时使用。

MIT-0 · Free to use, modify, and redistribute. No attribution required.
0 · 468 · 5 current installs · 5 all-time installs
byAI-4-Chinese@jaccchina-ai
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (Baidu AI 搜索) match the included Python CLI and manager code: the package implements web search, Baike, video (秒懂百科) and AI chat endpoints and documents the required API key. No unrelated services, binaries, or credentials are requested.
Instruction Scope
SKILL.md tells the agent to edit the included scripts/config.json with a Baidu API key and run the provided Python script. The instructions reference only the included files and Baidu endpoints; they do not direct reading arbitrary local files, other env vars, or exfiltration to unexpected endpoints.
Install Mechanism
No install spec is present (instruction-only install). The package includes Python code and a requirements.txt listing only 'requests'. There are no downloads from remote URLs or archive extraction steps in the manifest.
Credentials
The only required secret is a Baidu API key (documented to go into scripts/config.json). The repo does not request unrelated credentials or system config paths. Note: the API key is stored in plaintext config.json as the skill suggests.
Persistence & Privilege
always is false, the skill is user-invocable and can be invoked autonomously (platform default). The code does not attempt to modify other skills or system-wide agent configuration.
Assessment
This package appears to be a straightforward Baidu AI search client. Before installing: (1) verify you trust the source since 'Homepage' is empty and the owner is unknown; (2) obtain an API key from Baidu and be aware the key is stored in plain text in scripts/config.json — avoid putting a long-lived or highly privileged secret there if others can access the filesystem; (3) the tool makes outbound HTTPS requests to Baidu domains (qianfan.baidubce.com and appbuilder.baidu.com) and depends on the 'requests' Python package; (4) review network policies if you need to restrict outbound calls. If you require stronger key protection, consider using a secrets store or environment-based injection instead of committing the key to the config file.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.0
Download zip
latestvk97dvp0r4agwn4ngey9egbgexd82e4ve

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

SKILL.md

百度 AI 搜索

基于百度千帆平台的 AI 搜索服务,支持多种搜索模式。

配置

编辑 skills/baidu-search/scripts/config.json,填写 API Key:

{
  "api_key": "bce-v3/YOUR_API_KEY_HERE"
}

API Key 从 百度千帆平台 获取。

命令行调用

# 网页搜索(默认)
python3 skills/baidu-search/scripts/search.py "搜索关键词"

# JSON 输出(推荐 AI 使用)
python3 skills/baidu-search/scripts/search.py "人工智能最新进展" --json

# 限制结果数
python3 skills/baidu-search/scripts/search.py "Python教程" --limit 5

# 站点过滤
python3 skills/baidu-search/scripts/search.py "天气预报" --sites weather.com.cn

# 时间过滤(week/month/semiyear/year)
python3 skills/baidu-search/scripts/search.py "AI新闻" --recency week

# 百度百科
python3 skills/baidu-search/scripts/search.py "人工智能" --api-type baike

# 秒懂百科(视频)
python3 skills/baidu-search/scripts/search.py "深度学习" --api-type miaodong_baike

# AI 智能生成
python3 skills/baidu-search/scripts/search.py "什么是人工智能" --api-type ai_chat

API 类型

类型说明
web_search网页搜索(默认)
baike百度百科
miaodong_baike秒懂百科(视频)
ai_chatAI 智能搜索生成

注意事项

  • 免费额度:100 次/天
  • 网页搜索查询最长 72 字符
  • 自动包含当前日期上下文,方便处理时效性查询

Files

6 total
Select a file
Select a file to preview.

Comments

Loading comments…