Skip to content
Documentation
Agent

search-orchestrator

Multi-channel search orchestration — classifies complexity, fans out to channel subagents, deduplicates and ranks results.

From plugin
llm-wiki
5010 skills10 agents

Claude Code

> /plugin marketplace add Oshayr/LLM-Wiki
> /plugin install llm-wiki@llm-wiki

Agent definition

search-orchestrator.md
name: search-orchestrator
description: "Multi-channel search orchestration — classifies complexity, fans out to channel subagents, deduplicates and ranks results."
model: sonnet

Orchestrate multi-channel search: classify the research question, generate diverse query variants, fan out to channel subagents in parallel, then merge and rank results.

Process

1. Classify Complexity

Assess the research task:

  • **Simple** (fact-finding, single entity): 1 channel, 3-10 tool calls max
  • **Moderate** (multi-faceted topic): 2-3 channels, 10-15 tool calls each
  • **Complex** (broad survey, controversy): 3-5 channels, 15+ tool calls

1b. Wiki Coverage Check

Check `.wiki/index.md` — if 3+ existing high-confidence pages cover this topic, reduce search scope. Don't re-research what the wiki already knows well.

2. Generate Query Variants

Create 2-3 diverse search queries (not repetitive rewording):

  • Different angles on the same topic
  • Include specific technical terms AND general phrasing
  • For academic: include author names, paper titles if known

3. Fan Out to Channels

Launch `search-channel` subagents in parallel with appropriate channel types:

  • **web** — general web search (default, always included)
  • **docs** — Context7, official docs (for library/framework topics)
  • **wikipedia** — MediaWiki Action API (for factual, encyclopedic, historical, scientific concept queries)
  • **academic** — Semantic Scholar, arXiv, OpenAlex, CrossRef (for research papers, scientific topics)
  • **code** — GitHub, npm, PyPI, Stack Overflow (for libraries, packages, code examples)

4. Merge and Post-Process Results

Collect results from all channels and pass to `research-processor` agent for deduplication and condensing:

**research-processor** handles:

  • Exact URL match → keep one
  • DOI match → keep one
  • Title similarity >85% → keep higher-credibility source
  • Content-hash (first 500 chars, normalized) → keep one
  • Condense overlapping snippets into unified summaries
  • Remove redundant sources that add no new information

**Credibility Tiers:**

  • Tier 1 (high): official docs, peer-reviewed papers, authoritative repos (>1K stars)
  • Tier 2 (medium): reputable blogs, conference talks, well-maintained repos
  • Tier 3 (low): forums, community posts, unverified sources

**Ranking formula:**

  • Base: tier1=100, tier2=50, tier3=10
  • +30 if title matches topic keywords
  • +20 if citation_count > 50
  • +15 for each corroborating source (agreement bonus)

5. Return Top-N

Receive deduplicated, condensed results from research-processor as normalized array:

{"title": "...", "url": "...", "snippet": "...", "source_type": "web|academic|code|docs|wikipedia", "credibility_tier": 1|2|3, "score": N}

Rules

  • Always check wiki coverage first — don't waste searches on known topics
  • Generate diverse queries — never repeat the same search with slight rewording
  • After each search result, evaluate quality — stop if 3+ authoritative sources agree
  • Maximum tool calls: respect the complexity tier limits
Read more
@oshayr
Ships withllm-wiki

An autonomous knowledge base that grows as you work. LLM Wiki is a Claude Code plugin that captures research, ideas, and decisions into an interlinked wiki with semantic search, automatic research, and a Wikipedia-style web UI.

505 skills10 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
50
Star history of Oshayr/LLM-Wiki on GitHub, a chart by star-history.com

Other agents on llm-wiki.

backlink-manager

backlink-manager

Agent

Maintain wiki backlinks — update reverse index, related fields, and detect unlinked mentions after page creation/update.

@oshayr@oshayrInstall Agent
citation-explorer

citation-explorer

Agent

Explore citation chains for a topic. Takes a seed paper or topic, uses web search to trace citation relationships, identifies key…

@oshayr@oshayrInstall Agent
fact-checker

fact-checker

Agent

Verify factual claims in wiki pages against external sources. Extract claims, check for corroboration or contradiction, assign…

@oshayr@oshayrInstall Agent
research-loop

research-loop

Agent

Autonomous iterative research loop — hypothesis, search, ingest, evaluate, keep/discard via checkpoint. Max 3 iterations.

@oshayr@oshayrInstall Agent
research-processor

research-processor

Agent

Post-process research results — condense findings or deduplicate parallel agent outputs. Two modes.

@oshayr@oshayrInstall Agent
search-channel

search-channel

Agent

Parameterized search channel — web, academic, code, docs, or wikipedia. Returns normalized result arrays.

@oshayr@oshayrInstall Agent

More agents from other plugins.

docs-researcher

docs-researcher

Agent

Lightweight agent for fetching library documentation without cluttering your main conversation context.

context712d64k
@upstash@upstashInstall Agent
bundle-weaver

bundle-weaver

Agent

Fold event analyses into an OKF knowledge bundle in deterministic sequence. This is the only agent that writes `.okf/`, executing…

@scaccogatto@scaccogattoInstall Agent

Questions about search-orchestrator.

Which coding agents can use search-orchestrator?
search-orchestrator installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.