agentleFS
Codagent-AICodagent-AI/agent-skills/skills/ask-questions/SKILL.md

ask-questions

Skill31 starsChanged 6 months agoMITView on GitHub

How to ask users questions interactively: which tool to use, how to batch questions, and when to ask serially. Follow this skill when asking clarifying questions, requesting confirmation, collecting missing requirements, or pausing for user input. Invoked by other skills rather than directly by the user.

We split this skill into the rules it gives an agent

5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask only for decisions that materially affect behavior, scope, architecture, risk, sequencing, or acceptance.

    line 12
  2. Distinctive:

    Use the runtime's dedicated input tool when one is available.

    line 19
  3. Distinctive:

    Use bounded options when the choice space is genuinely bounded.

    line 29
  4. Distinctive:

    Keep one decision per question.

    line 31
  5. Distinctive:

    Do not ask the user to choose among raw, unevaluated implementation options or present an artifact for approval while known high-impact …

    line 37

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Ask Questions

Ask only for decisions that materially affect behavior, scope, architecture, risk, sequencing, or acceptance. First inspect the repository, documentation, configuration, prior artifacts, and conversation so the user is not asked for discoverable facts. Decide low-risk implementation details from context.

Ask and wait

Use the runtime's dedicated input tool when one is available. Otherwise ask directly in an interactive chat and end the turn. In a headless session, report the unresolved decision or follow the caller's explicit fallback. Never continue past a question by inventing the user's answer.

Batch two to four related, independent questions by default. Ask serially when one answer determines the next question, the question is an approval gate, or the caller requires one-at-a-time discovery.

Write useful questions

  • Explain enough context and impact for the user to decide without reopening source files.
  • Use bounded options when the choice space is genuinely bounded; use open-ended questions otherwise.
  • Recommend a path and briefly state the trade-off.
  • Keep one decision per question.
  • Distinguish discovery from approval. A generic “does this look right?” is not a substitute for resolving material behavior, boundaries, failure cases, trade-offs, or task grouping.
  • At an approval gate, mention consequential defaults or assumptions you selected from context so the user can correct them; omit routine details.

Do not ask the user to choose among raw, unevaluated implementation options or present an artifact for approval while known high-impact ambiguity remains.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.