Generated banner for Antfu Query
Generated logo for Antfu Query

Antfu Query

Anthony FuCommunityCreated by Anthony Fu

  • Skill
  • Role or persona
  • Agent tooling
  • MIT
  • No issues found

From 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".
— the description by Anthony Fu

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The antfu-query skill provides a systematic framework for agents to interview users about their plans, decisions, or ideas. By mapping the user's intent into a design tree, the agent identifies the 'frontier' of pending decisions and uses an interactive question tool to guide the user toward a shared understanding. The process is iterative, with the agent handling factual research independently while requiring the user to make the core decisions, ensuring that no assumptions are left unverified.

What it does

  • Maps user ideas into a branching design tree of decisions.
  • Uses an interactive question tool to present structured choices to the user.
  • Identifies the current frontier of decisions that can be made immediately.
  • Automatically researches factual information to avoid bothering the user with lookups.
  • Iterates through rounds of questioning until the entire design tree is resolved.
  • Provides a final summary of all settled decisions for user confirmation.

When to use it

  • When you need to stress-test a complex plan or project idea.
  • When you are unsure about the specific requirements of a task.
  • When you want to ensure an agent fully understands your vision before it begins work.
  • When you explicitly ask the agent to 'grill' or 'query' you on a topic.

Advantages

  • Reduces ambiguity by forcing explicit decisions on every branch of a project.
  • Prevents the agent from making silent, incorrect assumptions.
  • Provides clear, recommended paths for each decision point.
  • Efficiently manages complex planning by focusing only on the current decision frontier.

Usage examples

“I have an idea for a new web app, grill me on the requirements.”
The agent will begin a structured interview, asking about your target audience, tech stack, and core features to build a comprehensive design tree.
“Query me on my migration plan for this database.”
The agent will identify the necessary steps and potential risks, presenting them as a series of interactive questions to validate your migration strategy.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/antfu/antfu-query/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip antfu-query.zip -d .agents/skills

Documentation by Anthony Fu

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.

Files

ATTRIBUTION.md

Attribution

This folder is an unmodified copy of the Agent Skill "antfu-query", distributed by AutoGineer (https://autogineer.com/agent-skills).

The skill's own files are unmodified copies. AutoGineer is not affiliated with or endorsed by the author or the publisher.

Files added by AutoGineer

  • ATTRIBUTION.md: this file, written by AutoGineer

  • LICENSE: copied from LICENSE.md

Requirements and compatibility

Written for: Claude Code

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Names Claude Code tools

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Created by
Anthony Fu
Publisher
Anthony Fu (Community)
Source
antfu/skills · skills/antfu-query · commit f63e9ec
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE.md)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Anthony Fu or Anthony Fu.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download antfu-query.zip