Clarification Pattern

Generate targeted clarification questions for low-confidence intent classifications.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/reaatech/agentic-arch-patterns --skill clarification-pattern
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Clarification Pattern
Source: https://github.com/reaatech/agentic-arch-patterns/tree/main/skills/clarification
Command: npx skills add https://github.com/reaatech/agentic-arch-patterns --skill clarification-pattern

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

The Clarification pattern generates targeted, language-specific questions to resolve ambiguity when classification confidence is low, improving routing accuracy without breaking natural conversation.

Core Features & Use Cases

  • Flexible prompt builder that creates context-aware clarification questions.
  • Localization and caching to deliver quick, language-appropriate prompts and reuse them for the same context.
  • Fallback strategies when the LLM is unavailable or fails to generate a question.
  • Use cases include multilingual support, multi-agent routing, and handling ambiguous intents in conversational systems.

Quick Start

Provide the current classification result and the user language to the pattern to obtain a concise clarification question.

Frequently Asked Questions about Clarification Pattern

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I ask users for clarification when LLM intent classification confidence is low?

You resolve low classification confidence by generating targeted, language-specific clarification questions. The pattern uses a prompt builder, localization, and caching to ask users directly and improve routing accuracy without breaking the conversation flow.

What is the best way to handle ambiguous intents in a multi-agent routing system?

The best way to handle ambiguous intents in multi-agent routing is to generate targeted clarification questions when classification confidence falls below your threshold. This pattern uses fallback mechanisms and localized prompts to disambiguate intents reliably.

How does clarification disambiguation work in multilingual conversational systems?

Disambiguation in multilingual conversational systems works by applying a flexible prompt builder with localization to generate language-appropriate questions. It caches these prompts to deliver quick, reusable clarifications for the same ambiguous context.

Can I use fallback strategies for clarification prompts when the LLM is unavailable?

Yes, you can implement fallback strategies for clarification prompts when the LLM is unavailable. The pattern includes specific fallback mechanisms to ensure timely, user-friendly clarifications are still delivered even if question generation fails.

Do I need to provide specific inputs to start generating clarification questions for routing?

To start generating clarification questions for routing, you need to provide the current classification result and the user language. The pattern uses these inputs to build a concise, context-aware prompt that resolves the detected ambiguity.