Introduction¶
Many steps in office workflows rely on “investigating before writing”: competitor activities, policy clauses, industry news, and image assets often require switching back and forth between browsers and documents. The model’s built-in training data has a cutoff date, and direct queries are prone to being outdated; opening search pages manually and copy-pasting makes it difficult to precipitate reusable Markdown or JSON.
The following introduces Web Search on SkillHub (coordinate @clawhub_billyutw/web-search). It encapsulates DuckDuckGo retrieval into a capability callable by Agents. It requires no API Key by default, and results can be output as Text, Markdown, or JSON, facilitating meeting minutes, fact-checking, or compiling resource lists.
What is this¶
Web Search is maintained by the publisher billyutw. The upstream repository is at clawhub.ai/billyutw/web-search, categorized under Knowledge/Information Retrieval on SkillHub (page tag: “Information Retrieval”). The current version is v1.0.0, and the tag indicates requires_api_key=false.
In one sentence: When users need to search webpages, news, images, or videos, it returns concise, formattable results via the DuckDuckGo search interface, used for research, fact-checking, obtaining newer information, or collecting web resources.
SkillHub Display Page: https://www.skillhub.cn/skills/clawhub_billyutw/web-search
Organization Entry: https://api.skillhub.cn/org-02qudk26/web-search
Core Features¶
The following capabilities are sourced from the official Skill description and verified via the ClawHub page:
- Multi-type Retrieval: Web, News, Images, Videos.
- Result Count and Time:
--max-resultscontrols the number of entries;--time-rangesupportsd(day),w(week),m(month),y(year). - Region and Safe Search:
--region(e.g.,us-en,wt-wt);--safe-searchison/moderate/off. - Image and Video Filtering: Image side includes parameters for size, color, type, layout, etc.; Video side includes parameters for duration, resolution, etc. (see upstream documentation for details).
- Output Format:
text(default),markdown,json; can use--outputto write to a file. - Command Line Entry: The Skill provides
scripts/search.py, depending on the Python packageduckduckgo-search, without needing a DuckDuckGo API Key.
Installation and Activation¶
Installing in SkillHub / Agents supporting Skills¶
The installation method provided by the SkillHub page is: Ask the AI to follow the instructions at skillhub.cn/install/skillhub.md to install the coordinate @clawhub_billyutw/web-search. You can also download the Zip from SkillHub or install it to a local Agent as prompted on the page.
Example prompt to send to the Agent (consistent with the official website):
Please install `@clawhub_billyutw/web-search` according to https://skillhub.cn/install/skillhub.md.
OpenClaw Environment¶
The command given in the ClawHub upstream documentation is:
openclaw skills install @billyutw/web-search
Pre-run Dependencies¶
After installing the Skill, if calling the script directly, you need to install the Python dependency first:
pip install duckduckgo-search
Typical Usage¶
After the Skill is installed and scripts/search.py is available, you can execute the following commands in the project directory or the Skill directory (examples from official documentation).
Basic Web Search (default ~10 results, plain text):
python scripts/search.py "python asyncio tutorial"
Limit Count:
python scripts/search.py "machine learning frameworks" --max-results 20
News from the last week:
python scripts/search.py "artificial intelligence news" --time-range w
python scripts/search.py "climate change" --type news --time-range w --max-results 15
Markdown Output and Save (suitable for pasting directly into office documents):
python scripts/search.py "quantum computing" --format markdown --output quantum.md
JSON Output (suitable for subsequent script processing):
python scripts/search.py "quantum computing" --format json --output quantum.json
In Agent conversations, you usually don’t need to manually write the above commands: just explain the retrieval intent (type, time range, count, output format), and the Agent will call the script according to the Skill guidelines. For the full list of parameters, execute:
python scripts/search.py --help
Use Cases and Notes¶
Who it is for
- White-collar workers or knowledge workers who need to embed “data lookup” into Agent workflows: pulling news before writing briefs, making competitor excerpts, verifying public information, collecting image/video links, etc.
- Scenarios where structured results (especially Markdown / JSON) are desired, rather than scattered copied web fragments.
Usage Notes
- Search quality depends on DuckDuckGo’s indexing and sorting, which may differ from engines like Google; the official description does not provide advanced operators like
site:orfiletype:. - Frequent, continuous requests may encounter rate limiting or timeouts; it is advisable to control frequency. If there are no results, try relaxing time filters or rewriting query terms.
- If dependencies are missing, an error will occur; confirm that
pip install duckduckgo-searchhas been executed. - The SkillHub page shows that the package has been scanned by security labs such as科恩实验室 (Keen Security Lab) and云鼎实验室 (Yunding Security Lab) as risk-free, but you should still judge the credibility of returned URLs and content yourself.
Conclusion¶
Web Search consolidates common webpage, news, image, and video retrieval into a single set of scripts and output formats. Without requiring an API Key, it facilitates the chain of “Search → Structured Results → Save to Disk or Continue Writing Documents” for Agents. To enable it locally or on SkillHub, you can obtain the installation method from the official page: https://api.skillhub.cn/org-02qudk26/web-search.