Loading...
Loading...
Dynamic, reflective problem-solving through structured sequential thoughts with support for branching, revision, and adaptive depth. Use this skill when: (1) Breaking down complex problems into steps, (2) Planning and design with room for revision, (3) Analysis that might need course correction, (4) Problems where the full scope is not clear initially, (5) Multi-step solutions requiring maintained context, (6) Situations where irrelevant information must be filtered out, (7) Any task benefiting from hypothesis generation, verification, and iterative refinement. Triggers: think through, step by step, break this down, sequential thinking, reason through, analyze step by step, think carefully, or when a problem clearly benefits from structured multi-step reasoning.
npx skill4agent add thedotmack/sequential-thinking-skill sequential-thinkingscripts/think.tsthoughtNumbernextThoughtNeeded falsescripts/think.tsbunbun scripts/think.ts --reset--thought--thoughtNumber--totalThoughts--nextThoughtNeededbun scripts/think.ts \
--thought "Your analysis for this step" \
--thoughtNumber 1 \
--totalThoughts 5 \
--nextThoughtNeeded true--isRevision--revisesThoughtbun scripts/think.ts \
--thought "Corrected analysis" \
--thoughtNumber 3 \
--totalThoughts 5 \
--nextThoughtNeeded true \
--isRevision --revisesThought 1--branchFromThought--branchIdbun scripts/think.ts \
--thought "Alternative approach" \
--thoughtNumber 4 \
--totalThoughts 7 \
--nextThoughtNeeded true \
--branchFromThought 2 --branchId alt-approachbun scripts/think.ts \
--thought "Scope is larger than expected" \
--thoughtNumber 6 \
--totalThoughts 8 \
--nextThoughtNeeded true \
--needsMoreThoughtsbun scripts/think.ts --statusfullHistorybranchDetails💭 Thought 3/7
The analysis shows that...
[3/7] history=3 next=true🔄 Revision🌿 Branch| Parameter | Type | Required | Description |
|---|---|---|---|
| string | yes | The content of this thinking step |
| int >= 1 | yes | Current thought number in the sequence |
| int >= 1 | yes | Estimated total thoughts needed (adjustable) |
| bool | yes | |
| flag | no | Marks this thought as revising a previous one |
| int >= 1 | no | Which thought number is being revised (required with |
| int >= 1 | no | Create a branch starting from this thought number |
| string | no | Label for the branch (required with |
| flag | no | Signal that |
totalThoughtsthoughtNumbertotalThoughtstotalThoughts--isRevision--revisesThought N--branchFromThought N--branchId label--needsMoreThoughts--totalThoughts--nextThoughtNeeded falsescripts/.think_state.jsonthoughtHistory[]branches{}--reset--status