ddgs

ddgs is a skill for Claude Code from 0xmariowu/Autosearch. It costs 27 tokens per session (411 once invoked), scanned A, original, MIT.

A free general web-search channel based on DuckDuckGo. It works without an API key and is intended for broad English or mixed-language searches.

In plain words
What is it for?
Use it for broad searches across mixed topics, especially when results from platforms such as GitHub, arXiv, or Hacker News are not the main need.
Why use it?
It provides a general fallback for discovering web pages when a more specialized search source is not suitable.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Part of the autosearch plugin — 55 skills, 1 agent shipped together

Good fit Use it for broad searches across mixed topics, especially when results from platforms such as GitHub, arXiv, or Hacker News are not the main need.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0xmariowu/autosearch/ddgs
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 0xmariowu/Autosearch --skill ddgs
Clone the repo
git clone --depth 1 https://github.com/0xmariowu/Autosearch

Made for: Claude Code.

Or install autosearch, the plugin that ships this one along with the rest of its 55 skills, 1 agent.

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 ddgs

README.md
[![agentmods](https://agentmods.dev/badge/skills/0xmariowu/autosearch/ddgs/github.svg)](https://agentmods.dev/skills/0xmariowu/autosearch/ddgs)
Your own site
<a href="https://agentmods.dev/skills/0xmariowu/autosearch/ddgs"><img src="https://agentmods.dev/badge/skills/0xmariowu/autosearch/ddgs/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 ddgs

Your own site · 80×15
<a href="https://agentmods.dev/skills/0xmariowu/autosearch/ddgs"><img src="https://agentmods.dev/badge/skills/0xmariowu/autosearch/ddgs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 411 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.00027 $0.00411
Opus 5 $0.00014 $0.00205
Sonnet 5 $0.00005 $0.00082
Haiku 4.5 $0.00003 $0.00041

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

Security

Grade A, and why

ddgs 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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (methods/api.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

autosearch/skills/channels/ddgs/SKILL.md · 50 lines

What it actually says

Overview

General-purpose web search via DuckDuckGo. No API key required, no cookie. Serves as the always-on broad default for English and mixed-language queries where more specialized channels may not cover the topic.

When to Choose It

  • First-line web discovery before specialized channels
  • Queries where platform-specific coverage (github, arxiv, HN) is unlikely to help
  • Mixed-domain topics that need broad source variety

How To Search (Planned)

text_search — calls the ddgs PyPI package (renamed from duckduckgo-search). Sync API wrapped in asyncio.to_thread. Returns {title, href, body} hits mapped to Evidence with 500-char snippet truncation.

Known Quirks

  • DDGS occasionally returns empty results during rate limit; channel returns [] and logs warn without crashing pipeline.
  • Result URLs may redirect; we keep the original href (no unwrap).

Quality Bar

  • Evidence items have non-empty title and url.
  • No crash on empty or malformed API response.
  • Source channel field matches the channel name.
Files

What ships with it

1 file 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. 10d ago First seen · 50 lines · 27 tokens per session scan A 587f0e6d1a59

Subscribe to this mod's changes

ddgs is a skill published in the GitHub repository 0xmariowu/Autosearch (44 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 411 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

prior-art-search

Systematic 7-step methodology for comprehensive patent prior art searches and patentability assessments using BigQuery and CPC classification.

RobThePCGuy/Claude-Patent-Creator · 26 tokens

sanity-best-practices

Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text, Studio structure, localization, migrations, Sanity Functions, webhooks, Blueprints, and framework integrations such as Next.js, Nuxt, Astro, Remix, SvelteKit, Angular, Hydrogen, and the App SDK. Use this…

sanity-io/agent-toolkit · 164 tokens

portable-text-serialization

Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text. Use when implementing Portable Text rendering in any frontend framework, building custom serializers for non-standard block types, converting Portable Text to HTML strings server-side, converting Portable Text to Markdown…

sanity-io/agent-toolkit · 85 tokens

development-assistant

Guides through adding new features, MCP tools, analyzers, and extending the patent creator system.

RobThePCGuy/Claude-Patent-Creator · 24 tokens

mpep-search

Expert system for searching USPTO MPEP, 35 USC statutes, 37 CFR regulations, and post-Jan 2024 updates.

RobThePCGuy/Claude-Patent-Creator · 32 tokens

video-perception

Use when the user mentions a video file (.mp4, .mov, .avi, .mkv, .webm), a YouTube URL, asks to watch/analyze/review a video, or references video content in conversation.

jordanrendric/claude-video-vision · 51 tokens