search-layer

Aggregates Brave, Exa, Tavily, and Grok search results with intent-aware scoring and deduplication.

7|Updated May 13, 2026
One-click install
npx skills add https://github.com/DawnMoon1542/agents-skills --skill search-layer-dawnmoon1542
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: search-layer
Source: https://github.com/DawnMoon1542/agents-skills/tree/main/search-skills/search-layer
Command: npx skills add https://github.com/DawnMoon1542/agents-skills --skill search-layer-dawnmoon1542

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, trafilatura, beautifulsoup4, lxml, and includes scripts (resource) and references (resource) components.

What problem does it solve? Single-source web search often misses relevant results or returns stale, low-authority pages. This Skill routes every search through a multi-source pipeline that classifies query intent, expands queries, merges results from four search providers, and ranks them by relevance, freshness, and domain authority. ## Core Features & Use Cases - Intent-Aware Search: Automatically classifies queries into seven intent types (factual, status, comparison, tutorial, exploratory, news, resource) and adjusts search mode, freshness filters, and scoring weights accordingly. - Multi-Source Aggregation: Queries Brave, Exa, Tavily, and Grok in parallel, deduplicates by canonical URL, and scores results using keyword match, freshness, and a tiered domain authority table. - Thread & Reference Tracking: Fetches full GitHub issue/PR discussions, Hacker News, Reddit, and V2EX threads, extracts cross-references, and recursively follows high-value links with an LLM relevance gate. - Use Case: Ask "Bun vs Deno latest comparison" and receive a synthesized answer built from deduplicated, authority-scored results across all four sources, with conflicting claims explicitly flagged. ## Quick Start Ask the agent to search for any topic, for example: search for the latest Deno 2.0 release status and summarize the key findings with sources.

Frequently Asked Questions about search-layer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search multiple sources like Exa, Tavily, and Brave at once?

Run the search.py script with a query and mode flag to query Exa, Tavily, and Grok in parallel, while the agent adds Brave results via web_search. Results are merged, deduplicated by canonical URL, and scored by intent-weighted relevance.

What is intent-aware search ranking?

Intent-aware ranking classifies a query into types like factual, news, or comparison, then adjusts scoring weights for keyword match, freshness, and domain authority. News queries weight freshness at 0.6 while factual queries weight authority at 0.5.

How do I fetch a full GitHub issue thread with comments?

Use fetch_thread.py with the issue URL to retrieve the body, all comments, labels, and timeline events via the GitHub API. It also extracts structured references such as linked issues, PRs, commits, and duplicate markers.

Does multi-source search work if one API key is missing?

Yes, the pipeline degrades gracefully per source. Missing Grok credentials fall back to Exa plus Tavily, Exa errors continue with the remaining sources, and Brave web_search alone always works as the final fallback.

Why do search results from different sources conflict?

Different providers index and rank content differently, so contradictions occur especially on fast-moving topics. The synthesis phase explicitly flags conflicting claims and attributes single-source or stale information to its origin.

When should I not use recursive link tracking for research?

Avoid chain tracking for simple factual or resource lookups where a single answer suffices, since recursive fetching with LLM scoring adds latency and API cost. It is designed for status and exploratory queries needing deep thread analysis.