首页龙虾技能列表 › baidu baike search — 技能工具

📖 baidu baike search — 技能工具

v1.1.0

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.

4· 9,026·59 当前·61 累计
by @ide-rea·MIT-0
下载技能包
License
MIT-0
最后更新
2026/2/26
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill's requirements and runtime behavior are consistent with a Baidu Baike lookup tool; it only needs a BAIDU_API_KEY and python3 and calls Baidu's API endpoints to return entries.
评估建议
This skill is coherent with its description, but check a few practical things before installing: (1) BAIDU_API_KEY is required — ensure you trust the skill and the API key's scope, and avoid using a high-privileged production key during testing. (2) The script makes HTTPS requests to https://appbuilder.baidu.com/v2/baike — confirm your environment allows outbound network calls and that sending query terms to Baidu is acceptable for your privacy needs (queries may contain sensitive nouns). (3) Th...
详细分析 ▾
用途与能力
Name/description match the code and SKILL.md: the script performs lemmaList/lemmaContent queries against a Baidu-hosted API. Minor inconsistencies: the SKILL.md/homepage points to baike.baidu.com while the code calls https://appbuilder.baidu.com/v2/baike (an API host). _meta.json version differs from registry metadata. These are implementation/metadata mismatches but not evidence of malicious intent.
指令范围
SKILL.md instructs the agent to extract a noun and call the script which only sends the search parameters to the Baidu API and returns JSON. The instructions do not ask the agent to read unrelated files, other env vars, or transmit data to unexpected endpoints.
安装机制
No install spec (instruction-only) so nothing is written automatically to disk by an installer. The included script depends on the Python 'requests' library but the skill does not declare that dependency; the runtime environment must provide it. Network calls go to the Baidu appbuilder API host (not to shorteners or unknown servers).
凭证需求
The only required environment variable is BAIDU_API_KEY (declared as the primary credential), which is appropriate for an API client. No other secrets, config paths, or unrelated credentials are requested.
持久化与权限
always is false and the skill does not request persistent system privileges or modify other skills. It will run only when invoked (or when the agent chooses to invoke it), which is expected.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.1.02026/2/9

- Added comprehensive usage instructions, including direct search and homonym resolution scenarios. - Documented all available API functions and workflows for querying and retrieving Baidu Baike entries. - Updated setup guidance, specifying the required BAIDU_API_KEY environment variable. - Expanded skill description for clarity on its purpose and capabilities.

● 无害

安装命令 点击复制

官方npx clawhub@latest install baidu-baike-data
镜像加速npx clawhub@latest install baidu-baike-data --registry https://cn.clawhub-mirror.com

技能文档

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

  • Extract noun from query
  • For ambiguous terms, call LemmaList first
  • User selects entry from list
  • Call LemmaContent with selected ID
  • Return structured data
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务