Agent skill · research science · samhvw8

sequential-thinking

Structured reflective problem-solving methodology. Process: decompose, analyze, hypothesize, verify, revise. Capabilities: complex problem decomposition, adaptive planning, course correction, hypothesis verification, multi-step analysis. Actions: decompose, analyze, plan, revise, verify solutions step-by-step. Keywords: sequential thinking, problem decomposition, multi-step analysis, hypothesis verification, adaptive planning, course correction, reflective thinking, step-by-step, thought sequence, dynamic adjustment, unclear scope, complex problem, structured analysis. Use when: decomposing complex problems, planning with revision capability, analyzing unclear scope, verifying hypotheses, needing course correction, solving multi-step problems.

Why this skill is useful

Provides a structured methodology for complex problem decomposition and hypothesis verification that the AI wouldn't reliably generate on its own.

What it needs

Requires scripts/format-thought.js, scripts/process-thought.js installed locally. About 2k tokens when loaded. Last updated 2025-12-09. 10 stars on the source repository.

What this skill does

Sequential Thinking Structured problem-solving via manageable, reflective thought sequences with dynamic adjustment. When to Apply Complex problem decomposition Adaptive planning with revision capability Analysis needing course correction Problems with unclear/emerging scope Multi-step solutions requiring context maintenance Hypothesis-driven investigation/debugging Core Process 1. Start with Loose Estimate Adjust dynamically as understanding evolves. 2. Structure Each Thought Build on previous context explicitly Address one aspect per thought State assumptions, uncertainties, realizations Signal what next thought should address 3. Apply Dynamic Adjustment Expand: More complexity discovered → increase total Contract: Simpler than expected → decrease total Revise: New insight invalidates previous → mark revision Branch: Multiple approaches → explore alternatives 4. Use Revision When Needed 5. Branch for Alternatives Compare explicitly, converge with decision rationale. 6. Generate & Verify Hypotheses Iterate until hypothesis verified. 7. Complete Only When Ready Mark final: Thought N/N [FINAL] Complete when: Solution verified All critical aspects addressed Confidence achieved No outstanding uncertainties Application Modes Explicit: Use visible thought markers when complexity warrants visible reasoning or user requests breakdown. Implicit: Apply methodology internally for routine problem-solving where thinking aids accuracy without cluttering response. Scripts (Optional) Optional scripts for deterministic validation/tracking: scripts/process-thought.js - Validate & track thoughts with history scripts/format-thought.js - Format for display (box/markdown/simple) See README.md for usage examples. Use when validation/persistence needed; otherwise apply methodology directly. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills samhvw8/sequential-thinking

View the source on GitHub

Browse the @skills marketplace