Agent skill
moai-workflow-thinking
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.
Install this agent skill to your Project
npx add-skill https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-workflow-thinking
Metadata
Additional technical details for this skill
- status
- active
- version
- 2.0.0
- category
- workflow
- modularized
- false
SKILL.md
Sequential 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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
moai-workflow-loop
Ralph Engine - Automated feedback loop with LSP diagnostics and AST-grep integration for continuous code quality improvement. Use when implementing error-driven development, automated fixing, or continuous quality validation workflows.
moai-foundation-core
Provides MoAI-ADK foundational principles including TRUST 5 quality framework, SPEC-First DDD methodology, delegation patterns, progressive disclosure, and agent catalog reference. Use when referencing TRUST 5 gates or SPEC workflow.
moai-lang-ruby
Ruby 3.3+ development specialist covering Rails 7.2, ActiveRecord, Hotwire/Turbo, and modern Ruby patterns. Use when developing Ruby APIs, web applications, or Rails projects.
moai-lang-elixir
Elixir 1.17+ development specialist covering Phoenix 1.7, LiveView, Ecto, and OTP patterns. Use when developing real-time applications, distributed systems, or Phoenix projects.
moai-library-nextra
Enterprise Nextra documentation framework with Next.js. Use when building documentation sites, knowledge bases, or API reference documentation.
moai-lang-rust
Rust 1.92+ development specialist covering Axum, Tokio, SQLx, and memory-safe systems programming. Use when building high-performance, memory-safe applications or WebAssembly.
Didn't find tool you were looking for?