The interface is localized. Skill descriptions and documents are machine-translated by AI into your language; code, commands, paths and technical terms stay in the original, and the author's document governs.
Explore skills
Development · SKILL.md

aliyun-search

aliyun-search

Perform web searches using Alibaba Cloud UnifiedSearch API. Provides advanced search capabilities with configurable parameters.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill documentation

GitHub

name: aliyun-search description: Perform web searches using Alibaba Cloud UnifiedSearch API. Provides advanced search capabilities with configurable parameters.

Alibaba Cloud UnifiedSearch Skill

This skill provides the ability to perform web searches using Alibaba Cloud UnifiedSearch API.

Features

  • Support multiple search engine types (Generic, GenericAdvanced, LiteAdvanced)
  • Configurable time range filtering
  • Category-specific search (finance, law, medical, etc.)
  • Location-based search (city/IP)
  • Rich result formatting

Usage

Basic Usage

python search.py "云栖大会"

Advanced Usage

python search.py "北京天气" --engine-type "Generic" --city "北京市"
python search.py "金融新闻" --category "finance" --time-range "OneWeek" --engine-type "GenericAdvanced"

Scripts

  • search.py: Python implementation of Alibaba Cloud UnifiedSearch API

Configuration

Before using, you need to:

  1. Obtain Alibaba Cloud AccessKey and Secret
  2. Set environment variables:
    export ALIBABA_CLOUD_ACCESS_KEY_ID="your_access_key_id"
    export ALIBABA_CLOUD_ACCESS_KEY_SECRET="your_access_key_secret"
    
  3. Ensure the required permissions are granted
  4. Install dependencies: pip install aliyun-python-sdk-core requests
Saved skills