Skip to main content

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".

  • New
  • v1.0.0
  • No reviews yet

Capabilities

  • Ask With the Question Tool

    Put every question to the user through the agent's interactive…

  • Rounds

    Work the tree in rounds

  • Facts vs Decisions

    Finding facts is your job, never the user's

  • Done

    The session is done when the frontier is empty: every branch of the…

Getting started

Full instructions

Install the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.

Instructions: SKILL.mdv1.0.0

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.

Explore more skills

Browse all
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

More from antfu Skills

View source →

Frequently asked questions about antfu-query

What does the antfu-query skill do?

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". It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the antfu-query skill?

Run `npx @skills-hub-ai/cli install antfu-query` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/antfu-query/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does antfu-query work with?

antfu-query runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the antfu-query skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use antfu-query after installing it?

In Claude Code, type `/antfu-query` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the antfu-query skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.

Badge for your README

Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/antfu-query)](https://skills-hub.ai/skills/antfu-query)
HTML
<a href="https://skills-hub.ai/skills/antfu-query"><img src="https://skills-hub.ai/api/badges/skill/antfu-query" alt="Install on Skills Hub"></a>

More options in the badge docs.