Query skills

Six skills turn a question into a scored recommendation.

Understand

Parses the user's request into a structured request.json. Extracts indication, sample type, modality, minimum N, budget, hard negatives. Classifies intent as access, commission, or mixed.

Source: .claude/skills/query/understand/SKILL.md

Search

Runs when the wiki is thin. Iterates PubMed and EuropePMC queries with deterministic coverage scoring and mechanical synonym rewriting. Each round persists to disk. Stops when coverage plateaus or a round limit is hit.

Source: .claude/skills/query/search/SKILL.md

Discover

Scans the wiki index for entities matching the request filters. Reads cohort entities that match. Produces a candidates list with a verdict: wiki_rich, wiki_partial, or wiki_empty.

Source: .claude/skills/query/discover/SKILL.md

Score

Evaluates each candidate on three axes: Scale, Cost, Quality. Reads entity articles and references/pricing-data.md for cost evidence. Produces per-axis confidence ratings.

The three axes are independent. No composite score. The buyer chooses the weighting. See Scoring for the full axis specification.

Source: .claude/skills/query/score/SKILL.md

Deliver

Assembles the final outputs from scored candidates. Produces a human-readable recommendation and machine-readable listings for the web app.

Candidates are rendered in axis-confidence-weighted order. The most defensible candidate reads first. Every candidate gets all three axes side by side.

Source: .claude/skills/query/deliver/SKILL.md

Bounty format

Used by the bounty workflow. Takes a decided procurement chain and writes it as a wiki bundle entity under store/wiki/bundles/. Validates chain structure (2-7 links, per-link evidence tiers). Hook-gated.

Source: .claude/skills/query/bounty/format/SKILL.md