Lewati ke konten
TakoAPI
Kembali ke skill

iyeque-unified-web-search

oleh iyeque

Web & Frontend Development
—Belum ada penilaian
Penilaian Anda

Ringkasan

Pick the best source (Tavily, Web Search Plus, Browser, or local files) for a query, run the search, and return.

Deskripsi

Apa yang Dilakukan Skill Ini

Routes search queries to the most appropriate source, Tavily, Web Search Plus, Browser, or local workspace files, then aggregates and ranks results with source attribution. Query input is sanitized against injection before execution.

Eliminates manual source-switching by routing each query to the best available backend and merging ranked results in a single call.

Kapan Menggunakannya

  • Finding recent news across web and local notes in one query
  • Searching workspace files alongside live web results
  • Pulling ranked sources for a research summary
  • Querying AI-optimized web results via Tavily
  • Locating a local file by name without leaving the agent workflow

Contoh Alur Kerja

INPUT

User asks: 'What are the latest findings on climate change?'

AGENT
  1. 1

    Receives query string and optional source/max_results parameters

  2. 2

    Validates and sanitizes the query against injection patterns

  3. 3

    Dispatches search to Tavily and local file index in parallel

  4. 4

    Scores and ranks results from all sources by relevance

  5. 5

    Returns unified JSON array with source, title, URL, score, and content fields

OUTPUT

Ranked JSON array of up to N results from Tavily and local files, each labeled with its source and relevance score

Persyaratan

  • TAVILY_API_KEY environment variable (obtain at https://app.tavily.com)

Instalasi

clawhub install iyeque/iyeque-unified-web-search

Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.

Tautan