aliyun-web-search阿里云实时搜索 | Aliyun Real-time Web Search with Quark Engine
Install via ClawdBot CLI:
clawdbot install xiaoyunbowen/aliyun-web-search📢 Note: Aliyun's service management is a bit chaotic - this skill helps you configure it step by step!
📢 吐槽:阿里云的服务管理确实有点混乱,这个技能帮你理清配置步骤!
Real-time web search using Aliyun Open Search Platform (AI Gateway) with Quark search engine. Returns latest, accurate Chinese search results.
使用阿里云开放搜索平台(AI 网关)进行实时网页搜索,支持夸克搜索引擎,返回最新、最准确的中文搜索结果。
https://apigw.console.aliyun.com/#/cn-hangzhou/ai-gateway
在顶部菜单栏选择你的实例所在地域(如:华北 2-北京、华东 1-杭州等)
单击你的实例 ID 进入详情页
左侧导航栏 → Model API → 点击目标 API 名称
点击 策略与插件 标签
找到 联网搜索 开关,打开它
首次使用会显示 "未开通",点击 前往开通
开通后点击 开通校验,状态变为 "试用中"
💡 Free Trial: 15 days free, 1000 requests/day, 5 QPS limit
💡 免费试用:15 天免费,1000 次/天,5 QPS 性能限制
📖 Formal Activation: https://help.aliyun.com/document_detail/2869993.html
https://ipaas.console.aliyun.com/api-key
点击 创建 API Key
OS-xxxxxxxxxxxxxxxx) 复制你的 API Key(格式:OS-xxxxxxxxxxxxxxxx)
⚠️ Security: API Key is shown only once, save it immediately!
⚠️ 安全提示:API Key 只在第一次显示,记得马上复制保存!
Select service address based on your instance region:
根据你的实例所在地域,选择对应的服务地址:
| Region | Service URL Example |
|--------|---------------------|
| North China 2-Beijing (华北 2-北京) | http://default-21rb.platform-cn-beijing.opensearch.aliyuncs.com |
| East China 1-Hangzhou (华东 1-杭州) | http://default-21rb.platform-cn-hangzhou.opensearch.aliyuncs.com |
| South China 1-Shenzhen (华南 1-深圳) | http://default-21rb.platform-cn-shenzhen.opensearch.aliyuncs.com |
| Other Regions (其他地域) | Check your instance details page in AI Gateway Console |
💡 How to Find Service URL | 如何查看服务地址:
1. Open AI Gateway Console | 打开 AI 网关控制台
2. Select your region | 选择你的地域
3. Click instance ID | 点击实例 ID
4. Find your URL in "Access Information" or "Service Address" tab | 在 "接入信息" 或 "服务地址" 标签页找到你的专属地址
Add to openclaw.json:
在 openclaw.json 中添加:
{
"env": {
"ALIYUN_SEARCH_API_KEY": "YOUR_API_KEY",
"ALIYUN_SEARCH_HOST": "YOUR_SERVICE_URL"
},
"skills": {
"entries": {
"aliyun-web-search": {
"enabled": true,
"env": {
"ALIYUN_SEARCH_API_KEY": "YOUR_API_KEY",
"ALIYUN_SEARCH_HOST": "YOUR_SERVICE_URL"
}
}
}
}
}
Example (Beijing Region) | 示例(北京地区):
{
"env": {
"ALIYUN_SEARCH_API_KEY": "OS-0fw5937ch3u5eegd",
"ALIYUN_SEARCH_HOST": "http://default-21rb.platform-cn-beijing.opensearch.aliyuncs.com"
}
}
Restart gateway after configuration | 配置完成后重启网关:
openclaw gateway restart
Configure in AI Gateway Console | 在 AI 网关控制台配置:
User: Search for latest AI news | 帮我搜索最新的 AI 新闻
Assistant: [Using aliyun-web-search]
PowerShell:
$env:ALIYUN_SEARCH_API_KEY="OS-xxxxxxxx"
$env:ALIYUN_SEARCH_HOST="http://default-21rb.platform-cn-beijing.opensearch.aliyuncs.com"
cd skills/aliyun-web-search
.\scripts\search.ps1 "AI news" 5
Bash:
export ALIYUN_SEARCH_API_KEY="OS-xxxxxxxx"
export ALIYUN_SEARCH_HOST="http://default-21rb.platform-cn-beijing.opensearch.aliyuncs.com"
cd skills/aliyun-web-search
./scripts/search.sh "AI news" 5
{
"result": {
"search_result": [
{
"title": "AI Development Trends 2026 | 2026 年 AI 发展趋势",
"link": "https://example.com/ai-trends-2026",
"snippet": "AI field will see major breakthroughs in 2026... | 2026 年 AI 领域将迎来重大突破...",
"publishedTime": "2026-02-20T10:00:00+08:00"
}
]
}
}
A: Check if API Key is correct, ensure service is activated and in "Trial" or "Formal" status
检查 API Key 是否正确,确保服务已开通并处于 "试用中" 或 "正式" 状态
A: AI Gateway Console → Select region → Instance details → Access information/Service address
AI 网关控制台 → 选择地域 → 实例详情 → 接入信息/服务地址
A: Apply for formal activation | 申请正式开通:https://help.aliyun.com/document_detail/2869993.html
A: Enable "Intent Recognition" in console to let AI optimize search queries
在控制台开启 "意图识别",让 AI 自动优化搜索查询
Created by 猪王 (Pig King) 🐷 | Based on Aliyun Open Search Platform | 基于阿里云开放搜索平台
Generated Mar 1, 2026
Startups can use this skill to gather real-time data on competitors, industry trends, and consumer feedback in Chinese markets. It helps in making informed decisions by providing up-to-date web content from sources like news sites and forums.
Researchers and students can leverage this skill to find the latest academic papers, news articles, and reports in Chinese. It supports time-range filters to focus on recent publications, enhancing literature reviews and data collection.
Marketing professionals can use this skill to search for trending topics, keywords, and competitor strategies in real-time. It enables the creation of timely and relevant content for blogs, social media, and SEO optimization in Chinese-speaking regions.
Law firms and compliance teams can utilize this skill to track regulatory updates, legal news, and case studies in Chinese. The industry filter allows focusing on law-related content, aiding in risk assessment and policy adherence.
Medical professionals and researchers can search for the latest health news, clinical studies, and public health data in Chinese. This supports evidence-based practice and staying updated on medical advancements in real-time.
Offer tiered subscription plans for businesses to access the search API, with higher tiers providing more requests per day and advanced features like industry filters. Revenue is generated through monthly or annual fees based on usage limits.
Provide a free trial with limited requests (e.g., 1000/day) and basic features, then upsell to paid plans for increased limits, faster response times, and additional configurations like content type and time range. Revenue comes from premium upgrades.
Sell customized integration packages for large enterprises, including dedicated support, custom configurations, and training. Revenue is generated through one-time setup fees and ongoing service contracts for maintenance and updates.
💬 Integration Tip
Ensure API keys and service URLs are correctly configured in the environment variables, and restart the gateway after setup to avoid common activation issues.
Summarize URLs or files with the summarize CLI (web, PDFs, images, audio, YouTube).
AI-optimized web search via Tavily API. Returns concise, relevant results for AI agents.
This skill should be used when users need to search the web for information, find current content, look up news articles, search for images, or find videos. It uses DuckDuckGo's search API to return results in clean, formatted output (text, markdown, or JSON). Use for research, fact-checking, finding recent information, or gathering web resources.
Web search and content extraction via Brave Search API. Use for searching documentation, facts, or any web content. Lightweight, no browser required.
Search indexed Discord community discussions via Answer Overflow. Find solutions to coding problems, library issues, and community Q&A that only exist in Discord conversations.
Multi search engine integration with 17 engines (8 CN + 9 Global). Supports advanced search operators, time filters, site search, privacy engines, and WolframAlpha knowledge queries. No API keys required.