huynguyen03dev/opencode-setup/sequential-thinking
- community
Checking that the SKILL.md file is still in the repository.
Dynamic problem-solving through structured sequential thoughts. Use when breaking down complex problems, planning multi-step solutions, analyzing ambiguous requirements, debugging intricate issues, exploring design alternatives, or tackling problems where the full scope is unclear. Enables thought revision, branching, and iterative refinement.
Install
npx vskill@latest install huynguyen03dev/opencode-setup/sequential-thinkingSKILL.md
Sequential Thinking
Overview
This skill provides structured sequential thinking for complex problem-solving through a dynamic, reflective thought process. Each thought can build on, question, or revise previous insights as understanding deepens.
When to Use
- Breaking down complex problems into manageable steps
- Planning and design with room for revision
- Analysis that might need course correction
- Problems where full scope is unclear initially
- Multi-step solutions requiring maintained context
- Filtering irrelevant information from complex scenarios
- Debugging intricate issues requiring systematic exploration
Script Location
The script is located at: ~/.config/opencode/skills/sequential-thinking/scripts/sequential-thinking.ts
Use $SKILL_DIR or the full path when invoking from any directory.
Core Workflow
1. Initialize Thinking
Start a thinking sequence by estimating total thoughts needed:
2. Continue Sequence
Build on previous thoughts, adjusting estimates as needed:
3. Revise Previous Thinking
When reconsidering earlier conclusions:
4. Branch Exploration
Explore alternative approaches:
5. Complete Thinking
Conclude when solution is verified:
Key Features
- Adjustable estimates: Modify
totalThoughtsup/down as understanding evolves - Thought revision: Mark thoughts as revisions with
--is-revisionand--revises-thought - Branching: Explore alternatives with
--branch-from-thoughtand--branch-id - Non-linear thinking: Branch or backtrack as needed
- Hypothesis verification: Generate and verify solution hypotheses iteratively
Parameters Reference
| Parameter | Required | Description | |
|---|---|---|---|
--thought | Yes | Current thinking step content | |
--thought-number | Yes | Current position in sequence (1-based) | |
--total-thoughts | Yes | Estimated total thoughts (adjustable) | |
--next-thought-needed | Yes | true to continue, false to conclude | |
--is-revision | No | true if revising previous thinking | |
--revises-thought | No | Which thought number being revised | |
--branch-from-thought | No | Branching point thought number | |
--branch-id | No | Identifier for the branch | |
--needs-more-thoughts | No | Signal more thoughts needed |
Output Formats
Control output with --output flag:
text(default): Human-readable textjson: Structured JSONmarkdown: Markdown formattedraw: Raw response data
Resources
scripts/
sequential-thinking.ts- MCP server wrapper for sequential thinking (requires Bun runtime)
references/
thinking-patterns.md- Common thinking patterns and examples for various problem types
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sequential-thinking/SKILL.md
Popularity
- Repository stars
- 5
- 7-day trend score
- 9
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/huynguyen03dev/opencode-setup/sequential-thinking)