duckduckgo-search

duckduckgo-search is a skill for Claude Code from mupengi-bot/mupengism. It costs 46 tokens per session (3,303 once invoked), scanned A, original, MIT.

A deprecated guide for searching the web with DuckDuckGo, a search engine that emphasizes privacy.

In plain words
What is it for?
Use it only to understand or maintain older DuckDuckGo text, news, image, or video search setups.
Why use it?
It warns that this older method has been replaced, helping prevent use of an outdated search workflow.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it only to understand or maintain older DuckDuckGo text, news, image, or video search setups.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mupengi-bot/mupengism/duckduckgo-search
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mupengi-bot/mupengism --skill duckduckgo-search
Clone the repo
git clone --depth 1 https://github.com/mupengi-bot/mupengism

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for duckduckgo-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/mupengi-bot/mupengism/duckduckgo-search/github.svg)](https://agentmods.dev/skills/mupengi-bot/mupengism/duckduckgo-search)
Your own site
<a href="https://agentmods.dev/skills/mupengi-bot/mupengism/duckduckgo-search"><img src="https://agentmods.dev/badge/skills/mupengi-bot/mupengism/duckduckgo-search/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for duckduckgo-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/mupengi-bot/mupengism/duckduckgo-search"><img src="https://agentmods.dev/badge/skills/mupengi-bot/mupengism/duckduckgo-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,303 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.03303
Opus 5 $0.00023 $0.01651
Sonnet 5 $0.00009 $0.00661
Haiku 4.5 $0.00005 $0.00330

Measured 12d ago against content hash e9eeb20dd858, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

duckduckgo-search scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/duckduckgo-search/SKILL.md · 486 lines

How it starts

The opening of the file, as written. The whole thing — 486 lines — stays where its author put it; the contents beside it link to each section on GitHub.

⚠️ DEPRECATED: DuckDuckGo Web Search Skill

이 스킬은 더 이상 권장되지 않습니다.

👉 대신 사용하세요: web-claude (통합 검색)

/skills/web-claude/ 스킬이 3단계 fallback 전략을 제공합니다:

  1. web_search (Brave) — 빠르고 안정적
  2. duckduckgo-search — 프라이버시 중심 (이 스킬)
  3. claude.ai 브라우저 — 분석+검색

통합 검색은 자동으로 최적의 방법을 선택하고, 검색 결과를 memory/research/에 자동 캐시합니다.

마이그레이션:

# 기존
duckduckgo-search "검색어"

# 새 방식
"검색어 검색해줘"  # 자동으로 web-claude가 최적 방법 선택

아래는 레거시 문서 (참고용)

这个技能通过 DuckDuckGo 搜索引擎实现网络搜索功能,帮助获取实时信息。

功能特性

  • 🔍 基于 DuckDuckGo 的隐私友好型搜索
  • 📰 支持新闻搜索
  • 🖼️ 支持图片搜索
  • 📹 支持视频搜索
  • 🌐 无需 API Key,免费使用
  • 🔒 保护隐私,不追踪用户

安装

# 使用 uv 安装(推荐)
uv pip install duckduckgo-search

# 或使用 pip 安装
pip install duckduckgo-search

快速开始

命令行方式

# 基础文本搜索
python -c "
from duckduckgo_search import DDGS

with DDGS() as ddgs:
    results = list(ddgs.text('Python tutorial', max_results=5))
    for r in results:
        print(f\"标题: {r['title']}\")
        print(f\"链接: {r['href']}\")
        print(f\"摘要: {r['body']}\")
        print('---')
"

搜索类型

1. 文本搜索 (Text Search)

最常用的搜索方式,返回网页结果:

python -c "
from duckduckgo_search import DDGS

query = 'your search query'

with DDGS() as ddgs:
    results = list(ddgs.text(
        query,
        region='cn-zh',      # 地区设置:cn-zh(中国), us-en(美国), wt-wt(全球)
        safesearch='moderate', # 安全搜索:on, moderate, off
        timelimit='m',       # 时间范围:d(天), w(周), m(月), y(年), None(不限)
        max_results=10       # 最大结果数
    ))
    
    for i, r in enumerate(results, 1):
        print(f\"{i}. {r['title']}\")
        print(f\"   URL: {r['href']}\")
        print(f\"   摘要: {r['body'][:100]}...\")
        print()
"

2. 新闻搜索 (News Search)

搜索最新新闻:

python -c "
from duckduckgo_search import DDGS

with DDGS() as ddgs:
    results = list(ddgs.news(
        'AI technology',
        region='wt-wt',
        safesearch='moderate',
        timelimit='d',       # d=过去24小时, w=过去一周, m=过去一月
        max_results=10
    ))
    
    for r in results:
        print(f\"📰 {r['title']}\")
        print(f\"   来源: {r['source']}\")
        print(f\"   时间: {r['date']}\")
        print(f\"   链接: {r['url']}\")
        print()
"

Read the full file on GitHub · 486 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 486 lines · 46 tokens per session scan A e9eeb20dd858

Subscribe to this mod's changes

duckduckgo-search is a skill published in the GitHub repository mupengi-bot/mupengism (10 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 3,303 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

hive.browser-automation

Required before any hive-browser CLI command. The browser is driven from the terminal by running hive-browser ... --json via terminalexec — not via MCP tools. Teaches the browser lifecycle rules (the bridge attaches to the USER'S running Chrome — never kill or launch browser processes; timeouts are transport issues…

aden-hive/hive · 142 tokens

hive.worker-delegation

Concrete patterns for breaking colony work into parallel worker jobs via runplaybook — when fan-out helps, how to model the goal as a tracker table, write the worker skill, author the playbook, pilot, and let convergence retry/resume the gap.

aden-hive/hive · 58 tokens

hive.linkedin-automation

Read before automating LinkedIn with browser tools. LinkedIn combines shadow DOM (#interop-outlet), strict Trusted Types CSP that silently drops innerHTML, Lexical composer, native beforeunload dialogs that hang the bridge, and aggressive spam filters — each has bitten us at least once. Verified flows for profile…

aden-hive/hive · 99 tokens

hive.x-automation

Read before automating X / Twitter with browser tools. Verified flows for post, reply, delete, search-and-engage, plus the Draft.js compose quirks that silently disable the send button. Includes the daily-reply and job-market-reply playbooks. Requires hive.browser-automation for the underlying screenshot + coordinate…

aden-hive/hive · 81 tokens

hive.slack-notifications-setup

Set up a Slack notification channel (Sentinel) for a colony by driving the browser — reuse or create the "Hive Sentinel" Slack app from a JSON manifest, install it, capture the bot + app tokens, create/select the channel via the Slack API, and turn Sentinel on so the colony can ping the user on Slack and accept…

aden-hive/hive · 136 tokens

hive.writing-hive-skills

Author a new Agent Skill for a Hive agent that conforms to the Agent Skills specification (SKILL.md with YAML frontmatter, optional scripts/references/assets directories). Use when the user asks to create, scaffold, add, or package a new skill for a Hive agent.

aden-hive/hive · 63 tokens