ddg-search
Skill by matthewhand
Performs web searches through DuckDuckGo using a bundled Python script. It needs no API key and suits assistants that lack a search key or do not prefer Brave Search.
Install ddg-search
Built from the published package, never by AI.
git clone --depth 1 https://github.com/matthewhand/operating-swarm /tmp/operating-swarm && mkdir -p ~/.claude/skills && cp -r /tmp/operating-swarm/skills/ddg-search ~/.claude/skills/ddg-searchRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/matthewhand/operating-swarm /tmp/operating-swarm && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/operating-swarm/skills/ddg-search ~/.gemini/antigravity-cli/skills/ddg-searchAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
ddg-search is an agent skill that performs web searches using DuckDuckGo. It runs a bundled search.py script that queries DuckDuckGo's no-JS lite interface. The skill needs no API key, no auth, and no external dependencies, since the script uses only the Python standard library. The assistant is instructed to run the script and report what it prints rather than inventing or paraphrasing results.
Results are returned as numbered entries with their URLs, and the assistant is asked to cite the URL when using a result as a source. The script accepts a --max option for the number of results, defaulting to 8 with a cap of 10, and a --json option for machine-readable output with title, url and snippet fields. Redirect-style DuckDuckGo links are decoded to the real destination URL. The skill is aimed at users who need web search but have no API key available or prefer not to use Brave Search.
Written from the project's SKILL.md and checked against it.
What it can do
- Web searchRuns a DuckDuckGo search on a query using the bundled search.py script.
- Numbered results with URLsReports results as a numbered list with the URL of each result for citation.
- Result count optionSets the number of results with --max, default 8 and capped at 10.
- JSON outputReturns title, url and snippet objects with the --json option.
- Redirect link decodingConverts DuckDuckGo redirect links to the real destination URL before printing.
What you need
- Python 3
- Internet access to lite.duckduckgo.com
Try asking
- Search the web for recent articles on solid-state batteries and cite the URLs.
- Use ddg-search to find the official docs page for a Python library, max 5 results.
- Run a web search in JSON format for local coffee roasters and list the sources.
Good to know
- DuckDuckGo may rate-limit frequent use; on HTTP 403 or 429 the skill waits before retrying, at most once per request.
- Results are capped at 10 per search.
- If the script errors or prints No results, the assistant reports that instead of answering from its own knowledge.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/ddg-search/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to ddg-search
All alternatives →Box lets an AI assistant search, read, upload, download, move, rename, delete, restore and share Box content. It also manages comments and metadata. It suits people who work with files stored in Box.
Guides AI assistants in using n8n-mcp MCP tools to search nodes, validate configs, browse templates and manage n8n workflows. Aimed at people building n8n workflows through MCP.
Manages citations across the research and writing process. It covers searching Google Scholar and PubMed, converting DOIs, PMIDs and arXiv IDs to BibTeX, and validating bibliographies. It is for researchers building bibliographies for manuscripts or theses.
Exa Search is a skill that guides an AI assistant to use the Exa MCP server for neural search. It covers web pages, code, companies, and people, and is for users who need current information or research during development tasks.
Runs recent community and social trend research over the last 30 days. It suits teams who need to know what people are saying now about a topic or launch.
seo-flow adds the FLOW SEO framework to Claude SEO. It surfaces stage-specific AI prompts from the FLOW knowledge base across the Find, Leverage, Optimize and Win stages. It is for SEO practitioners who want evidence-led prompts.
Compare with box, n8n-mcp-tools-expert or citation-management
ddg-search: common questions
Does ddg-search need an API key?
No. The source says it uses DuckDuckGo's no-JS lite interface with no API key, no auth and no external dependencies.
What happens if the search fails?
The skill reports the error verbatim and does not guess what the results might have been. If the script prints No results, the assistant says so.
How is it different from Brave Search?
The description positions it as an option for when no API key is available or Brave Search is not preferred. The source does not compare result quality.
How do I install ddg-search?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is ddg-search free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is ddg-search safe to use?
It scores 49 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to ddg-search?
Similar skills: box, n8n-mcp-tools-expert, citation-management, exa-search.
