About moai-workflow-thinking
A MoAI skill for applying Sequential Thinking MCP when the explicit `--deepthink` flag is used. It distinguishes this tool-based mode from Claude’s native `ultrathink` reasoning.
Key features
- 01Explicit `--deepthink` activation
- 02Step-by-step thought sequencing
- 03Revision and branching support
- 04Separate handling of `ultrathink`
Use cases
- 01Decomposing complex problems
- 02Planning designs that may need revision
- 03Assessing architecture across multiple files
MCP support
Uses the `mcp__sequential-thinking__sequentialthinking` MCP tool for `--deepthink`; `ultrathink` instead uses Claude’s native reasoning.
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ modu-ai/ moai-adk --skill moai-workflow-thinkingAfter installing, type/moai-workflow-thinkingin Claude Code to confirm it loaded.
Details
From the project READMESequential Thinking MCP (--deepthink)
Structured step-by-step reasoning via mcp__sequential-thinking__sequentialthinking MCP tool.
CRITICAL: Two Distinct Modes
MoAI has TWO independent deep analysis modes. They are NOT the same thing:
| Mode | Trigger | Mechanism | MCP Tool? | GLM Compatible? |
|---|---|---|---|---|
--deepthink | Explicit --deepthink flag | Sequential Thinking MCP tool | YES — mcp__sequential-thinking__sequentialthinking | NO — generates server_tool_use content type |
ultrathink | Keyword or auto-detection | Claude native extended reasoning (high effort) | NO — native to Claude | YES — no special content type |
Rules:
--deepthink→ ALWAYS invoke Sequential Thinking MCP. NEVER use for native reasoning.ultrathink→ ALWAYS use Claude's native extended reasoning. NEVER invoke Sequential Thinking MCP.- They can coexist:
ultrathink --deepthinkactivates BOTH modes independently.
Activation Triggers (--deepthink only)
Use Sequential Thinking MCP when --deepthink flag is explicitly present:
- Breaking down complex problems into steps
- Planning and design with room for revision
- Architecture decisions affect 3+ files
- Technology selection between multiple options
- Performance vs maintainability trade-offs
- Breaking changes under consideration
- Multiple approaches exist to solve the same problem
- Repetitive errors occur
Tool Parameters
Required Parameters:
thought(string): Current thinking step contentnextThoughtNeeded(boolean): Whether another step is neededthoughtNumber(integer): Current thought number (starts from 1)totalThoughts(integer): Estimated total thoughts needed
Optional Parameters:
isRevision(boolean): Whether this revises previous thinkingrevisesThought(integer): Which thought is being reconsideredbranchFromThought(integer): Branching point for alternativesbranchId(string): Branch identifierneedsMoreThoughts(boolean): If more thoughts needed beyond estimate
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
- Start with reasonable totalThoughts estimate
- Use isRevision when correcting previous thoughts
- Maintain thoughtNumber sequence
- Set nextThoughtNeeded to false only when complete
- Use branching for exploring alternatives