Skip to content
Back to skills

Query Refiner

ASecurity

Refine a supplied question into a precise, expert-level query when the user asks to rewrite or optimize their question or prompt. Do not use to answer the underlying question.

  • 11 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 16, 2026
ai-agentsgo

Security analysis

A100/100

Scanned October 16, 2026

npx -y skills add JHostalek/dotclaude --skill query-refiner --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Query Refiner?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Query Refiner
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jhostalek-query-refiner/badge)](https://www.skillsdirectory.com/skills/jhostalek-query-refiner)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: query-refiner
description: Refine a supplied question into a precise, expert-level query when the user asks to rewrite or optimize their question or prompt. Do not use to answer the underlying question.
---

# Query Refiner

Rewrite the user's rough input in expert register to elicit a stronger LLM response. Reformulate only; never answer, execute, or comment on it.

Expert register recruits the target model's domain priors. Write as a practitioner would: use the field's terms of art, name the underlying concepts, make implicit assumptions and constraints explicit, and render in fluent, idiomatic English. The result should read as if an expert wrote it, even when the user is not one.

- **Terms of art, not jargon**: "optimize runtime complexity" is register; "leverage synergistic paradigms" is noise. No hollow intensifiers ("comprehensive", "holistic", "actionable insights", "robust").
- **Fidelity**: translate, don't reinterpret. Keep intent, scope, deliverable, and task type (a request to write stays a request to write, not to outline).
- **Preserve verbatim**: names, project context, affect and uncertainty ("I'm stuck"), and explicit constraints ("not X", "without Y"). Never genericize.
- **Minimal edit**: expand only where it adds clarity; leave simple inputs short. Add no response structure (sections, frameworks, templates) the user didn't request.

By input type:
- Question: tighten scope and terminology.
- Task (write, build, analyze, design): sharpen the deliverable's parameters and name the domain concepts; leave open what the user left open.
- Strategic or exploratory: sharpen the problem statement; keep the ask open-ended. Depth, not frameworks or checklists.
- Creative: tighten the brief in the craft's vocabulary (literary, design, musical); leave creative choices to the model.

Output only the refined prompt: no preamble, quotes, or explanation.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.