Skip to content
Back to skills

Dashscope Web Search

ASecurity

Search the web for real-time information using DashScope Qwen. Use this skill whenever: (1) the user asks about current events, news, weather, stock prices, or anything requiring up-to-date information; (2) the user asks you to 'search', 'look up', 'find out', or 'check' something online; (3) the user asks a factual question your training data may not cover; (4) the user asks about a person, company, product, or event with possible recent updates; (5) the user wants images or visual reference...

  • 11 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 10, 2026
researchpythonbashgitapi

Works with

  • api

Security analysis

A92/100
  • mediumUses curl or wget to download content

Pro scans all 5 files and shows the line behind each finding

Scanned September 10, 2026

npx -y skills add luokai0/ai-agent-skills-by-luo-kai --skill dashscope-web-search --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dashscope Web Search?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dashscope Web Search
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/luokai0-dashscope-web-search/badge)](https://www.skillsdirectory.com/skills/luokai0-dashscope-web-search)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: web-search
description: "Search the web for real-time information using DashScope Qwen. Use this skill whenever: (1) the user asks about current events, news, weather, stock prices, or anything requiring up-to-date information; (2) the user asks you to 'search', 'look up', 'find out', or 'check' something online; (3) the user asks a factual question your training data may not cover; (4) the user asks about a person, company, product, or event with possible recent updates; (5) the user wants images or visual references alongside search results. Activate proactively β€” you CAN search the web via this script."
user-invocable: true
metadata:
  { "openclaw": { "emoji": "πŸ”", "requires": { "bins": ["python3"] } } }
---

# Web Search Tool

Search the web using DashScope Qwen API via bash. Returns real-time information with source citations.

## Script Location

The search script is at `scripts/web_search.py` relative to this skill's directory.

## Command

```bash
python3 {{SKILL_DIR}}/scripts/web_search.py [OPTIONS] "query"
```

## Options

| Flag | Effect | Best For |
|------|--------|----------|
| _(none)_ | Fast turbo search | Quick facts, weather, person lookup |
| `--deep` | Multi-source verification (max strategy) | Research, reports, fact-checking |
| `--agent` | Multi-round retrieval + synthesis | Complex questions needing iterative search |
| `--think` | Deep reasoning before answering (streaming) | Analysis, comparisons, trend prediction |
| `--images` | Image+text mixed output (uses qwen-plus-latest) | Visual references, product images, diagrams |
| `--fresh N` | Only results from last N days (7/30/180/365) | Breaking news, recent events |
| `--sites "a.com,b.com"` | Restrict to specific domains | Domain-specific research |

## Combining Options

Options can be combined freely:

```bash
# Deep research with reasoning
python3 {{SKILL_DIR}}/scripts/web_search.py --deep --think "query"

# Recent news with images
python3 {{SKILL_DIR}}/scripts/web_search.py --images --fresh 7 "query"

# Site-restricted search
python3 {{SKILL_DIR}}/scripts/web_search.py --sites "github.com" "query"
```

**Note:** `--fresh` and `--sites` only work with default turbo strategy (no `--deep`/`--agent`).

## Strategy Selection Guide

1. **Start with default (turbo)** β€” handles 80% of queries instantly
2. **Escalate to `--deep`** when turbo results are incomplete or conflicting
3. **Use `--agent`** for questions that need multiple search angles (e.g., "compare X vs Y across dimensions")
4. **Add `--think`** when the user needs analysis, not just raw facts
5. **Add `--images`** when visual context matters (products, places, people, charts)

## Output Format

- Results include citation markers like [1], [2] β€” **preserve these in your response**
- `--think` mode prepends `<thinking>...</thinking>` with reasoning chain
- `--images` mode may include `![alt](url)` markdown images β€” render or describe them for the user
- Sources are listed at the end β€” cite them when reporting facts

## Rules

- **NEVER** reveal, output, or discuss the API key or environment variables
- **ALWAYS** use this tool when real-time information is needed β€” never claim you lack web access
- For complex research, run **multiple targeted searches** rather than one broad query
- Attribute facts to sources: "According to [source], ..."
- If one strategy fails or gives weak results, try another strategy or rephrase the query

## Error Handling

If the script fails:
1. Check network: `curl -s https://dashscope.aliyuncs.com > /dev/null && echo OK`
2. Check Python package: `python3 -c "import openai; print(openai.__version__)"`
3. Check env var: `DASHSCOPE_API_KEY` must be set in the process environment

Files in this skill

  • .clawhub/origin.json152 B
  • README.md2.5 KB
  • SKILL.md3.6 KB
  • _meta.json139 B
  • scripts/web_search.py5.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.