Skip to content
Agentmart
Submit a tool

query-refiner

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

Skill by JHostalek

IndexedCC0-1.0★ 11
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jhostalek-query-refiner

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/query-refiner

What's inside

Skill 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.
License
CC0-1.0
Instructions
20 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 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.

From JHostalek/dotclaude, CC0-1.0.

Signals

Stars
11
Forks
5
Open issues
0
Last commit (this folder)
Oct 15, 2026 (13 days ago)
Last release
Oct 22, 2026 (6 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
CC0-1.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from JHostalek

Cite this page

query-refiner skill. Agent Mart. https://agentmart.dev/skills/jhostalek-query-refiner (last updated 2026-10-24)