/intent:intentfrom intent
Resolves ambiguity by inferring task intent from context before asking the user. Use when stuck, uncertain, or about to ask a clarifying question.
Ships in intent. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this procedure whenever you feel stuck, encounter ambiguity, need to make a decision, or are about to ask the user a question.
Before asking the user for clarification, first perform an intent-based investigation to determine whether the question can be answered from the existing context.
Do not use this procedure to invent missing requirements. Use it to recover the task's underlying purpose, derive reasonable answers, and make decisions that remain aligned with that purpose.
Investigate the task intent explicitly. Do not hand-wave this step or reduce it to a vague statement such as "the user wants a good result."
Return to the available source material and inspect it holistically.
Intent may be inferred from:
Do not infer intent from changes, implementation choices, or modifications introduced during the current execution unless the user explicitly established them as requirements. Separate the original goal from decisions made while attempting to satisfy it.
Determine the following:
What should exist, change, become possible, or be understood when the task is complete?
Why does the user want this outcome? What larger problem, decision, or workflow does it support?
What concrete result is expected: an explanation, decision, implementation, plan, document, code change, analysis, recommendation, or action?
Who will use or evaluate the result? What level of detail and formality do they require?
What properties would make the result useful, correct, or acceptable?
Identify explicit and strongly implied constraints, including:
What do previous examples, objections, corrections, and rejected outputs reveal about the intended result?
What part of the larger goal is being worked on now? What belongs outside the current task?
Produce an internal intent statement in this form:
The user wants [deliverable or change] so that [larger purpose]. The result must [success criteria], while respecting [constraints]. The current task is limited to [scope].
If the evidence supports multiple plausible intents, retain the alternatives and compare them rather than choosing arbitrarily.
If the evidence supports no intent at all - every source above is silent on what the task is for - do not manufacture one. A confident-sounding but unsupported intent statement is worse than admitting the gap; treat it as a trigger for the Escape Hatch below.
List the questions or uncertainties preventing progress.
For each question, attempt to answer it using the inferred intent and available evidence before asking the user.
Would the answer materially affect the intended outcome?
If not, choose a reasonable default or omit the issue.
Which answer most directly advances the desired outcome?
Which answers are compatible with the known constraints?
Reject answers that violate explicit requirements, even if they are otherwise convenient.
Which answer is most consistent with the user's earlier prompts, examples, corrections, project architecture, and implementation plan?
Which answer produces the most useful result for the intended audience?
Can the decision be changed later without significant cost?
Prefer reasonable assumptions for low-risk, reversible decisions.
What is the cost of being wrong?
Do not silently assume answers when an incorrect assumption could cause substantial rework, irreversible actions, safety issues, data loss, or a fundamentally incorrect result.
Is the missing information genuinely necessary to proceed, or merely useful?
Ask the user only for information that is necessary and cannot be reliably inferred.
What would happen if this question were left unanswered?
If the task can still satisfy its intent, do not block progress on it.
For every material question, determine:
Example:
Question: Should this component use a database or files? Inferred answer: Use SQLite. Evidence: The project requires structured querying, persistent state, and an existing implementation plan already specifies SQLite. Confidence: High. Risk if wrong: Moderate rework. Reversible: Yes.
Ask the user only when:
When clarification is necessary, ask the smallest question that resolves the decision. Explain the concrete consequence of the ambiguity rather than asking a broad or abstract question.
Steps 1 and 2 assume the evidence eventually yields either an intent or a safe default. Sometimes it does not. When inference genuinely bottoms out, this procedure must stop - not quietly invent an answer to keep moving.
Invoke it when both of these hold for a material question:
A single unanswerable-but-immaterial question is not an escape-hatch case: apply the Relevance and Counterfactual tests and move on. The escape hatch is for a question that is material and ungrounded.
The escape hatch is the counterweight to Step 2's bias toward answering your own questions: that bias is correct only while the evidence supports an answer. When it does not, silence is a finding - report it.
Use the inferred intent and resolved questions as the decision policy for completing the task.
For each material decision, evaluate the alternatives according to:
Decision value =
+ progress toward intended outcome
+ fit with success criteria
+ consistency with context
- constraint violations
- risk
- unnecessary complexity
Choose the option that best advances the underlying outcome rather than the option that merely satisfies the literal wording of an isolated instruction.
Prefer outcome alignment over local convenience.
Preserve explicit constraints.
Prefer evidence from the user and project over generic best practices.
Prefer simple, reversible decisions when evidence is weak.
Avoid adding scope that does not contribute to the intended outcome.
Do not optimize secondary qualities at the expense of the primary goal.
Do not treat implementation decisions made during the task as proof of the original intent.
Revisit the original prompts, project goal, or implementation plan whenever the work begins to drift.
Distinguish between:
Mark assumptions internally and validate them against the final result.
Before completing the task, verify:
If the answer to any of these questions is no, revise the work before presenting it.
When stuck or tempted to ask the user a question:
Return to the original evidence, infer the intent explicitly, use that intent to answer all low-risk questions yourself, and make decisions that maximise progress toward the intended outcome while respecting the user's constraints.
Ask the user only when the ambiguity is material, cannot be resolved from context, and would make proceeding unreliable. And when neither the intent nor a safe default can be inferred at all, invoke the Escape Hatch: stop, name the gap, and escalate rather than fabricating an answer.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub florianbuetow/claude-code --plugin intentOther plugins' skills for the same job