sequential-thinking
Skill157 starsChanged 3 months agoMITView on GitHub
Performs dynamic, reflective problem-solving through iterative thought chains. Use for complex planning requiring revision, branching, backtracking, or hypothesis verification. Ideal for multi-step analysis where context maintenance is required or the full scope isn't initially clear.
17 other projects use a version of this.
Adopted by
Most recently taken up by
- NTPhat0322/claude-skillstheir own version, first seen Sep 28, 2026
- Nova-Caelum/no-mistakestheir own version, first seen Sep 26, 2026
- comindspace/ai-nativetheir own version, first seen Sep 15, 2026
- talhaMah56/claude_skillstheir own version, first seen Sep 12, 2026
- VoDaiLocz/kilo-kit-mcptheir own version, first seen Aug 21, 2026
- Samin12/skillstheir own version, first seen Aug 14, 2026
Used with
Projects with it also use mobile-development, planning and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
truongtv22Skillmobile-development
Build modern mobile applications with React Native, Flutter, Swift/SwiftUI, and Kotlin/Jetpack Compose. Covers mobile-first design principles, performance optimization (battery, memory, network), offline-first architecture, platform-specific guidelines (iOS HIG, Material Design), testing strategies, security best practices, accessibility, app store deployment, and mobile development mindset. Use when building mobile apps, implementing mobile UX patterns, optimizing for mobile constraints, or making native vs cross-platform decisions.
Also in 3 projects that use this
AWSSkillplanning
Discovers user intent and generates a structured, step-by-step plan for model customization workflows. This skill must always be activated alongside any other skill when the user's request relates to model customization — including fine-tuning, training, building, customizing, reviewing data, or getting advice on approach, regardless of domain. Do not skip this skill even if the immediate ask is narrow (e.g., reviewing data format or a single workflow step), because planning discovers the full scope of work needed. Also activate when the user wants to resume, continue, or modify an existing plan.
Also in 3 projects that use this
DockerSkillresearch
Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".
Also in 3 projects that use this
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- mrgoonie/claudekit-skills★ 2.2ksame name
- Rune-kit/rune★ 88same name
- duongthinh03/portfolio★ 85same name
- thedotmack/sequential-thinking-skill★ 42same name
- VoDaiLocz/kilo-kit-mcp★ 27same name
- DangQuangSE/team-development-skills★ 19same name
- Samin12/skills★ 9same name
- Haaaiawd/Sequential-thinking-skills★ 6same name
- comindspace/ai-native★ 1same name
- elmaxid/sequential-thinking-skill★ 1same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository59 other files it gives its agents.
- github-pages/agents.mdAGENTS.md
- adrSkill
- agent-protocolsSkill
- angular-idiomsSkill
- api-documentationSkill
- axum-idiomsSkill
- browser-automationSkill
- chaos-testingSkill
- ci-cdSkill
- cli-developmentSkill
- code-auditSkill
- code-reviewSkill
- cpp-idiomsSkill
- csharp-idiomsSkill
- data-engineeringSkill
- debugging-protocolSkill
- django-idiomsSkill
- dotnet-idiomsSkill
- elixir-idiomsSkill
- embedded-systemsSkill
- feature-flagsSkill
- flutter-idiomsSkill
- frontend-designSkill
- git-commit-integritySkill
- go-idiomsSkill
- guardrailsSkill
- hono-idiomsSkill
- incident-responseSkill
- java-idiomsSkill
- javascript-idiomsSkill
- kotlin-idiomsSkill
- laravel-idiomsSkill
- logging-implementationSkill
- ml-engineeringSkill
- mobile-designSkill
- mobile-testingSkill
- nextjs-idiomsSkill
- parallel-dispatchSkill
- payment-integrationSkill
- perf-optimizationSkill
- php-idiomsSkill
- postgres-idiomsSkill
- python-idiomsSkill
- rails-idiomsSkill
- react-idiomsSkill
- refactoring-patternsSkill
- research-methodologySkill
- ruby-idiomsSkill
- rust-idiomsSkill
- security-auditSkill
- spring-boot-idiomsSkill
- sql-idiomsSkill
- structured-specSkill
- supply-chain-securitySkill
- swift-idiomsSkill
- testability-patternsSkill
- testing-strategySkill
- typescript-idiomsSkill
- vue-idiomsSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 8 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Initial estimation: Start with an estimate of thoughts needed, but remain flexible
- Distinctive: line 60
Don't hesitate to revise if you spot errors or better approaches
- Distinctive: line 64
When reconsidering previous thinking:
- Distinctive: line 78
Verify against previous thought chain
- Distinctive: line 79
If verification fails, revise or branch
- Very specific: line 83
Only set nextThoughtNeeded: False when truly satisfied with the solution
- Distinctive: line 85
Ensure the answer directly addresses the original problem
- Distinctive: line 100
If a thought becomes too complex, break it into multiple thoughts
- Distinctive: line 102
Keep each individual thought focused
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Sequential Thinking
A structured approach to complex problem-solving that breaks down challenges into iterative thought steps with built-in flexibility for revision and course correction.
When to Use This Skill
- Breaking down complex problems into manageable steps
- Planning and design requiring iterative refinement
- Analysis that might need course correction mid-stream
- Problems where the full scope emerges during analysis
- Multi-step solutions requiring context across steps
- Filtering out irrelevant information
- Hypothesis generation and verification workflows
Core Methodology
Sequential thinking follows a dynamic process:
- Initial estimation: Start with an estimate of thoughts needed, but remain flexible
- Iterative analysis: Work through thoughts sequentially while building context
- Revision capability: Question or revise previous thoughts as understanding deepens
- Branch exploration: Explore alternative approaches when needed
- Hypothesis cycle: Generate hypotheses, verify against thought chain, repeat
- Convergence: Continue until reaching a satisfactory solution
Instructions
Thought Structure
Each thought in the sequence should include:
- thought: Current thinking step content
- thoughtNumber: Position in sequence (1, 2, 3, ...)
- totalThoughts: Current estimate of total thoughts needed (adjustable)
- nextThoughtNeeded: Whether another thought step is required
Optional revision/branching metadata:
- isRevision: Boolean indicating if reconsidering previous thinking
- revisesThought: Which thought number is being revised
- branchFromThought: Branching point thought number
- branchId: Identifier for current branch
- needsMoreThoughts: Flag when reaching end but requiring more analysis
Process Guidelines
Starting out:
- Estimate initial thoughts needed based on problem complexity
- Begin with thought 1, establishing context and approach
- Set totalThoughts conservatively; you can adjust later
During analysis:
- Build on previous thoughts while maintaining context
- Filter out irrelevant information at each step
- Express uncertainty when present
- Don't hesitate to revise if you spot errors or better approaches
- Adjust totalThoughts up/down as the problem's scope becomes clearer
Revision pattern: When reconsidering previous thinking:
{
"thought": "On reflection, thought 3's assumption about X was incorrect because Y...",
"thoughtNumber": 6,
"totalThoughts": 10,
"isRevision": True,
"revisesThought": 3,
"nextThoughtNeeded": True
}Hypothesis cycle:
- Generate hypothesis based on current understanding
- Verify against previous thought chain
- If verification fails, revise or branch
- Repeat until hypothesis is validated
Completion:
- Only set
nextThoughtNeeded: Falsewhen truly satisfied with the solution - Provide a single, clear final answer
- Ensure the answer directly addresses the original problem
Working with Context
Maintain continuity:
- Reference specific previous thoughts by number
- Build logical connections between thoughts
- Track which thoughts are still valid vs. revised
Filter information:
- Ignore details irrelevant to current thought step
- Focus on information that advances understanding
- Re-evaluate relevance as context evolves
Manage complexity:
- If a thought becomes too complex, break it into multiple thoughts
- Increase totalThoughts estimate accordingly
- Keep each individual thought focused
Output Format
Present your sequential thinking in a structured format:
Thought [N/Total]: [Current thought content]
[If revision: "This revises thought X because..."]
[If branching: "Branching from thought X to explore..."]
[Continue with next thought when nextThoughtNeeded is True]
Final output after all thoughts complete:
Solution: [Clear, direct answer to the original problem]
Examples
For concrete examples of sequential thinking in action, see resources/examples.md.
Key Principles
- Flexibility over rigidity: Adjust your approach as understanding deepens
- Revision is strength: Correcting course shows good reasoning
- Hypothesis-driven: Generate and test hypotheses iteratively
- Context-aware: Maintain awareness of previous thoughts while progressing
- Clarity at completion: Deliver a single, clear final answer
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

