ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

baidu-baike-data

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.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/ide-rea/baidu-baike-data
Or

Baidu Baike

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

  1. Extract noun from query
  2. For ambiguous terms, call LemmaList first
  3. User selects entry from list
  4. Call LemmaContent with selected ID
  5. Return structured data

Metadata

Author@ide-rea
Stars2387
Views0
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-ide-rea-baidu-baike-data": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.