From agent-capability-standard
Request clarification when input is ambiguous. Use when user request has missing parameters, conflicting interpretations, or insufficient constraints for reliable execution.
npx claudepluginhub synaptiai/synapti-marketplace --plugin agent-capability-standardThis skill is limited to using the following tools:
Generate targeted clarifying questions when a user request is ambiguous or underspecified, enabling the agent to gather missing information before committing to an action.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Generate targeted clarifying questions when a user request is ambiguous or underspecified, enabling the agent to gather missing information before committing to an action.
Success criteria:
Compatible schemas:
schemas/output_schema.yamlreference/capability_ontology.yaml#/inquire| Parameter | Required | Type | Description |
|---|---|---|---|
ambiguous_input | Yes | string|object | The underspecified request or goal to clarify |
context | No | object | Previous conversation or domain context for better question generation |
max_questions | No | integer | Maximum clarifying questions to generate (default: 3) |
Analyze the input: Examine the ambiguous_input for completeness
Categorize ambiguity types: Classify what's unclear
Generate clarifying questions: For each ambiguity, formulate a question
Ground claims: Attach evidence anchors to the ambiguity analysis
input:phrase, context:field, or inference:reasonFormat output: Structure results according to the output contract
Assess confidence: Rate how confident you are that clarification is needed
Return a structured object:
questions:
- question: "Which database should this operation target?"
parameter: "target_database"
options: ["production", "staging", "development"]
- question: "Should this include archived records?"
parameter: "include_archived"
options: ["yes", "no"]
ambiguity_analysis:
missing_parameters: ["target_database", "date_range"]
conflicting_interpretations:
- interpretation: "Query all users"
confidence: 0.6
- interpretation: "Query only active users"
confidence: 0.4
confidence_without_clarification: 0.3
confidence: 0.85 # How confident we are that clarification is needed
evidence_anchors: ["input:users", "context:previous_query_was_active_only"]
assumptions: [] # No assumptions made - we're asking for clarification
| Field | Type | Description |
|---|---|---|
questions | array | Clarifying questions with optional bounded answers |
questions[].question | string | The clarifying question text |
questions[].parameter | string | What parameter this question resolves |
questions[].options | array | Suggested answers if the question has bounded options |
ambiguity_analysis | object | Analysis of what makes the input ambiguous |
ambiguity_analysis.missing_parameters | array | Parameters required but not provided |
ambiguity_analysis.conflicting_interpretations | array | Different valid interpretations |
ambiguity_analysis.confidence_without_clarification | number | How confident we could be if we just guessed |
confidence | number | 0.0-1.0 confidence that clarification is needed |
evidence_anchors | array | References to ambiguous elements |
assumptions | array | Assumptions made (typically empty for inquire) |
Input:
ambiguous_input: "Update the user's email"
context:
recent_topic: "user management"
available_users: 150
max_questions: 3
Output:
questions:
- question: "Which user's email should be updated?"
parameter: "user_id"
options: [] # Open-ended - too many users to list
- question: "What should the new email address be?"
parameter: "new_email"
options: []
- question: "Should this send a verification email to the new address?"
parameter: "send_verification"
options: ["yes", "no", "only if production"]
ambiguity_analysis:
missing_parameters: ["user_id", "new_email"]
conflicting_interpretations: []
confidence_without_clarification: 0.1
confidence: 0.95
evidence_anchors: ["input:the user's", "input:email"]
assumptions: []
Evidence pattern: The phrase "the user's" indicates a specific user is intended but not identified. "email" is ambiguous - could mean view, update, or verify.
Input:
ambiguous_input: "Show me the report"
context:
available_reports: ["sales", "inventory", "user_activity"]
last_viewed_report: "sales"
max_questions: 2
Output:
questions:
- question: "Which report would you like to see?"
parameter: "report_type"
options: ["sales", "inventory", "user_activity"]
- question: "For what time period?"
parameter: "date_range"
options: ["today", "this week", "this month", "custom range"]
ambiguity_analysis:
missing_parameters: ["report_type", "date_range"]
conflicting_interpretations:
- interpretation: "Show sales report (last viewed)"
confidence: 0.5
- interpretation: "Show most recently generated report"
confidence: 0.3
- interpretation: "Show all available reports"
confidence: 0.2
confidence_without_clarification: 0.5
confidence: 0.7
evidence_anchors: ["input:the report", "context:available_reports:3", "context:last_viewed:sales"]
assumptions: []
Evidence pattern: "the report" implies a specific report but context shows 3 options. Recent history (sales) provides a weak signal.
parameter fieldVerification tools: None beyond allowed tools
mutation: falserequires_checkpoint: falserequires_approval: falserisk: lowCapability-specific rules:
Commonly follows:
critique - After identifying issues with a request, inquire resolves themreceive - After receiving a new request that needs clarificationCommonly precedes:
receive - After inquiring, wait for user's clarification responseintegrate - Merge clarification into the original requestplan - Once clarified, proceed to planningAnti-patterns:
inquire after execute - clarify BEFORE actinginquire calls - combine questions into one requestmutate in the same step - inquire is read-onlyWorkflow references:
reference/workflow_catalog.yaml#clarify_intent for the complete clarification workflow