flow-define

Defines requirements and scope using multi-provider AI consensus in the Double Diamond Define phase.

Updated Aug 15, 2026
One-click install
npx skills add https://github.com/GongYuanCaiJi/dsh-claude-octopus --skill flow-define-gongyuancaiji
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: flow-define
Source: https://github.com/GongYuanCaiJi/dsh-claude-octopus/tree/main/.claude/skills/flow-define
Command: npx skills add https://github.com/GongYuanCaiJi/dsh-claude-octopus --skill flow-define-gongyuancaiji

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Vague or incomplete requirements cause rework and misaligned implementations. This Skill clarifies and scopes problems by fanning the request out to multiple external AI providers (Codex, Antigravity, and others) and synthesizing their perspectives into a single consensus-driven problem definition. ## Core Features & Use Cases - Multi-Provider Requirement Analysis: Runs orchestrate.sh define to gather technical analysis from Codex and business/user analysis from Antigravity, then synthesizes results with Claude. - Structured Problem Definition: Produces core requirements (must/should/nice-to-have), technical constraints, edge cases, out-of-scope items, and a requirements checklist. - Workflow State Integration: Reads Discover-phase context, records decisions, and updates .octo/STATE.md and ROADMAP.md for downstream Develop and Deliver phases. - Use Case: Ask "Define the exact requirements for our user authentication system" and receive a consensus-backed requirements document with P0/P1/P2 priorities, constraints, and edge cases. ## Quick Start Ask the assistant to define the exact requirements and scope for your feature, for example by saying "octo define the requirements for the notification system".

Frequently Asked Questions about flow-define

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

FAQPage Schema
How do I define software requirements with multiple AI models?▼

Invoke the define workflow with a request like "octo define the requirements for X". It runs orchestrate.sh to query external providers such as Codex and Antigravity in parallel, then synthesizes their analyses into one consensus problem definition.

What is the Define phase in the Double Diamond workflow?▼

The Define phase is the second, convergent stage after Discover. It narrows broad research into specific requirements, constraints, edge cases, and out-of-scope items, producing a structured problem definition that feeds the Develop phase.

Which external providers does the define workflow use?▼

It uses Codex CLI for technical requirement analysis and Antigravity CLI for business and user-need analysis, with Claude performing the final synthesis. Provider availability is checked before execution and shown in a banner.

When should I not use the define workflow?▼

Do not use it for implementation tasks (use flow-develop), open-ended research (use flow-discover), or review and validation (use flow-deliver). It is only for clarifying and scoping requirements.

What happens if orchestrate.sh fails during requirement definition?▼

The workflow validates that a grasp-synthesis file was created. If validation fails, it reports the error and shows logs without falling back to single-model analysis, since that would defeat the multi-provider consensus goal.

How much does a multi-provider define workflow cost?▼

Typical define runs cost about $0.01-0.05 per task, since Codex uses your OpenAI API key and Antigravity uses its own auth token. Claude synthesis is included with Claude Code.