web-search

Search web pages, news, images, and videos via the DuckDuckGo API.

39|1|Updated Jul 2, 2026
One-click install
npx skills add https://github.com/HKU-MMLab/UniClawBench --skill web-search-hku-mmlab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: web-search
Source: https://github.com/HKU-MMLab/UniClawBench/tree/main/docker/base_skills/web-search
Command: npx skills add https://github.com/HKU-MMLab/UniClawBench --skill web-search-hku-mmlab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires duckduckgo-search, and includes scripts (resource) components.

What problem does it solve? Finding current information online requires manual browsing and copy-pasting results. This Skill lets an AI agent run DuckDuckGo searches directly from the command line and return clean, structured results for research, fact-checking, and content gathering. ## Core Features & Use Cases - Four Search Types: Query web pages, news articles, images, or videos through a single script with type-specific filters such as image size, color, layout, video duration, and resolution. - Filtering and Localization: Narrow results by time range (day, week, month, year), region code, and safe search level. - Flexible Output: Return results as plain text, Markdown, or JSON, and optionally save them to a file for downstream processing. - Use Case: A researcher tracking a developing story can run a news search filtered to the past week, save Markdown output to a file, and combine it with image and video searches to build a complete briefing. ## Quick Start Use the web-search skill to find the ten most recent news articles about renewable energy policy and save them as a Markdown file.

Frequently Asked Questions about web-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search the web from Python without an API key?▼

Use the duckduckgo-search library, which wraps DuckDuckGo's search API without requiring authentication. Install it with pip install duckduckgo-search, then run the search script with a query to get web, news, image, or video results.

How do I filter DuckDuckGo search results by date?▼

Pass the --time-range option with d for past day, w for past week, m for past month, or y for past year. This works for both web and news searches and helps surface only recent content.

Can I get search results as JSON for programmatic use?▼

Yes, add --format json to the search command to receive structured JSON output. Combine it with --output to write the results to a file that other scripts can parse and process.

Does DuckDuckGo search support image and video queries?▼

Yes, set --type images or --type videos. Image searches support size, color, type, and layout filters, while video searches support duration and resolution filters, returning URLs, thumbnails, and metadata.

Why does my DuckDuckGo search return no results?▼

Empty results usually come from overly specific queries, restrictive time filters, or temporary service issues. Broaden the query terms, remove the time-range filter, and retry after a short wait if rate limiting occurred.

What are the limitations of DuckDuckGo search compared to Google?▼

DuckDuckGo does not support advanced operators like site: or filetype:, and image or video searches may return fewer results. Result ranking cannot be controlled, so specialized queries may work better on dedicated search engines.