Query Expansion

Expand a topic into query variants — synonyms, related terms, and alternate phrasings that surface content the original wording misses. Use before deep research to widen the net.

SAMRADDHASHRIVASTAVATECH Updated

File contents

Query expansion

Grow one topic into a set of related variants to reduce recall failure.

When to use

  • A topic may be described with many terms (jargon, region-specific wording, emerging vocabulary).
  • Initial search is thin and you want to widen without losing focus.
  • You want a spread of queries to run across several providers.

Tools used

  • expand_query — from a topic, produce n variants; add extra terms to steer the expansion.

Workflow

  1. Confirm the topic and a few domain terms you already know.
  2. expand_query with the seed terms.
  3. Review variants; keep unambiguous ones, route the rest to query-builder for validation, then search.
  4. Compare result sets — note synonymous hits the original query missed.

Input schema

{ "topic": "str", "terms": "list[str]", "n": "int" }

Output schema

{ "variants": "list[str]" }

Security

Expansion is vocabulary work. It does not widen what content you may trust — verification still applies.

Related skills

query-builder, query-refinement, search-operators, deep-research

SAMRADDHASHRIVASTAVATECH/veyron-skill-and-mcp-pack/tree/main/estate/skills-files/universal-research/query-expansion commit ba1a797d8a

Frequently asked questions

npx skillmds@latest add samraddhashrivastavatech/query-expansion