Query Reformulation Expander
Propose retrieval query rewrites and evaluate whether they improve relevant coverage.
Get labeled rewrites, a retrieval comparison and unsupported-claim flags.
Free · 2 KB · SKILL.md, instructions and example files. Provide the original query, corpus/index interface and relevance criteria.
A worked example
A small example to try before using your own data.
Input
{
"query": "How do I resume an agent after a crash?",
"constraints": [
"preserve completed tool results"
]
}Expected result
{
"rewrites": [
"Agent checkpoint recovery preserving completed tool outputs",
"Resume interrupted agent execution from persisted state"
],
"hypothetical_passage": "An agent can persist a checkpoint and completed tool identifiers, then recover state without blindly replaying side effects.",
"status": "Proposed rewrites; retrieval improvement has not been measured."
}What to check: Preserve the side-effect constraint and label the hypothetical passage as generated, not sourced evidence.
Limits: Rewrites can reduce precision. Without relevance judgments, a larger result set is not proof of improved recall.
Worked example included. Model-specific performance and vendor compatibility have not been benchmarked.
🧠 Why it works
Preserve the side-effect constraint and label the hypothetical passage as generated, not sourced evidence.
⚙️ How it works
- Extract the user’s actual information need and required constraints before adding terminology.
- Produce a few meaning-preserving rewrites plus a clearly labeled hypothetical answer only if the retrieval system supports it.
- Run the original and rewrites under the same retrieval settings and preserve result IDs.
- Deduplicate results and assess relevance against the original need, not against the hypothetical answer.
- Report observed coverage and false positives; claim improved recall only with suitable labeled relevance evidence.
Description
Get labeled rewrites, a retrieval comparison and unsupported-claim flags.
Provide the original query, corpus/index interface and relevance criteria.
Limits: Rewrites can reduce precision. Without relevance judgments, a larger result set is not proof of improved recall.
Recommended Use
Sign in to suggestTools and workflow packs this skill pairs well with. Forge picks are auto-generated from category + capability signals; Community picks are added by people who've used the pairing.
No matches yet. Be the first to suggest a pairing, or the Forge will populate suggestions as signals align.
Report compatibility
Tell the community which tool you used this skill with, and whether it worked.
Suggest a pairing
Recommend a tool or workflow pack that this skill works well with. Up to 5 recommendations per day.