query-planning

Installation
SKILL.md

Query Planning

A hard question asked as one flat search gets a shallow answer. "Does metformin reduce mortality in heart failure with diabetes?" is really three questions — a drug, an outcome, and a population — and each needs its own retrieval. This skill makes the agent plan the search before running it, so the evidence it gathers actually spans the question.

When to use

Before prisma-search, whenever the question contains more than one concept: a drug and an outcome, a gene and a disease, an intervention and a comparator, a population qualifier, or a time frame.

The rule

Turn the question into a plan before you search: the core concepts, the hypotheses worth testing, and a set of targeted sub-queries with their synonyms.

Produce four things:

  1. Concepts — the distinct entities in the question (drug, outcome, population, comparator). Strip filler and generic academic words ("study", "effect", "analysis") so only real concepts remain.
  2. Hypotheses — the specific claims the search should try to confirm or refute (e.g. "metformin lowers all-cause mortality", "the effect holds in the HF-with-diabetes subgroup").
  3. Sub-queries — one focused search per concept pairing, not one blob. Retrieve for each, then combine.
  4. Synonym expansion — for each concept, add the terms a paper might actually use: brand and ingredient names, abbreviations, MeSH-style variants, British/American spellings.
Installs
1
GitHub Stars
1
First Seen
Today
query-planning — hash-7777/hash-medical-reasearch-agent-skills