interactive
БесплатноБез исполняемых скриптовНе проверенAsk the user questions or present choices via an interactive form. Use when you need to gather preferences, clarify ambiguous instructions, get decisions on…
от wecode-ai★ 897 звёзд на GitHubОб этом скилле
Ask User
You now have access to the interactive_form_question tool. Use it to ask the user questions during execution.
When to Use
- Gather user preferences or requirements — before starting or when more detail is needed
- Clarify ambiguous instructions — when the request could be interpreted multiple ways
- Get decisions on implementation choices as you work — when a fork in the road requires user input
- Offer choices on direction — let the user steer when multiple valid paths exist
- Present any list of options to the user — whenever you would naturally write a numbered/bulleted list of choices for the user to pick from, use
interactive_form_questioninstead
Never write options, choices, or questions as plain text or markdown lists — always call the tool.
Usage Notes
- Users can always select "Other" to provide custom text input, even on choice questions — you don't need to add it manually
- Use
multi_select: trueto allow multiple answers to be selected - If you recommend a specific option, set
"recommended": trueon that option — the frontend will display the recommended badge automatically. NEVER add "(Recommended)", "(推荐)" or any similar text to thelabelfield — the badge is rendered by the frontend, not by text in the label - Always pass questions via
questions=[...]. A single-question form is just a one-itemquestionsarray. - After receiving answers, call
interactive_form_questionagain if follow-up questions arise — never ask in plain text
Behavior
interactive_form_question displays an interactive form and returns immediately . The current task ends silently and resumes when the user submits their answer as a new message.
Tool Parameters
questions(list, required): The full list of questions to render- Each item in
questionshas:id: Unique identifierquestion: Question text shown to the userinput_type:"choice"or"text"options(optional):[{label, value, recommended?}]for choice questionsmulti_select(optional): Allow multiple selections; defaultfalserequired(optional): Whether the question must be answered; defaulttruedefault(optional): Pre-selected valuesplaceholder(optional): Placeholder for text input
Examples
Clarify ambiguous instructions
interactive_form_question(
questions=[
{
"id": "environment",
"question": "Which environment should I deploy to?",
"input_type": "choice",
"options": [
{"label": "Development", "value": "dev", "recommended": true},
{"label": "Staging", "value": "staging"},
{"label": "Production", "value": "prod"}
]
}
]
)
Get a decision as you work
interactive_form_question(
questions=[
{
"id": "cache_strategy",
"question": "I found two approaches for the caching layer. Which do you prefer?",
"input_type": "choice",
"options": [
{"label": "Option A — simple in-memory cache", "value": "simple", "recommended": true},
{"label": "Option B — Redis with TTL control", "value": "redis"}
]
}
]
)
Gather requirements upfront (multi-question)
interactive_form_question(
questions=[
{
"id": "language",
"question": "Which language should I use?",
"input_type": "choice",
"options": [
{"label": "Python", "value": "python", "recommended": true},
{"label": "TypeScript", "value": "typescript"},
{"label": "Go", "value": "go"}
]
},
{
"id": "features",
"question": "Which features to include?",
"input_type": "choice",
"multi_select": true,
"options": [
{"label": "Authentication", "value": "auth", "recommended": true},
{"label": "Rate Limiting", "value": "rate_limit"},
{"label": "Caching", "value": "caching"}
]
},
{
"id": "notes",
"question": "Anything else I should know?",
"input_type": "text",
"required": false,
"placeholder": "Optional notes..."
}
]
)
Confirm before a destructive action
interactive_form_question(
questions=[
{
"id": "overwrite_confirmation",
"question": "This will overwrite the existing file. Proceed?",
"input_type": "choice",
"options": [
{"label": "Yes, overwrite", "value": "yes"},
{"label": "No, keep existing", "value": "no", "recommended": true}
]
}
]
)
Response Format
Single-question: {"answer": ["value"]} (choice) or {"answer": "text"} (text)
Multi-question: {"answers": {"language": ["python"], "features": ["auth", "caching"], "notes": ""}}
Установить interactive в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл interactive?
Ask the user questions or present choices via an interactive form. Use when you need to gather preferences, clarify ambiguous instructions, get decisions on implementation choices, or present a list of options for the user to select from. Never write options or questions as plain text — always use this tool.
Как установить скилл interactive?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл interactive запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic