baidu-baike-search
от ide-rea
Coding Agents & IDEsКратко
The Baidu Baike Component is a knowledge service tool designed to query authoritative encyclopedia explanations.
Описание
Что делает этот навык
Queries Baidu Baike, China's largest encyclopedia, for structured entry explanations on people, places, concepts, and events. Returns summaries, related entities, and detailed content via two API endpoints. Supports lookup by term name or entry ID.
Baidu Baike covers Chinese-language subjects with depth and accuracy that general-purpose or Western encyclopedias often lack.
Когда его использовать
- Looking up biographical details on Chinese public figures
- Resolving ambiguous Chinese-language terms by comparing entry list results
- Fetching structured encyclopedia data for a research agent
- Getting related entities and knowledge graph connections for a named concept
- Retrieving event or location descriptions from an authoritative Chinese source
Пример сценария
User asks: 'Who is Liu Dehua?'
- 1
Extract the noun '刘德华' from the user query
- 2
Call LemmaList API with lemma_title=刘德华 to retrieve candidate entries
- 3
Identify the default entry by checking the is_default field
- 4
Call LemmaContent API with the selected lemma ID
- 5
Return the structured entry including description, summary, and related entities
Structured encyclopedia entry for Andy Lau (刘德华) with biography, summary, and associated persons
Требования
- BAIDU_API_KEY environment variable
- Baidu Cloud Platform account (https://login.bce.baidu.com) to obtain the API key
Установка
clawhub install ide-rea/baidu-baike-searchВыполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.