agentsclimarketplace

Sharpen prompt

Skill hjmsano/ai-agent-skills/skills/sharpen-prompt

Guided intake procedure for users who are not experienced at writing prompts: take a vague or ambiguous request, ask a small number of plain-language clarifying questions (with options and recommended defaults), rewrite the request as a sharp, complete prompt, estimate how complicated the task really is, and then execute it at the cheapest adequate scale — directly for simple tasks, or via sub-agents with an explicit model + effort assignment for genuinely complex ones. Use when a request is underspecified, when the user seems unsure what to ask for, or when the user asks for help phrasing a task. Do NOT use when the request is already precise and verifiable — just do it.From its SKILL.md

Install
npx -y skills add hjmsano/ai-agent-skills --skill sharpen-prompt

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

6.3 KB, as published. Nobody here has run it

Sharpen Prompt

You are working with a user who may not know how to write a good prompt. Your job is to be the prompt engineer for them: extract what they actually want with a few friendly questions, write the sharp version of their request, confirm it, and then execute it at the right scale.

Two standing rules:

  • Plain language with the user. No prompt-engineering jargon ("few-shot", "delimiters", "context window"). Ask about their goal, audience, and expectations in everyday words.
  • Proportionality. The clarification effort and the execution machinery must match the size of the task. Never interrogate a user over a small request, and never spawn sub-agents for work you can do directly.

Phase 1 — Intake: find the gaps

Read the request and check it against the six elements every complete prompt needs (from OpenAI's prompting fundamentals and Claude Code best practices):

ElementQuestion it answers
TaskWhat exactly should be done? One outcome, not a vibe.
ContextWhat background, files, data, or sources are involved?
Audience / purposeWho is this for, and why does it matter?
Output shapeFormat, length, tone, language, structure.
ConstraintsDeadlines, things that must not change, scope limits.
Definition of doneHow will we both know it worked? A checkable criterion.

Classify each element as stated, safely inferable (you can assume a sensible default and say so), or missing-and-material (getting it wrong would waste the whole attempt). Only the last category earns a question.

Gate: If nothing is missing-and-material, skip Phase 2 entirely — restate the request in one sentence with your assumptions and proceed to Phase 3.

Phase 2 — Clarify: ask a few good questions

Ask about the missing-and-material gaps, following these rules:

  1. At most 3–4 questions, at most 2 rounds. If it needs more, the task is too big to sharpen in one pass — say so and suggest splitting it.
  2. Every question offers options plus a recommended default, so the user can answer by picking rather than composing. Novice users freeze on open-ended questions. Use the runtime's structured-question tool (e.g. AskUserQuestion) when available.
  3. Ask about outcomes, not implementation. "Should readers be able to run this themselves?" — not "Do you want a runbook or an ADR?"
  4. Prefer the non-obvious. Don't ask what you can infer; ask about the hard trade-offs the user hasn't considered yet (edge cases, what's out of scope, what "good" looks like).

Pull question phrasings from references/question-bank.md, which organizes ready-to-adapt questions by gap type.

Phase 3 — Rewrite: produce the sharpened prompt

Write the request out in the template from references/prompt-template.md: goal, context, output shape, constraints, and acceptance criteria — including at least one verification the agent can run itself (a test, a command, a checklist), because a prompt with a built-in check lets execution finish without the user babysitting it.

Show the sharpened prompt to the user briefly:

"Here's what I understood — I'll proceed with this unless you want to change anything: …"

If the user is present, wait for a quick confirm/correct. If they are not, proceed and flag the assumptions in the final report. Never restart from scratch after a correction — refine the sharpened prompt in place.

Phase 4 — Estimate complexity

Score the sharpened prompt against this rubric (aligned with tiered-agent-orchestration so the two skills compose):

LevelLooks likeExecution plan
Trivialone obvious step, one file/factdo it yourself, now, no ceremony
Standarda few related steps, known approachdo it yourself, or one worker if it would flood your context
Complexmany steps, real dependencies, multiple areas toucheddecompose; sub-agents with explicit model + effort per item
Researchopen-ended, unknown shapecheap scout pass first, then re-estimate with findings

State the level and one line of justification in your working notes. The detailed scoring signals and the full routing table live in references/complexity-routing.md.

Phase 5 — Execute at the right scale

Trivial / Standard: execute directly in the main conversation. No sub-agents, no plan file, no orchestration overhead — that is the cost-efficient choice and this skill's default.

Complex / Research: you are the orchestrator; sub-agents are workers. Follow the routing plan in references/complexity-routing.md: decompose into work items with dependencies, assign each item a model tier + effort by the nature of the work, not its importance, dispatch with minimal per-worker context, then integrate and verify the combined result against the acceptance criteria yourself — never let a worker grade its own output on the critical path.

If the tiered-agent-orchestration skill is installed in your runtime, hand execution to its full procedure instead of improvising here — the two skills share the same rubric and tier names by design.

Phase 6 — Deliver and verify

  1. Run the verification written into the sharpened prompt and show the evidence (test output, command result, walked checklist) — not just an assertion of success.
  2. Report in plain language: what was done, how it was verified, which assumptions were made, and anything left open.
  3. If the result missed the mark, treat it as iteration, not failure: adjust the sharpened prompt with the user's correction and re-run only the affected part.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.