web-search

Search the web with automatic backend selection. Works out-of-the-box with public SearXNG. Optional Duck API for advanced filters. Supports images, news, videos.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "web-search" with this command: npx skills add devskale/skale-skills/devskale-skale-skills-web-search

Web Search

Search the web. Works immediately without any setup.

Quick Start

cd <skill-path>
./install.sh
./search "your query"

That's it! No credentials needed for basic usage.

Credentials (Optional)

Duck API - Advanced Filters

The Duck API provides advanced filters (--site, --filetype, --exact, etc.) but requires a token.

Get token: Contact your admin or use your private API endpoint.

Configure:

# Option 1: Using credgoo (recommended)
credgoo add WEB_SEARCH_BEARER
# Enter your token when prompted

# Option 2: Environment variable
export WEB_SEARCH_BEARER=your_token

# Option 3: Add to shell config
echo 'export WEB_SEARCH_BEARER=your_token' >> ~/.zshrc

Private SearXNG - Better Reliability

Public instances may have rate limits. For better reliability, run your own SearXNG instance.

Configure:

# Option 1: Using credgoo (recommended)
credgoo add searx
# Enter: http://localhost:8080@username@password

# Option 2: Environment variable (no auth)
export SEARXNG_URL=http://localhost:8080

# Option 3: Environment variable (with auth)
export SEARXNG_URL=http://localhost:8080@username@password

Usage

# Basic search (works without credentials)
./search "react hooks"

# With filters (requires Duck API token)
./search "python tutorial" --site github.com
./search "ML paper" --filetype pdf --timelimit m
./search "error fix" --exact

# Images/news (uses SearXNG)
./search "cats" --categories images
./search "AI news" --categories news

# Force specific backend
./search "query" --searxng    # Public SearXNG (no token needed)
./search "query" --api        # Duck API (requires token)

Options

OptionDescriptionBackend
--max NMax results (default: 10)All
--site DOMAINFilter by domainDuck API
--filetype EXTFilter by file type (pdf, txt, etc.)Duck API
--inurl FRAGMENTFilter by URL substringDuck API
--exclude TERMSExclude comma-separated termsDuck API
--exactExact phrase matchDuck API
--timelimit D/W/M/YTime filterDuck API
--categories CATCategory (images, news, videos)SearXNG
--time-range DAY/WEEK/MONTH/YEARTime filterSearXNG
--jsonOutput raw JSONAll
-v, --verboseShow backend usedAll

Backend Selection

ScenarioBackendWhy
No token configuredPublic SearXNGWorks out-of-the-box
Token configured + general searchDuck APIAdvanced filters
--categories images/news/videosSearXNGBetter media aggregation
--searxng flagSearXNGExplicit choice
--api flagDuck APIExplicit choice

Examples

# Quick search (no setup needed)
./search "how to learn python"

# News search
./search "AI news" --categories news --time-range day

# Image search
./search "cute cats" --categories images --max 5

# Research (requires Duck API token)
./search "transformer architecture" --filetype pdf --timelimit y

# Code examples (requires Duck API token)
./search "python asyncio" --site github.com

# Exact error messages (requires Duck API token)
./search "TypeError: NoneType has no attribute" --exact

# Debug backend selection
./search "test" -v

Alias Setup

echo "alias ws='~/.pi/agent/skills/web-search/search'" >> ~/.zshrc
source ~/.zshrc

ws "your query"

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

markdown-converter

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

rodney

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

fetch-url

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

readme-write

No summary provided by upstream source.

Repository SourceNeeds Review