Skip to content
Cloud & Infrastructure
Skill

/alibabacloud-iqs-search

Real-time web search and page reading using Aliyun IQS APIs. Use this skill FIRST when the user needs current information, news, facts verification, URL content extraction, or any web-based research. This skill provides structured search results with source links,

From plugin
alibabacloud-aiops-skills
213200 skills
Install
$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-iqs-search --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/alibabacloud-iqs-search

Context preview

The summary Claude sees to decide when to auto-load this skill.

Real-time web search and page reading using Aliyun IQS APIs. Use this skill FIRST when the user needs current information, news, facts verification, URL content extraction, or any web-based research. This skill provides structured search results with source links,

SKILL.md

alibabacloud-iqs-search.SKILL.md
name: alibabacloud-iqs-search
description: Real-time web search and page reading using Aliyun IQS APIs. Use this skill FIRST when the user needs current information, news, facts verification, URL content extraction, or any web-based research. This skill provides structured search results with source links, markdown-formatted content extraction, and supports various search engines including real-time news search and deep research modes.

alibabacloud-iqs-search

Prerequisites

  • Node.js >= 18.0.0 (scripts use native fetch API, no external npm dependencies)

When to Use

  • User asks for current/recent information
  • User provides a URL to read
  • Need to verify facts or get real-time data
  • Research tasks requiring multiple sources

Decision Tree

Step 1: Determine Operation Type

  • If user provides a URL → Use `readpage`
  • If user asks a question needing web info → Use `search`

Step 2: For Search Operations

Follow the best practices to determine parameter values. Use default values when uncertain:

  • **engineType**
  • **timeRange**
  • **contents**

Step 3: For Page Reading

Follow the best practices to determine parameter values. Use default values when uncertain:

  • **format**
  • **extractArticle**
  • **stealthMode**

CRITICAL: Execution Method

**You MUST execute the scripts via bash command (e.g., `node scripts/search.mjs ...` or `node scripts/readpage.mjs ...`). Do NOT use your built-in web_search, WebFetch, or any other internal tools as substitutes. If the script fails, retry or report the error — do NOT fall back to built-in tools.**

Parameters & Best Practices

Search Parameters

| Parameter | Type | Required | Default | Description | |----------------|---------|----------|----------------|------------------------------------------| | `--query` | string | Yes | - | Search query (1-500 chars) | | `--engineType` | string | No | `LiteAdvanced` | Search engine type | | `--timeRange` | string | No | `NoLimit` | Time range filter | | `--contents` | string | No | - | Type of return content | | `--numResults` | int | No | `10` | Number of search results (1-10) |

Search Best Practices

**1. Query Optimization (`--query`)**

  • Keep queries concise (< 30 chars for best results)
  • Use specific keywords, avoid stop words
  • For news: include time context in query

**2. Engine Selection (`--engineType`)**

The four engines differ significantly in latency, recall depth, content length, and cost. Pick the cheapest engine that meets the task — do NOT default to `Deep`; it is ~10× slower and 50× more expensive than the standard engine.

| Engine | Avg RT | Result count | snippet | mainText | Advanced filters | Multilingual | Cost ratio (vs Standard) | Use case | |----------------|--------|--------------|-------------|--------------|------------------|--------------|--------------------------|-------------------------------------------------------------------------------------------| | `Generic` | ~950ms | ~10 | ~150 chars | ≤3000 chars | ✗ | Medium | 1× | General search, news/realtime, scene queries like weather (supports `city`/`ip`) | | `LiteAdvanced` | ~500ms | 1-50 | ~500 chars | ≤3000 chars | ✓ | Good | Lite-tier 1× | **Default recommendation**: low-latency semantic search; snippets are already rich enough | | `Deep` | ~6s | 1-50 | ≤500 chars | ≤50000 chars | ✓ | Good (CN/EN) | **Vertical 50×** | Complex multi-step reasoning, research reports, offline/Agent tasks needing deep browsing |

Decision rules:

  • **Default → `LiteAdvanced`**: low latency + semantic search + snippet covers most Agent needs without needing extra mainText fetches.
  • **Choose `Generic`** when: the query is short and clearly informational (news, weather, simple facts), or when minimizing cost matters; also the only engine honoring `city` / `ip` for scene results (weather etc.).
  • **Choose `Deep`** ONLY when: the question is multi-hop / complex reasoning (FRAMES/BrowseComp-style), OR you need very long mainText (≤50000 characters, ~16× longer than other engines) for downstream LLM reasoning.
  • ⚠️ **Avoid `Deep` for**: real-time chat, simple lookups, high-QPS scenarios — latency (~6s) and cost (50×) are prohibitive.

**3. Time Range Selection (`--timeRange`)**

  • `NoLimit`: Default when uncertain - engine optimizes based on query relevance
  • `OneDay`: Today only
  • `OneWeek`: Last 7 days
  • `OneMonth`: Last 30 days
  • `OneYear`: Last 365 days

**4. Content Return (`--contents`)**

  • `mainText`: Return full main text content - Use when detailed information is needed, such as technical documentation, research reports, or in-depth articles
  • `summary`: Return concise summary only - Use when a quick overview is sufficient, or when the page content is too large and token reduction is needed

**5. Result Count (`--numResults`)**

  • Control number of results returned (default: 10, range: 1-10)

---

ReadPage Parameters

| Parameter | Type | Required | Default | Description | |------------------|---------|----------|------------|-----------------------------------| | `--url` | string | Yes | - | Target page URL | | `--format` | string | No | `markdown` | Return format | | `--timeout` | number | No | `60000` | Total timeout in milliseconds | | `--pageTimeout` | number | No | `15000` | Page load timeout in milliseconds | | `--stealth` | number | No | `0` | Enable st

Read more
Ships withalibabacloud-aiops-skills

Official Alibaba Cloud Agent Skills collection, providing AI agents with rich Alibaba Cloud product capabilities and general-purpose tooling.

Get the whole plugin

Other skills on alibabacloud-aiops-skills.