Use when working with the 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.
This skill allows OpenClaw agents to search detailed entry explanations via Baidu Baike .
| name | path | description |
|---|
| LemmaList | /v2/baike/lemma/get_list_by_title | Query the list of entries that are the same as this term, and the is_default field in the return represents the subject term |
| LemmaContent | /v2/baike/lemma/get_content | Query the entry explanation or detailed content of an entry based on the entry id or entry name, best to do so based on the entry ID |
scripts/baidu_baike.shlemma_title: The search entry nametop_k: Number of results to return (default: 5)curl -XGET 'https://appbuilder.baidu.com/v2/baike/lemma/get_content?lemma_title=刘德华' \
-H 'Authorization: Bearer BAIDU_API_KEY'
search_type: The type of search, optional values include: "lemmaTitle", "lemmaId"search_key: The search key, either the entry name or entry IDcurl -XGET 'https://appbuilder.baidu.com/v2/baike/lemma/get_content?search_type=lemmaTitle&search_key=刘德华' \
-H 'Authorization: Bearer BAIDU_API_KEY'
Example 1: if user just give lemmaTitle
BAIDU_API_KEY=xxx sh scripts/baidu_baike.sh 'search' '$lemmaTitle'
Example 1: if user just give lemmaId
BAIDU_API_KEY=xxx sh scripts/baidu_baike.sh 'search_by_id' '$lemmaId'
Example 1: if user just give lemmaTitle,but wish search by lemmaId
BAIDU_API_KEY=xxx sh scripts/baidu_baike.sh 'list_by_title' '$lemmaTitle'
Converted and distributed by TomeVault Context snippets also available to append to your CLAUDE.md, GEMINI.md, and copilot-instructions.md — download at TomeVault