antfu-query — скилл для Claude Code: что делает и как установить
Скилл antfu-query для Claude Code проводит интервью о плане, решении или идее, пока не сложится общее понимание. Он разбивает решения на ветви и задаёт вопросы раундами.
MIT 295 установок ★ 6 092 обновлён 2026-10-23
npx skills add antfu/skills --skill antfu-query -a claude-codeЧто делает antfu-query
Скилл помогает проработать план, решение или идею через последовательные вопросы. Он строит дерево решений: сначала спрашивает о тех пунктах, от которых не зависят другие, затем использует ответы, чтобы определить следующий раунд.
Вопросы задаются через интерактивный инструмент агента, с вариантами ответа и кратким описанием компромиссов. Если такого инструмента нет, скилл переключается на нумерованные вопросы в обычном тексте. Факты о проекте агент ищет сам, а решения оставляет пользователю.
Работа заканчивается, когда ветви дерева пройдены; агент кратко перечисляет согласованные решения и ждёт подтверждения, прежде чем что-либо делать.
Какие задачи решает
- проверить план на неразобранные решения
- уточнить требования к задаче
- разложить идею на связанные выборы
- выявить предположения до начала работы
Примеры запросов агенту
- Разбери мой план запуска и задавай вопросы, пока мы не согласуем решения.
- Проверь требования к этой функции: выясни, какие решения ещё не приняты.
- Поспрашивай меня о новой идее и помоги прояснить её условия.
Как установить antfu-query
1Через Skills CLI (Vercel)
npx skills add antfu/skills --skill antfu-query -a claude-code2Вручную: положить файлы
~/.claude/skills/antfu-query/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/antfu-query/
1Через Skills CLI (Vercel)
npx skills add antfu/skills --skill antfu-query -a codex2Вручную: положить файлы
.agents/skills/antfu-query/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add antfu/skills --skill antfu-query -a cursor2Вручную: положить файлы
.cursor/skills/antfu-query/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install antfu/skills skills/antfu-query2Вручную: положить файлы
.github/skills/antfu-query/SKILL.md1Через Skills CLI (Vercel)
npx skills add antfu/skills --skill antfu-query -a gemini-cli2Командой платформы
gemini skills install https://github.com/antfu/skills --path skills/antfu-queryВручную: положить файлы
.devin/skills/antfu-query/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add antfu/skills --skill antfu-query -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об antfu-query
Как установить antfu-query в Claude Code?
Выполни npx skills add antfu/skills --skill antfu-query -a claude-code. Файл скилла находится по пути ~/.claude/skills/antfu-query/SKILL.md.
Что делает antfu-query?
Он задаёт вопросы о плане, решении или идее раундами, пока пользователь и агент не придут к общему пониманию. Затем агент перечисляет принятые решения и ждёт подтверждения.
Как antfu-query задаёт вопросы?
Через интерактивный инструмент агента, предлагая конкретные варианты с описанием компромиссов. Если такого инструмента нет, он задаёт вопросы обычным текстом.
Исходный текст
SKILL.md · MIT
--- name: antfu-query description: 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". metadata: author: Anthony Fu version: "2026.10.31" source: Adapted from https://github.com/mattpocock/skills/blob/main/skills/productivity/grilling/SKILL.md --- # 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.
© Anthony Fu · MIT · antfu/skills