baidu-search

countbot-ai/countbot · updated Apr 8, 2026

$npx skills add https://github.com/countbot-ai/countbot --skill baidu-search
0 commentsdiscussion
summary

Baidu AI search with four modes: web search, encyclopedia, video encyclopedia, and AI-generated answers.

  • Supports four search modes via the Baidu Qianfan platform: web search (default), Baidu Baike encyclopedia, Miaodong Baike video encyclopedia, and AI-generated responses
  • Command-line interface with filtering options: limit result count, filter by site, and filter by recency (week/month/semiyear/year)
  • Automatically includes current date context for time-sensitive queries
  • JSON out
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_chat AI 智能搜索生成

注意事项

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

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.757 reviews
  • Aditi Brown· Dec 28, 2024

    Registry listing for baidu-search matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Diya Menon· Dec 24, 2024

    Useful defaults in baidu-search — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Aditi Yang· Dec 12, 2024

    I recommend baidu-search for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Ava Srinivasan· Nov 27, 2024

    baidu-search is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Yash Thakker· Nov 19, 2024

    baidu-search is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Aditi Chen· Nov 19, 2024

    Useful defaults in baidu-search — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Li Menon· Nov 15, 2024

    Registry listing for baidu-search matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Aditi Abebe· Nov 3, 2024

    baidu-search reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Aditi Taylor· Oct 22, 2024

    Registry listing for baidu-search matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Charlotte Diallo· Oct 18, 2024

    Keeps context tight: baidu-search is the kind of skill you can hand to a new teammate without a long onboarding doc.

showing 1-10 of 57

1 / 6