web-search

Perform filterable web searches via the DuckDuckGo API.

1|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/devskale/skale-skills --skill web-search-devskale
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-search
Source: https://github.com/devskale/skale-skills/tree/main/skills/web-search
Command: npx skills add https://github.com/devskale/skale-skills --skill web-search-devskale

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers perform fast, filterable web searches to find documentation, code examples, and answers without leaving their workflow.

Core Features & Use Cases

  • Domain and site filtering: Narrow results to specific websites or domains.
  • Content-type and URL filtering: Filter by file types and URL fragments to locate exact resources.
  • Exclusions and precise matching: Exclude terms and require exact phrases for precise results.
  • Regional and pagination controls: Tailor results by region and navigate through pages for comprehensive research.
  • Use Case: A developer searches for Python library docs on docs.python.org and fetches PDFs for offline review.

Quick Start

Install dependencies, then run searches from the skill directory:

  1. Install dependencies:
    • cd ~/.pi/agent/skills/web-search
    • uv venv
    • uv pip install -r requirements.txt
  2. Set Bearer Token:
    • export WEB_SEARCH_BEARER="your_token_here"
  3. Run a search:
    • uv run search.py "python logging"

Frequently Asked Questions about web-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search the web with filters for specific domains or file types?

Web search with filters lets you narrow results to specific domains, file types, and URL patterns using the DuckDuckGo API. This skill supports domain filtering (site:), filetype filters, URL fragment matching, exclusions, and exact phrase matching to find documentation, code examples, and resources without manual refinement.

Can I use web search to find documentation across multiple coding projects?

Yes. This skill performs fast, filterable web searches across coding projects by supporting domain filtering, regional constraints, and pagination. Developers use it to locate Python library docs, API references, and code examples from specific sites without leaving their workflow.

What setup is required to run automated web searches via API?

Automated web searches require Python 3, the requests library, and a bearer token for DuckDuckGo API authorization. Set the token via environment variable, .env file, or credential manager, then install dependencies using uv and run searches from the skill directory.

How do I exclude terms and require exact phrases in search results?

This skill supports exclusion operators and exact phrase matching to refine search precision. Use exclusions to filter out unwanted terms and exact phrase matching to locate specific resource titles or code snippets without retrieving loosely related results.

Does DuckDuckGo API filtering work for research across different regions?

Yes. DuckDuckGo API filtering includes regional constraints so you can tailor results by geographic location. Combined with domain, filetype, and exclusion filters, regional control helps developers research documentation and code examples relevant to specific markets or compliance contexts.