搜索

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 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install ide-rea/baidu-baike-data

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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
github
Repository
openclaw/skills
Path
skills/ide-rea/baidu-baike-data
Version
—
Commit
3c71ecff9251de9e494588d8e43b94116e94495b
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

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

来源内容

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

相关技能

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.