Bailian Web Search for Openclaw

A high-performance web search integration for AI agents powered by Alibaba's Bailian API.

krisyejh
v1.0.4
Mar 1, 2026
5
8.4k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install bailian-web-search

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install bailian-web-search using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Bailian Web Search?

Bailian Web Search is a specialized tool designed to provide AI agents with real-time, high-quality information from across the web. By leveraging the Bailian (Alibaba ModelStdio) Enable_search API, this skill delivers concise and multi-sourced results specifically formatted for consumption by Large Language Models. Integrating Openclaw Skills like this allows developers to bridge the gap between static model training data and the dynamic live web, ensuring agent responses are grounded in current facts.

This skill is engineered for efficiency, returning clean content that reduces token waste while maximizing the relevance of retrieved information. It is an essential component for any developer building sophisticated RAG (Retrieval-Augmented Generation) workflows or autonomous research agents.

Bailian Web Search Use Cases

  • Fact-checking and grounding AI responses with real-time web data.
  • Automating market research tasks within an AI agent workflow.
  • Retrieving up-to-date technical documentation or news for analysis.
  • Enhancing LLM capabilities with multisourced, concise search results to reduce hallucinations.

How Bailian Web Search Works

  1. The user or agent triggers the search script with a specific query and an optional result count.
  2. The shell script authenticates with the Alibaba DashScope API using the provided DASHSCOPE_API_KEY.
  3. The Bailian engine crawls and aggregates relevant web content based on the query.
  4. The raw data is processed to extract clean, relevant text snippets suitable for LLM context windows.
  5. The finalized results are returned to the agent for immediate processing or decision-making.

Bailian Web Search Setup

To get started with this skill, ensure you have an active Alibaba Cloud account and access to the Bailian ModelStdio.

# 1. Export your Alibaba DashScope API Key
export DASHSCOPE_API_KEY="your_api_key_here"

# 2. Ensure dependencies (curl, jq) are installed on your system

# 3. Execute a search query via the provided script
./scripts/mcp-websearch.sh "Your search query" 10

Bailian Web Search Data Schema & Taxonomy

The skill utilizes a straightforward input structure and relies on environment variables for secure authentication. Using Openclaw Skills ensures a consistent data flow between the web and your agent.

Parameter Type Description
query String The search term or question to research on the web.
count Integer Number of results to return (Default: 5, Max: 20).
DASHSCOPE_API_KEY Env Var Required authentication token for Alibaba Cloud DashScope.
baseDir Path The root directory where the search scripts are located.

Bailian Web Search Advanced Features

  • Customizable result counts allowing for deep-dive research with up to 20 sources per query.
  • Clean JSON output processing using jq for seamless integration into complex multi-agent pipelines.
  • Multi-sourced aggregation designed to minimize bias and improve the reliability of retrieved data.
  • Lightweight bash-based implementation that ensures high performance and low system overhead within Openclaw Skills environments.

SKILL.md


Loading

Related Openclaw Skills

Featured*