Skip to content

Multi-source search layer that routes queries across Brave, Exa, Tavily, and Grok with intent-aware scoring and synthesis.

CCM score
54 of 100
skills.sh installs
146
GitHub stars
439
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Classifies queries into seven intent types and sets search mode, freshness window, and scoring weights for each
  • Runs Brave web search alongside search.py (Exa, Tavily, Grok) in parallel, merging results with URL deduplication
  • Expands queries per intent, including technical synonyms and English variants for Chinese technical queries
  • Adds citation tracking that extracts GitHub issue and PR references and fetches full threads via fetch_thread.py

Install

$ npx -y skills add blessonism/search-skills --skill search-layer -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Search Layer v2.2 — 意图感知多源检索协议

四源同级:Brave (web_search) + Exa + Tavily + Grok。按意图自动选策略、调权重、做合成。

执行流程

用户查询
    ↓
[Phase 1] 意图分类 → 确定搜索策略
    ↓
[Phase 2] 查询分解 & 扩展 → 生成子查询
    ↓
[Phase 3] 多源并行检索 → Brave + search.py (Exa + Tavily + Grok)
    ↓
[Phase 4] 结果合并 & 排序 → 去重 + 意图加权评分
    ↓
[Phase 5] 知识合成 → 结构化输出

Phase 1: 意图分类

收到搜索请求后,先判断意图类型,再决定搜索策略。不要问用户用哪种模式。

意图识别信号ModeFreshness权重偏向
Factual"什么是 X"、"X 的定义"、"What is X"answer—权威 0.5
Status"X 最新进展"、"X 现状"、"latest X"deeppw/pm新鲜度 0.5
Comparison"X vs Y"、"X 和 Y 区别"deeppy关键词 0.4 + 权威 0.4
Tutorial"怎么做 X"、"X 教程"、"how to X"answerpy权威 0.5
Exploratory"深入了解 X"、"X 生态"、"about X"deep—权威 0.5
News"X 新闻"、"本周 X"、"X this week"deeppd/pw新鲜度 0.6
Resource"X 官网"、"X GitHub"、"X 文档"fast—关键词 0.5

详细分类指南见 references/intent-guide.md

判断规则:

  1. 扫描查询中的信号词
  2. 多个类型匹配时选最具体的
  3. 无法判断时默认 exploratory

Phase 2: 查询分解 & 扩展

根据意图类型,将用户查询扩展为一组子查询:

Details

Repository
github.com/blessonism/search-skills
Categories
Research & Academic, Browser Automation & Scraping
First seen
Jun 3, 2026

Questions

What is the search-layer skill for Claude Code?

search-layer is a multi-source search and deduplication skill that routes web lookups through Brave Search, Exa, Tavily and Grok. It classifies each query's intent and adjusts its search strategy, scoring weights and result synthesis to match.

How do I install the search-layer skill?

Run npx -y skills add blessonism/search-skills --skill search-layer -y in a project to install it. Once installed, the agent routes web search and lookup requests through this skill.

What keys or setup does search-layer need?

search-layer reads search API keys from a credentials file or environment variables, and the skill's README configures Exa and Tavily keys plus an optional Grok endpoint. If Grok is not configured, it falls back to using Exa and Tavily only.

Where does search-layer rank in the Research & Academic category?

search-layer is listed in the Research & Academic category on Claude Marketplaces, alongside research, paper-context-resolver and repo-intake-and-plan. Beyond ranking results, it can follow GitHub issue and PR references to dig deeper into a topic.

More from blessonism/search-skills

All 3

Similar to Search Layer

More Research & Academic