# Baidu Search

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

- **Type:** Skill
- **Install:** `agentstack add skill-countbot-ai-countbot-baidu-search`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [countbot-ai](https://agentstack.voostack.com/s/countbot-ai)
- **Installs:** 0
- **Category:** [Search](https://agentstack.voostack.com/c/search)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [countbot-ai](https://github.com/countbot-ai)
- **Source:** https://github.com/countbot-ai/CountBot/tree/main/workspace/skills/baidu-search
- **Website:** https://654321.ai

## Install

```sh
agentstack add skill-countbot-ai-countbot-baidu-search
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 百度 AI 搜索

基于百度千帆平台的 AI 搜索服务，支持多种搜索模式。

## 配置

编辑 `skills/baidu-search/scripts/config.json`，填写 API Key：

```json
{
  "api_key": "bce-v3/YOUR_API_KEY_HERE"
}
```

API Key 从 [百度千帆平台](https://console.bce.baidu.com/qianfan/ais/console/onlineService) 获取。

## 命令行调用

```bash
# 网页搜索（默认）
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 字符
- 自动包含当前日期上下文，方便处理时效性查询

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [countbot-ai](https://github.com/countbot-ai)
- **Source:** [countbot-ai/CountBot](https://github.com/countbot-ai/CountBot)
- **License:** MIT
- **Homepage:** https://654321.ai

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-countbot-ai-countbot-baidu-search
- Seller: https://agentstack.voostack.com/s/countbot-ai
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
