Skip to content
Skillpedia
Tasks & projects6.0k · #14437

antfu-query

What it does

This skill has your AI interview you about a plan, decision or idea with focused questions. It is for people who want their thinking tested before they act.

When to use it

  • ✓When you have a plan and want it challenged with hard questions.
  • ✓When your requirements feel vague and you want them made clear.
  • ✓When you want to stress-test a decision before committing to it.

Skill link

https://github.com/antfu/skills/blob/main/skills/antfu-query/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/antfu/skills/blob/main/skills/antfu-query/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Grill me on my plan to launch a small online shop, and ask me questions until we agree on the details.”

5 new skills a week. 1 minute to read.

How it works

The agent maps out the decisions in your idea and asks questions in rounds, with clear options and its recommended answer. It moves on as your answers settle each part.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Query

Interview the user relentlessly until you reach a shared understanding. Map this as a design tree: every decision branches into the decisions that hang off it.

Ask With the Question Tool

Put every question to the user through the agent's interactive question tool (for example AskUserQuestion in Claude Code, or the equivalent in other agents; load it first if it is deferred). Do not write questions as plain text in the reply.

  • Give each question 2-4 distinct, concrete options with a short description of the trade-off.
  • Put your recommended answer first and mark it (Recommended), so picking it accepts your recommendation. The tool adds an "Other" option for free-form answers; do not add one.
  • Keep headers short. Use multi-select only when the options are not mutually exclusive.
  • Batch the whole frontier into one call, up to the tool's limit per call (4 in Claude Code). If the frontier is larger, ask the most blocking questions first and the rest next round.
  • If the agent has no question tool, fall back to plain text: number the questions, list the options, and state your recommended answer for each.

Rounds

Work the tree in rounds. The frontier is every decision whose prerequisites are already settled: the questions you can ask now without guessing at answers you have not heard yet. Ask the whole frontier in one round, then wait for the answers before the next round.

  • Each answered round reshapes the tree: settled decisions push the frontier outward and unblock questions that depended on them. Recompute the frontier and ask the next round.
  • A question whose answer depends on another question still open in this round belongs to a later round.
  • Word each question so the recommended option is the natural "yes".
  • Use the user's free-form "Other" answers and notes as new input: they may add or remove branches.

Facts vs Decisions

Finding facts is your job, never the user's. When a question needs a fact from the environment (files, code, tools, docs), look it up yourself or dispatch a sub-agent with a fresh context window. Do not ask the user for anything you could look up.

Do not block on it: a running exploration is an unsettled prerequisite, so only the questions downstream of it wait. Ask the rest of the frontier now. The decisions are the user's: put each to them and wait.

Done

The session is done when the frontier is empty: every branch of the design tree visited, nothing left silently assumed. Summarize the settled decisions in a short list and do not act on them until the user confirms you have reached a shared understanding.

FAQ

Will the questions come as plain text?

The agent asks through its question tool when it has one, with short options to pick from.

Can I give my own answer?

Yes. Each question also allows a free-form reply instead of one of the options.

Is this useful for small decisions?

It works best on plans with several linked parts, where one choice affects the others.

Details

Original description by the author

Interview the user relentlessly about a plan, decision, or idea until reaching a shared understanding, using the agent's interactive question tool (not plain text). Use when the user wants to stress-test their thinking, clarify requirements, or says "grill me" or "query me".

repo: antfu/skills

Popularity

GitHub stars
6.0k
Ranking position
#14437
License
MIT
Updated
10/30/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills