Enhancement-overlay SOP for query-type routing — sending a query to the right index / tool / engine *before* retrieving, not after.
A skill in “Agent infrastructure and automation”. Ready commands for Claude Code, Codex, OpenCode and 32 more agents.
Full description
Enhancement-overlay SOP for query-type routing — sending a query to the right index / tool / engine *before* retrieving, not after. Activate when a calling agent owns a retrieval or answering surface that fronts more than one handler (a summary index, a vector index, a text-to-SQL engine, a tool) and the inbound queries differ in kind: "summarize this doc" vs "find the clause about X" vs "how many orders shipped in Q3". Encodes the one non- negotiable insight — **one retriever cannot serve all query types; route first, retrieve second** — plus the three router families (LLM/selector, embedding/semantic, keyword/rule), confidence-threshold + fallback discipline, and the cross-framework mapping (LlamaIndex `RouterQueryEngine` / `SelectorPromptTemplate`, Dify Question Classifier node, LangGraph conditional edges). This is an ENHANCE overlay over the per-framework skills — cross-link `[[llamaindex]]`, `[[agentsop-dify]]`, `[[agentsop-langgraph]]` for the deep API. Search keywords: route query, semantic router, query classification, RouterQueryEngine, multi-index routing, pick the right tool for a query.trigger_keywords: - "query routing" - "route to index" - "RouterQueryEngine" - "question classifier" - "conditional edge router" - "text-to-SQL or RAG" - "summary vs lookup query" - "selector" - "intent routing"
Skill
Agent infrastructure and automation
35 agents
513 stars
MIT
This entry comes from the GitSkills open dataset (CC-BY-4.0). ANG did not run or audit this skill; check the source before installing.
AiderNo SKILL.md support documented for Aider.Source
PlandexNo SKILL.md support documented for Plandex.Source
CodeGPTNo SKILL.md support documented for CodeGPT.Source
SWE-agentNo SKILL.md support documented for SWE-agent.Source
mini-SWE-agentNo SKILL.md support documented for mini-SWE-agent.Source
JulesNo SKILL.md support documented for Jules.Source
Open SWENo SKILL.md support documented for Open SWE.Source
GitLab DuoNo SKILL.md support documented for GitLab Duo.Source
Support comes from each agent’s official docs on SKILL.md and MCP; ANG has not run this entry on every agent.
In plain words
No tech background needed.
What is it?
A skill is a pack of instructions you load into your agent (like Claude Code or Codex). It is like installing an app on your phone: install it once and the agent knows how to do that job.
What is it for?
Used for “Agent infrastructure and automation” work. In the publisher’s words: Enhancement-overlay SOP for query-type routing — sending a query to the right index / tool / engine *before* retrieving, not after.
Example request
“Automate this job step by step.”
Agents
Ready commands for Claude Code, Codex, OpenCode and 32 more agents.
Can I trust it?
513 GitHub stars · MIT. Check the source before installing.
Usage
Last 30 days, on the site and in agents.
0on shelves
0views
0commands copied
0site downloads
0installed from the app
0installed by the agent
0active users
A field score needs at least 20 users and 50 tasks from the ANG app; now 0 users, 0 tasks. Until then the power score is estimated from listing data.