query-refiner
Skill11 starsChanged 4 months agoCC0-1.0View on GitHub
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.
In this repository10 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- auditSkill
- designSkill
- distillSkill
- git-workflowSkill
- intent-briefSkill
- judgeSkill
- sotaSkill
- timesheetSkill
- writingSkill
The file
Files
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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

