Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 49
  • 21 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-search

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install ddg-search in Claude Code

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

A

No 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 →

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.

ddg-search Install

Add to stack

Loading.