runningZ1/union-search-skill

一次搜索 51 个渠道,默认返回每个渠道取到的全部结果,再按页面地址去重。覆盖网页、GitHub、YouTube、知乎、播客和 AI 搜索。

What it solves

Searching across many web, API, and AI-tool sources typically means running multiple queries and stitching results manually. Union Search solves that by firing one search across up to 51 channels at once, returning every result each channel produces, then merging duplicates by page address. It also handles extras like reading full page text, downloading images, and pulling media from search results.

How it works

The project is a Python command-line tool plus an agent skill. You run a command like search --platforms github wikipedia or --group general, and it orchestrates concurrent queries across the selected channels. Each channel is implemented as its own script or API adapter. Results come back in a unified JSON structure, with per-channel status and counts, and optional deduplication by URL. The CLI also exposes commands for single-platform queries, webpage text extraction (using the Defuddle engine), image search and download, and media download via yt-dlp. Agents like Claude Code and Codex discover its capabilities through a schema, error codes, and environment-check commands. API keys are configured in a .env file, and a doctor command verifies dependencies and credentials.

Who it’s for

Users of AI coding agents (Claude Code, Codex) or command-line users who need broad, multi-source search without juggling multiple tools. It’s also aimed at developers who want to add a new search API provider to the registry, since the project includes a provider onboarding process and a code checklist.

Highlights

  • 51 search channels: 25 with no required API key, 23 with API keys, and 3 that use local AI tool sign-in.
  • Returns all results from each channel by default, with deduplication by page URL; --limit and presets (small, medium, large, extra) control local truncation.
  • Groups like general, api, no_api_key, social, and dev let you query a coherent set of channels in one command.
  • Includes image search and download (with image verification), full-article extraction, and media downloading via yt-dlp.
  • Designed for agents: machine-readable schema, error codes, exit codes, and a doctor command to check environment.
  • MIT licensed and open to provider onboarding.

Related

  • Project
  • Project
  • Project
  • Project