Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

hybrid-deep-search

bởi scsun1978

Search & Research
365Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Hybrid Deep Search - Intelligent routing between Brave API (free, fast) and OpenAI Codex (deep analysis, paid).

Mô tả

Kỹ năng này làm gì

Routes search queries between Brave API and OpenAI Codex based on query complexity. Simple factual questions go to Brave (free, sub-2-second responses), while comparison, analysis, and multi-source questions route to OpenAI Codex. Mode selection is automatic but can be overridden with --mode flags.

Auto-routing between a free fast API and a paid reasoning model keeps costs proportional to query complexity without requiring manual tool selection.

Khi nào nên dùng

  • Looking up quick facts without spending API credits
  • Comparing two software frameworks with in-depth analysis
  • Searching for recent academic papers on a research topic
  • Running batch searches across mixed-complexity queries
  • Pulling latest news with automatic backend selection

Quy trình ví dụ

ĐẦU VÀO

User asks: compare LangChain vs LlamaIndex in detail

AGENT
  1. 1

    Analyze query for complexity keywords such as 'compare' and 'in detail'

  2. 2

    Score query above threshold (3+) using NLP keyword and length rules

  3. 3

    Route to OpenAI Codex (gpt-5-codex) for deep analysis

  4. 4

    Fetch multi-source synthesis via OpenAI Chat Completions API

  5. 5

    Return structured markdown comparison

ĐẦU RA

Detailed multi-source comparison of LangChain and LlamaIndex covering architecture, use cases, and tradeoffs

Yêu cầu

  • OPENAI_API_KEY environment variable
  • OpenAI account at platform.openai.com

Cài đặt

clawhub install scsun1978/hybrid-deep-search

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết