⏳ This skill is pending AI review.
Scores will appear once the review pipeline completes.
ddg-search
Search the web with DuckDuckGo as a no-API-key fallback or second source. Use when the normal web_search tool or primary search provider is rate-limited, failing, unavailable, not delivering enough useful results, or producing weak/inaccurate results, and you want quick text, news, image, or video search results, instant-answer lookups, or DuckDuckGo bang resolution without browser automation.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
Not yet listed on ClawHub or SkillsMP
// README
Update: new self-contained skill without the need for installing CLI is here: https://github.com/ropl-btc/agent-skills
ddg-search-cli
Small DuckDuckGo search CLI for OpenClaw, Claude Code, and other AI agents that need a simple fallback web search tool without an API key.
This repo gives you two things:
- a small installable CLI:
ddg-search - a matching OpenClaw skill in
skills/ddg-search
What this is
- a small DuckDuckGo search CLI built on
ddgs - intentionally minimal and easy to use in scripts, shells, and agent workflows
- a matching OpenClaw skill under
skills/ddg-search - opinionated defaults for quick fallback web search
- designed to be easy for humans and AI agents to use repeatedly
What this is not
- not a browser automation tool
- not a scraping framework
- not a full wrapper for every DuckDuckGo feature
- not meant to replace your primary search provider when that provider is healthy
Features
- install a real shell command:
ddg-search - run text, news, image, and video search
- return JSON by default for agent-friendly parsing
- switch to readable text output with
--text - restrict search to one site with
--site - reverse result order with
--reverse - tune backend selection and pagination with
--backendand--page - fetch DuckDuckGo instant-answer style data with
instant - resolve DuckDuckGo bangs to final URLs with
bang - work as a no-API-key fallback when another search provider is rate-limited, failing, or weak
Commands
helpsearchinstantbang
Run built-in help:
ddg-search help
Requirements
- Python 3.10+
Install
Preferred: pipx
pipx install git+https://github.com/ropl-btc/ddg-search-cli.git
Then run:
ddg-search help
Fallback: local venv
git clone https://github.com/ropl-btc/ddg-search-cli.git
cd ddg-search-cli
python3 -m venv .venv
. .venv/bin/activate
pip install --upgrade pip
pip install .
Then run:
ddg-search help
Developer mode
pip install -e .
Usage examples
Show help
ddg-search help
Text search
ddg-search search 'openclaw github'
News search
ddg-search search 'bitcoin etf' --type news --timelimit d --max-results 10
Image search
ddg-search search 'bitcoin logo' --type images --max-results 10
Video search
ddg-search search 'openai launch' --type videos --timelimit w --max-results 10
Restrict to one site
ddg-search search 'python dataclasses' --site docs.python.org
Reverse result order
ddg-search search 'openai launch' --type videos --max-results 10 --reverse
Human-readable output
ddg-search search 'site:docs.openclaw.ai browser' --text
Set region and safesearch
ddg-search search 'liquid staking' --region us-en --safesearch off
or:
ddg-search search 'liquid staking' --region us-en --unsafe
Choose backend and page
ddg-search search 'open source ai agents' --backend auto --page 2 --max-results 10
Instant answers
ddg-search instant 'weather berlin'
Resolve DuckDuckGo bangs
ddg-search bang w 'OpenAI'
ddg-search bang gh 'openclaw openclaw'
Output
Default output is JSON.
That is intentional: AI agents should parse structured output instead of scraping plain text.
Use --text when you want a readable terminal view.
Search output shape
search returns metadata plus results:
{
"query": "python dataclasses site:docs.python.org",
"type": "text",
"site": "docs.python.org",
"region": "wt-wt",
"safesearch": "moderate",
"timelimit": null,
"max_results": 5,
"page": 1,
"backend": "auto",
"reverse": false,
"results": []
}
instant returns fields like heading, abstract, answer, definition, and related_topics.
bang returns the DuckDuckGo query URL plus the resolved redirect/final URL.
OpenClaw / AI-agent usage
This repo includes an OpenClaw skill under:
skills/ddg-search/SKILL.mdskills/ddg-search/scripts/ddg_search.pyskills/ddg-search/references/notes.md
That subfolder is the one to use for skill-specific packaging and publishing.
The main intended interface for end users and agents is still the installed ddg-search command.
Why this exists
Many agent setups already have a primary search provider.
This wrapper exists for the annoying cases where:
- the primary provider is rate-limited
- the primary provider is temporarily failing
- the default search path is weak or inaccurate
- you want a second source to cross-check results
- you want a fast no-key search command inside scripts and agent workflows
License
MIT
// HOW IT'S BUILT
KEY FILES