From sequential-thinking
Enables structured step-by-step reasoning with revision and branching for complex problems, multi-stage analysis, design planning, problem decomposition, unclear scope, or alternative approaches.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sequential-thinking:sequential-thinkingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Enables structured problem-solving through iterative reasoning with revision and branching capabilities.
Enables structured problem-solving through iterative reasoning with revision and branching capabilities.
Use mcp__reasoning__sequentialthinking when:
Don't use for: Simple queries, direct facts, or single-step tasks.
The MCP tool mcp__reasoning__sequentialthinking accepts these parameters:
thought (string): Current reasoning stepnextThoughtNeeded (boolean): Whether more reasoning is neededthoughtNumber (integer): Current step number (starts at 1)totalThoughts (integer): Estimated total steps neededisRevision (boolean): Indicates this revises previous thinkingrevisesThought (integer): Which thought number is being reconsideredbranchFromThought (integer): Thought number to branch frombranchId (string): Identifier for this reasoning branch1. Start with initial thought (thoughtNumber: 1)
2. For each step:
- Express current reasoning in `thought`
- Estimate remaining work via `totalThoughts` (adjust dynamically)
- Set `nextThoughtNeeded: true` to continue
3. When reaching conclusion, set `nextThoughtNeeded: false`
// First thought
{
thought: "Problem involves optimizing database queries. Need to identify bottlenecks first.",
thoughtNumber: 1,
totalThoughts: 5,
nextThoughtNeeded: true
}
// Second thought
{
thought: "Analyzing query patterns reveals N+1 problem in user fetches.",
thoughtNumber: 2,
totalThoughts: 6, // Adjusted scope
nextThoughtNeeded: true
}
// ... continue until done
When you realize an earlier conclusion was wrong:
{
thought: "Reconsidering thought #2: The N+1 problem isn't the main bottleneck - missing index is.",
thoughtNumber: 5,
totalThoughts: 8,
nextThoughtNeeded: true,
isRevision: true,
revisesThought: 2
}
When exploring alternative approaches:
{
thought: "Branch A: What if we solve this with caching instead of query optimization?",
thoughtNumber: 6,
totalThoughts: 10,
nextThoughtNeeded: true,
branchFromThought: 3,
branchId: "caching-approach"
}
totalThoughts, refine as you progressnpx claudepluginhub secondsky/claude-skills --plugin sequential-thinkingStructured chain-of-thought problem-solving methodology for complex, multi-step reasoning. Deprecated in favor of native adaptive thinking; retained for deterministic audit/review traces.
Structures complex analysis into sequential thoughts with revisions, branching, and dynamic adjustments. Use for architecture design, bug debugging, performance optimization, security review, and refactoring.
Creates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.