π¦ ClawHub
DuckDuckGo Web Search
by @jakelin
Web search without an API key using DuckDuckGo Lite via web_fetch. Use as a fallback when web_search fails with missing_brave_api_key error, or whenever you...
TERMINAL
clawhub install ddg-web-searchπ About This Skill
name: ddg-search description: Web search without an API key using DuckDuckGo Lite via web_fetch. Use as a fallback when web_search fails with missing_brave_api_key error, or whenever you need to search the web and no search API is configured. Provides titles, URLs, and snippets for research queries. Zero dependencies β works with just the built-in web_fetch tool.
DuckDuckGo Search via web_fetch
Search the web using DuckDuckGo Lite's HTML interface, parsed via web_fetch. No API key or package install required.
How to Search
web_fetch(url="https://lite.duckduckgo.com/lite/?q=QUERY", extractMode="text", maxChars=8000)
+ for spacesextractMode="text" (not markdown) for clean resultsmaxChars for more resultsRegion Filtering
Append &kl=REGION for regional results:
au-en β Australiaus-en β United Statesuk-en β United Kingdomde-de β Germanyfr-fr β FranceFull list: https://duckduckgo.com/params
Example β Australian search
web_fetch(url="https://lite.duckduckgo.com/lite/?q=best+coffee+melbourne&kl=au-en", extractMode="text", maxChars=8000)
Reading Results
Results appear as numbered items with title, snippet, and URL. Skip entries marked "Sponsored link" (ads) β organic results follow.
Search-then-Fetch Pattern
1. Search β query DDG Lite for a list of results
2. Pick β identify the most relevant URLs
3. Fetch β use web_fetch on those URLs to read full content
Tips
q=%22exact+phrase%22Limitations
&df= reliably via fetch)π Tips & Best Practices
q=%22exact+phrase%22