Baidu Search

SkillSearch

Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Baidu Search skill

What this skill tells your AI

The instructions your AI receives, as published by craftos-dev/craftbot in skills/baidu-search/SKILL.md and read by ahel’s review.

Search the web via Baidu AI Search API.

Usage

python3 skills/baidu-search/scripts/search.py '<JSON>'

Request Parameters

ParamTypeRequiredDefaultDescription
querystryes-Search query
editionstrnostandardstandard (full) or lite (light)
resource_type_filterlist[obj]noweb:20, others:0Resource types: web (max 50), video (max 10), image (max 30), aladdin (max 5)
search_filterobjno-Advanced filters (see below)
block_websiteslist[str]no-Sites to block, e.g. ["tieba.baidu.com"]
search_recency_filterstrno-Time filter: week, month, semiyear, year
safe_searchboolnofalseEnable strict content filtering

SearchFilter

ParamTypeDescription
match.sitelist[str]Limit search to specific sites, e.g. ["baike.baidu.com"]
range.pageTimeobjDate range for page_time field (see below)

Date Range Format

Fixed date: YYYY-MM-DD Relative time (from current day): now-1w/d, now-1M/d, now-1y/d

OperatorMeaning
gteGreater or equal (start)
lteLess or equal (end)

Examples

# Basic search
python3 skills/baidu-search/scripts/search.py '{"query":"人工智能"}'

# Filter by time and site
python3 skills/baidu-search/scripts/search.py '{
  "query":"最新新闻",
  "search_recency_filter":"week",
  "search_filter":{"match":{"site":["news.baidu.com"]}}
}'

# Resource type filter
python3 skills/baidu-search/scripts/search.py '{
  "query":"旅游景点",
  "resource_type_filter":[{"type":"web","top_k":20},{"type":"video","top_k":5}]
}'

Current Status

Fully functional.

Signals

GitHub stars
382
Forks
45
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
baidu-search-craftos-dev
Source
github.com/craftos-dev/craftbot