Moai workflow thinking

From modu-ai/moai-adk · View interactive version

Moai workflow thinking is an AI agent skill from the GitHub repository modu-ai/moai-adk. Sequential Thinking MCP for structured step-by-step analysis via --deepthink flag. Separate from UltraThink which is Claude's native extended reasoning mode. Use for multi-step analysis or architecture decisions.

How to use this skill

Skill file

Sequential Thinking MCP (--deepthink)

Structured step-by-step reasoning via mcp__sequential-thinking__sequentialthinking MCP tool.

CRITICAL: Three Distinct Reasoning Modes

MoAI has THREE independent deep analysis modes. They are NOT the same thing:

| Mode | Trigger | Mechanism | MCP Tool? | GLM Compatible? | Model |

|------|---------|-----------|-----------|-----------------|-------|

| --deepthink | Explicit --deepthink flag | Sequential Thinking MCP tool | YES — mcp__sequential-thinking__sequentialthinking | NO — generates server_tool_use content type | Any |

| ultrathink | Keyword or auto-detection | Claude native extended reasoning (high effort) | NO — native to Claude | YES — no special content type | Any |

| Adaptive Thinking | Automatic on Opus 4.7 | Opus 4.7's only supported thinking mode | NO — built-in | YES | Opus 4.7 only |

Rules:

Activation Triggers (--deepthink only)

Use Sequential Thinking MCP when --deepthink flag is explicitly present:

Tool Parameters

Required Parameters:

Optional Parameters:

Usage Pattern

Step 1 - Initial Analysis:

thought: "Analyzing the problem: [describe problem]"
nextThoughtNeeded: true
thoughtNumber: 1
totalThoughts: 5

Step 2 - Decomposition:

thought: "Breaking down: [sub-problems]"
nextThoughtNeeded: true
thoughtNumber: 2
totalThoughts: 5

Step 3 - Revision (if needed):

thought: "Revising thought 2: [correction]"
isRevision: true
revisesThought: 2
thoughtNumber: 3
totalThoughts: 5
nextThoughtNeeded: true

Final Step - Conclusion:

thought: "Conclusion: [final answer]"
thoughtNumber: 5
totalThoughts: 5
nextThoughtNeeded: false

Guidelines

  1. Start with reasonable totalThoughts estimate
  2. Use isRevision when correcting previous thoughts
  3. Maintain thoughtNumber sequence
  4. Set nextThoughtNeeded to false only when complete
  5. Use branching for exploring alternatives

<!-- moai:evolvable-start id="rationalizations" -->

Common Rationalizations

| Rationalization | Reality |

|---|---|

| "I can think through this without sequential thinking, it is simple" | Simple problems often hide second-order effects. Structured thinking forces you to enumerate them. |

| "The thinking steps are just internal, I do not need to record them" | Unrecorded reasoning cannot be reviewed. The chain of thoughts is evidence for the conclusion. |

| "I already know the answer, the thinking framework is overhead" | Confirmation bias skips disconfirming evidence. The framework forces you to consider alternatives. |

| "Branching is overkill for this decision" | Decisions with more than one viable path benefit from explicit branch comparison, even briefly. |

| "I will use UltraThink instead, it is the same thing" | UltraThink is native extended reasoning. Sequential Thinking is MCP-based structured analysis. They serve different purposes and have different API compatibility. |

<!-- moai:evolvable-end -->

<!-- moai:evolvable-start id="red-flags" -->

Red Flags

<!-- moai:evolvable-end -->

<!-- moai:evolvable-start id="verification" -->

Verification

<!-- moai:evolvable-end -->

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.