---
name: ask-with-tool
description: Use the interactive question tool (AskUserQuestion, ask_user_input_v0, or whatever clarifying-question tool is available) instead of writing questions as plain text. Make sure to use this skill whenever you are about to ask the user a clarifying question, offer a choice between options, gather preferences or requirements, confirm scope before starting work, or write anything like "Which would you prefer?", "A few questions first:", or a bulleted list of questions. Trigger even if the user never mentions the tool, and even for a single quick question.
title: ask-with-tool
canonical_url: https://skilld.dev/gh/mb1810/bergerskills/ask-with-tool
last_updated: 2026-10-06T00:04:53.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install mb1810/bergerskills/ask-with-tool`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/ask-with-tool`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/mb1810/bergerskills/ask-with-tool) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/ask-with-tool`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/ask-with-tool --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/ask-with-tool --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Ask With the Tool

When you need input from the user, use the question tool. Do not type the questions into your reply.

## Find the tool

The name varies by surface. Use whichever exists:

- `AskUserQuestion` (Claude Code, Agent SDK)
- `ask_user_input_v0` (Claude.ai / Claude app)
- Any other tool whose description says it presents options or questions to the user

If none exists, fall back to plain text: one short question, with lettered options if there are choices.

## Rules

1. **Check first.** If the answer is already in the conversation, the files, or can be reasonably inferred, don't ask. Decide, state the assumption in one line, and proceed.
2. **Batch.** Put all needed questions in a single tool call (max 3 per call). Don't drip-feed one question per turn.
3. **Options, not open prose.** Give 2-4 short, mutually exclusive options per question. Put the recommended option first and mark it "(Recommended)" when you have a view. Users can always type their own answer, so don't add an "Other" option.
4. **One decision per question.** Make labels a few words each. Put detail in the option description if the tool supports one.
5. **Use multi-select** only when choices aren't mutually exclusive (e.g., "which platforms?").
6. **Stop after calling it.** The answer arrives as the user's next message. Don't keep writing, and don't also list the questions in text.
7. **Lead-in is one line max**, only to frame why you're asking.

## When not to use it

- The user asks "A or B?" and wants your recommendation. Answer directly.
- The user is venting or processing something emotional. Respond conversationally.
- The user asks for your opinion or a factual answer.
- The user already gave detailed constraints. Proceed with them and note any assumption inline.
- The question is truly open-ended (a name, a URL, a paragraph of context). Ask in text.

## Example

Instead of:

> Before I start, a few questions: 1. Which framework? 2. Do you want tests? 3. Deploy target?

Call the tool with three questions:

- Framework: Next.js (Recommended) / Remix / Astro
- Tests: Yes, include (Recommended) / Skip for now
- Deploy target: Vercel / Cloudflare / Self-hosted
