Skip to content
Agentmart
Submit a tool

ddg-search

Perform web searches using DuckDuckGo (free, no API key) via the bundled search.py script.

Skill by matthewhand

IndexedMIT★ 20
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/matthewhand-ddg-search

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Perform web searches using DuckDuckGo (free, no API key) via the bundled search.py script. Use when web search is needed and no API key is available or Brave Search is not preferred.

Use cases: backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 3

  • codeload.github.com · found in install command
  • lite.duckduckgo.com · found in code
  • mcp.directory · found in code

Files it touches

  • ~/.claude/skills/ddg-search

What's inside

Skill name
ddg-search
Description
Perform web searches using DuckDuckGo (free, no API key) via the bundled search.py script. Use when web search is needed and no API key is available or Brave Search is not preferred.
License
MIT
Instructions
38 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • search.py

SKILL.md (first lines)

# DuckDuckGo Search

Search the public web through DuckDuckGo's no-JS lite interface. No API key,
no auth, no external dependencies — the bundled script is the source of truth.
Never invent or paraphrase results: run the script and report what it prints.

## Steps

1. Run the script on the query:

   ```bash
   python3 search.py "your search query"
   ```

   Options: `--max N` (results, default 8, cap 10), `--json` (machine-readable
   output with title/url/snippet objects).

2. Report the numbered results with their URLs. Cite the URL when using a
   result as a source.

## Honesty rules

- If the script errors, report the error verbatim rather than guessing what
  the results might have been.
- If it prints `No results.`, say so — do not substitute your own answer for
  a failed search.
- DuckDuckGo may rate-limit aggressive use. If you get an HTTP 403/429, wait
  before retrying; retry at most once per request.

## Implementation notes

- Hits `https://lite.duckduckgo.com/lite/` (HTML form, POST) with a
  15-second timeout; parses result links and snippets with the stdlib
  `html.parser` — no third-party packages required.
- Redirect-style result URLs (`duckduckgo.com/l/?uddg=...`) are decoded to
  the real destination URL before printing.

From matthewhand/operating-swarm, MIT.

More from matthewhand/operating-swarm

Signals

Stars
20
Forks
6
Open issues
1
Last commit (this folder)
Sep 23, 2026 (1 month ago)
Last release
Jun 19, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from matthewhand

Cite this page

ddg-search skill. Agent Mart. https://agentmart.dev/skills/matthewhand-ddg-search (last updated 2026-10-24)