Baidu Baike
SkillDev toolsThe Baidu Baike Component is a knowledge service tool designed to query authoritative encyclopedia explanations for various nouns. Its core function is given a specific "noun" (object, person, location, concept, event, etc.) provided by the user, it returns a standardized, detailed entry explanation sourced from Baidu Baike.
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the Baidu Baike skill
What this skill tells your AI
The instructions your AI receives, as published by hepai-lab/drsai in skills/clawhub_ai_collection/baidu-baike-data/SKILL.md and read by ahel’s review.
Query encyclopedia entries from Baidu Baike.
Two Usage Scenarios
Scenario 1: Direct Search
Get default matching entry for a keyword.
python3 scripts/baidu_baike.py --search_type=lemmaTitle --search_key="keyword"
Scenario 2: Homonym Resolution
When term has multiple entries, list them and select by ID.
# List entries with same name
python3 scripts/baidu_baike.py --search_type=lemmaList --search_key="keyword" --top_k=5
# Get specific entry by ID
python3 scripts/baidu_baike.py --search_type=lemmaId --search_key="entry_id"
API
- LemmaList: List entries with same title
- LemmaContent: Get entry details by title or ID
Setup
export BAIDU_API_KEY="your_api_key"
Workflow
- Extract noun from query
- For ambiguous terms, call LemmaList first
- User selects entry from list
- Call LemmaContent with selected ID
- Return structured data
Signals
- GitHub stars
- 24
- Forks
- 5
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
baidu-baike-data- Source
- github.com/hepai-lab/drsai