web-search
Web search using DuckDuckGo Instant Answer API (no API key required). Use when you need to search the web for information, definitions, calculations, conversions, or quick facts. Also use when user mentions "search", "look up", "find information", "what is", "how to", or "google something". The skill provides instant answers, definitions, abstracts, and related topics without requiring external API credentials.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/86293073/web-search-instant-1-1-0Web Search
Free web search using DuckDuckGo's Instant Answer API. No API key required.
Quick Start
# Basic search
cd /home/hxx/clawd/tools && ./web-search.sh "your query"
# Examples
./web-search.sh "what is artificial intelligence"
./web-search.sh "python programming"
./web-search.sh "define recursion"
./web-search.sh "2+2"
Command-Line Options
Core Options
-h, --help- Display help message with usage examples--format <format>- Output format:text,markdown,plain(default:text)text: Colored terminal output (default)markdown: Clean markdown format (no ANSI colors)plain: Plain text without colors
--no-color- Disable colored output (same as--format plain)--max-related <N>- Control number of related topics to show (default: 5)--quiet- Minimal output mode (just results, no headers/footer)
Output to File
Use shell redirection to save results to file:
# Save to file
./web-search.sh "query" > output.txt
# With markdown format
./web-search.sh --format markdown "query" > results.md
# With no colors for logs
./web-search.sh --no-color "query" > search.log
What It Returns
The tool provides several result types:
- Answers - Direct answers for calculations, conversions, weather, etc.
- Abstracts - Wikipedia-style summaries with source and URL
- Definitions - Word/term definitions
- Related Topics - Additional relevant results (configurable, 5 default)
Best Practices
- Be specific - More specific queries get better instant answers
- Try variations - If no results, rephrase your query
- Use for facts - Definitions, calculations, quick lookups work best
- Check URL - Always provides DuckDuckGo link for full search
- Use appropriate format:
- Terminal output:
--format text(colored, default) - Documentation:
--format markdown> file.md` - Logs/piping:
--format plainor--no-color
- Terminal output:
Limitations
- No full web search results (only instant answers)
- Some queries return limited results depending on DuckDuckGo's data
- Character encoding issues in some abstracts (known limitation)
- Requires internet access to query DuckDuckGo API
- Not all query types return instant answers (e.g., complex math like
sqrt(144)) - Definitions may not always be available for all terms
- Recent news may not appear (DuckDuckGo focuses on evergreen content)
Usage Examples
Basic Search
# Simple query
./web-search.sh "open source AI models"
# Wikipedia-style query
./web-search.sh "what is recursion"
Markdown Format
# Clean markdown output
./web-search.sh --format markdown "python programming"
# Save to markdown file
./web-search.sh --format markdown "AI research" > research.md
Plain/No Color
# For logs or piping
./web-search.sh --format plain "search query"
# Disable colors explicitly
./web-search.sh --no-color "search query"
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-86293073-web-search-instant-1-1-0": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
evomap-auto-task-publish
EvoMap 自动任务执行器 - 定时自动获取、认领、发布、完成任务的完整解决方案
Self-Evolving Skill
Meta-cognitive self-learning system - Automated skill evolution based on predictive coding and value-driven mechanisms.
self-reflection
Continuous self-improvement through structured reflection and memory
skill-creator
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.