Step-by-step reasoning tool with revision and branching support. WHEN: Complex problem-solving requiring structured thinking, multi-step analysis, planning with room for revision, exploring alternatives. WHEN NOT: Trivial problems, single calculations, when solution is already known.
/plugin marketplace add cyrup-ai/kodegen-claude-plugin/plugin install kg@kodegenThis skill inherits all available tools. When active, it can use any tool Claude has access to.
mcp__plugin_kg_kodegen__sequential_thinking tracks your reasoning process through numbered thoughts. It supports revising earlier conclusions, branching to explore alternatives, and dynamically adjusting your plan as understanding deepens.
Required:
| Parameter | Type | Description |
|---|---|---|
thought | string | Your current thinking step |
thought_number | number | Current thought (1-based) |
total_thoughts | number | Estimated total needed |
next_thought_needed | boolean | Whether more steps needed |
Optional:
| Parameter | Type | Description |
|---|---|---|
is_revision | boolean | Marks thought as revising earlier thinking |
revises_thought | number | Which thought being reconsidered |
branch_from_thought | number | Create branch from this thought |
branch_id | string | Identifier for the branch |
needs_more_thoughts | boolean | Extend beyond total_thoughts |
// Step 1
{
"thought": "First, I need to understand the database schema",
"thought_number": 1,
"total_thoughts": 4,
"next_thought_needed": true
}
// Step 2
{
"thought": "The schema has 3 tables: users, orders, products",
"thought_number": 2,
"total_thoughts": 4,
"next_thought_needed": true
}
// Step 3
{
"thought": "The query should join users and orders on user_id",
"thought_number": 3,
"total_thoughts": 4,
"next_thought_needed": true
}
// Final step
{
"thought": "Final solution: SELECT * FROM users JOIN orders ON users.id = orders.user_id",
"thought_number": 4,
"total_thoughts": 4,
"next_thought_needed": false
}
// Initial approach
{
"thought": "I'll use a recursive algorithm",
"thought_number": 1,
"total_thoughts": 3,
"next_thought_needed": true
}
// Realize issue
{
"thought": "Wait, recursion will cause stack overflow for large inputs",
"thought_number": 2,
"total_thoughts": 4,
"next_thought_needed": true
}
// Revise approach
{
"thought": "Revising: use iterative approach with explicit stack instead",
"thought_number": 3,
"total_thoughts": 4,
"is_revision": true,
"revises_thought": 1,
"next_thought_needed": true
}
// Identify options
{
"thought": "Two approaches possible: microservices vs monolith",
"thought_number": 1,
"total_thoughts": 5,
"next_thought_needed": true
}
// Branch A
{
"thought": "Microservices: better scaling, more complexity",
"thought_number": 2,
"total_thoughts": 5,
"branch_from_thought": 1,
"branch_id": "microservices",
"next_thought_needed": true
}
// Branch B
{
"thought": "Monolith: simpler deployment, harder to scale",
"thought_number": 3,
"total_thoughts": 5,
"branch_from_thought": 1,
"branch_id": "monolith",
"next_thought_needed": true
}
// Start with estimate
{
"thought": "Initial analysis suggests 3 steps",
"thought_number": 1,
"total_thoughts": 3,
"next_thought_needed": true
}
// Realize more depth needed
{
"thought": "This is more complex, need 6 steps total",
"thought_number": 2,
"total_thoughts": 6,
"next_thought_needed": true
}
| Problem Type | Use Sequential Thinking? | Why |
|---|---|---|
| Complex algorithm design | Yes | Multi-step with revision |
| Simple file read | No | No reasoning needed |
| Architecture decisions | Yes | Branch to explore options |
| Bug investigation | Yes | Iterative hypothesis testing |
| Direct code generation | No | Just write the code |
Each call returns:
thought_number: Current positiontotal_thoughts: Estimated totalnext_thought_needed: Booleanbranches: List of branch IDsthought_history_length: Total recordedCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.