Search

PythonReactSEOPDF
OpenClaw

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.

ide-rea0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install ide-rea/baidu-baike-data

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

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

Source information

Source
github
Repository
openclaw/skills
Path
skills/ide-rea/baidu-baike-data
Version
—
Commit
3c71ecff9251de9e494588d8e43b94116e94495b
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

Baidu Baike Skill

Query Baidu Baike encyclopedia entries from OpenClaw.

Purpose

This skill enables two main scenarios:

  1. Direct search by keyword - Get the default matching entry for a term
  2. Homonym resolution - When multiple entries share the same name, list them and let user select specific one

Quick Start

export BAIDU_API_KEY="your_api_key"

# Scenario 1: Direct search
python3 scripts/baidu_baike.py --search_type=lemmaTitle --search_key="Andy Lau"

# Scenario 2: List homonyms
python3 scripts/baidu_baike.py --search_type=lemmaList --search_key="Liu Dehua" --top_k=5

# Then query specific entry by ID
python3 scripts/baidu_baike.py --search_type=lemmaId --search_key="114923"

API

  • LemmaList: List entries with same title (for homonym resolution)
  • LemmaContent: Get detailed entry content by title or ID

Workflow for OpenClaw Agent

  1. Extract noun from user query
  2. If term likely has homonyms (common names, ambiguous terms), call LemmaList first
  3. Show user the list with IDs and descriptions
  4. User selects entry ID (or agent uses default entry)
  5. Call LemmaContent with selected ID
  6. Return structured entry data to user

Response Format

Returns JSON with:

  • lemma_id: Entry ID
  • lemma_title: Entry title
  • lemma_desc: Short description
  • url: Baike page URL
  • abstract_plain: Plain text summary
  • card: Information cards (attributes)
  • albums: Image albums
  • pic_url: Main image URL

Extracted content

SKILL.md
# Baidu Baike

Query encyclopedia entries from Baidu Baike.

## Two Usage Scenarios

### Scenario 1: Direct Search
Get default matching entry for a keyword.
```bash
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.
```bash
# 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
```bash
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
README
# Baidu Baike Skill

Query Baidu Baike encyclopedia entries from OpenClaw.

## Purpose

This skill enables two main scenarios:

1. **Direct search by keyword** - Get the default matching entry for a term
2. **Homonym resolution** - When multiple entries share the same name, list them and let user select specific one

## Quick Start

```bash
export BAIDU_API_KEY="your_api_key"

# Scenario 1: Direct search
python3 scripts/baidu_baike.py --search_type=lemmaTitle --search_key="Andy Lau"

# Scenario 2: List homonyms
python3 scripts/baidu_baike.py --search_type=lemmaList --search_key="Liu Dehua" --top_k=5

# Then query specific entry by ID
python3 scripts/baidu_baike.py --search_type=lemmaId --search_key="114923"
```

## API

- `LemmaList`: List entries with same title (for homonym resolution)
- `LemmaContent`: Get detailed entry content by title or ID

## Workflow for OpenClaw Agent

1. Extract noun from user query
2. If term likely has homonyms (common names, ambiguous terms), call `LemmaList` first
3. Show user the list with IDs and descriptions
4. User selects entry ID (or agent uses default entry)
5. Call `LemmaContent` with selected ID
6. Return structured entry data to user

## Response Format

Returns JSON with:
- `lemma_id`: Entry ID
- `lemma_title`: Entry title
- `lemma_desc`: Short description
- `url`: Baike page URL
- `abstract_plain`: Plain text summary
- `card`: Information cards (attributes)
- `albums`: Image albums
- `pic_url`: Main image URL

Related skills

OpenClaw

ai-maestro

23blocks-os

AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between c...

OpenClaw

registry-broker-skills

hashgraph-online

AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.

OpenClaw

skills-manager

rito-w

A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.