gf-expand

Resolve ambiguous GateFlow intents via clarifying questions and structured handoff payloads.

101|13|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/codejunkie99/Gateflow-Plugin --skill gf-expand
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gf-expand
Source: https://github.com/codejunkie99/Gateflow-Plugin/tree/main/plugins/gateflow/skills/gf-expand
Command: npx skills add https://github.com/codejunkie99/Gateflow-Plugin --skill gf-expand

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GateFlow's Expand mode handles ambiguous or under-specified requests by guiding the user through concise clarifying questions, presenting trade-off options, and assembling a rich handoff context for downstream skills or agents.

Core Features & Use Cases

  • Clarification Dialogue: When intent is unclear, gf-expand prompts the user with up to 3 targeted questions using AskUserQuestion to refine the task.
  • Option Presentation: After answers, it proposes 2–3 implementation options with clear trade-offs.
  • Enriched Hand-off Context: Builds a structured context object containing original query, clarifications, selected option, resolved intent, specifications, and constraints for downstream execution.
  • Deterministic Handoff: Transfers control to the selected skill or agent with all necessary context to proceed without re-asking basic questions.
  • Use Case: A user asks to create a FIFO; gf-expand gathers interface and TB preferences, then hands off to a codegen or task agent with full context.

Quick Start

Use the expand mode to disambiguate intents before proceeding with any creation, debugging, or planning tasks. For example, when a user asks to "build a FIFO," gf-expand should ask about interface protocol, TB inclusion, and depth, then present 2-3 options and hand off to the appropriate tool.

Frequently Asked Questions about gf-expand

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clarify ambiguous user intents before passing tasks to an AI assistant?▼

Intent resolution is handled by guiding users through concise clarifying questions, presenting trade-off options, and assembling a rich handoff context for downstream skills or agents to execute deterministically.

What is the best way to disambiguate under-specified workflow requests in GateFlow?▼

The best way to disambiguate under-specified requests is to use expand mode, which prompts up to 3 targeted questions using AskUserQuestion to refine the task and then proposes 2-3 implementation options with clear trade-offs.

How do I build a structured handoff payload for downstream agent execution?▼

You build a structured handoff payload by combining the original query, user clarifications, selected option, resolved intent, specifications, and constraints into a context object that transfers control to the selected skill or agent.

Does the intent clarification process support deterministic handoffs to downstream components?▼

Yes, the intent clarification process supports deterministic handoffs by transferring control to the selected skill or agent with all necessary enriched context to proceed without re-asking basic questions.

When do I need to ask clarifying questions for design and verification tasks?▼

You need to ask clarifying questions for design and verification tasks when multiple intents share similar confidence, prompting 2-3 targeted questions to resolve the ambiguity before proceeding with creation, debugging, or planning.