Agent skill

Sequential Thinking

by secondsky in secondsky/claude-skills

Systematic step-by-step reasoning with revision and branching.

MITAuto-check passed

Install Sequential Thinking

skills CLI
$ npx skills add secondsky/claude-skills --skill sequential-thinking -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install secondsky/claude-skills sequential-thinking --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/secondsky/claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/sequential-thinking/skills/sequential-thinking .claude/skills/sequential-thinking && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sequential-thinking
GitHub stars
227
Used in
1 other repo
Token cost
~881 tokens
SKILL.md length
236 words
Files
1
Skills in repo
169
Repo updated
First seen
Licence
MIT

At a glance

Systematic step-by-step reasoning with revision and branching.

  • Complex problems
  • SKILL.md covers Core Capabilities, When to Use, Basic Usage and Workflow Pattern, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Multi-stage analysis

What it does

Sequential Thinking is an agent skill from secondsky/claude-skills. Systematic step-by-step reasoning with revision and branching. Use for complex problems, multi-stage analysis, design planning, problem decomposition, or encountering unclear scope, alternative approaches needed, revision requirements.

Its SKILL.md is about 880 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Production-ready skills for Claude Code CLI - Cloudflare, React, Tailwind v4, and AI integrations. The licence is MIT.

When your agent uses it

  • Complex problems
  • Multi-stage analysis
  • Design planning
  • Problem decomposition

Example prompts

  • “/sequential-thinking”

What it can do on your machine

Read from SKILL.md and the folder at commit 8837836. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sequential Thinking loads about 881 tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 236 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~64
When it runs · the whole SKILL.md, loaded when a task matches
~881

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from secondsky/claude-skills at commit 8837836, republished under its MIT licence (© secondsky). 236 words, ~881 tokens.

Download SKILL.mdSave it as .claude/skills/sequential-thinking/SKILL.md (or your agent's skills folder).
name
sequential-thinking
description
Systematic step-by-step reasoning with revision and branching. Use for complex problems, multi-stage analysis, design planning, problem decomposition, or encountering unclear scope, alternative approaches needed, revision requirements.
license
MIT

Sequential Thinking

Enables structured problem-solving through iterative reasoning with revision and branching capabilities.

Core Capabilities

  • Iterative reasoning: Break complex problems into sequential thought steps
  • Dynamic scope: Adjust total thought count as understanding evolves
  • Revision tracking: Reconsider and modify previous conclusions
  • Branch exploration: Explore alternative reasoning paths from any point
  • Maintained context: Keep track of reasoning chain throughout analysis

When to Use

Use mcp__reasoning__sequentialthinking when:

  • Problem requires multiple interconnected reasoning steps
  • Initial scope or approach is uncertain
  • Need to filter through complexity to find core issues
  • May need to backtrack or revise earlier conclusions
  • Want to explore alternative solution paths

Don't use for: Simple queries, direct facts, or single-step tasks.

Basic Usage

The MCP tool mcp__reasoning__sequentialthinking accepts these parameters:

Required Parameters
  • thought (string): Current reasoning step
  • nextThoughtNeeded (boolean): Whether more reasoning is needed
  • thoughtNumber (integer): Current step number (starts at 1)
  • totalThoughts (integer): Estimated total steps needed
Optional Parameters
  • isRevision (boolean): Indicates this revises previous thinking
  • revisesThought (integer): Which thought number is being reconsidered
  • branchFromThought (integer): Thought number to branch from
  • branchId (string): Identifier for this reasoning branch

Workflow Pattern

1. Start with initial thought (thoughtNumber: 1)
2. For each step:
   - Express current reasoning in `thought`
   - Estimate remaining work via `totalThoughts` (adjust dynamically)
   - Set `nextThoughtNeeded: true` to continue
3. When reaching conclusion, set `nextThoughtNeeded: false`

Simple Example

typescript
// First thought
{
  thought: "Problem involves optimizing database queries. Need to identify bottlenecks first.",
  thoughtNumber: 1,
  totalThoughts: 5,
  nextThoughtNeeded: true
}

// Second thought
{
  thought: "Analyzing query patterns reveals N+1 problem in user fetches.",
  thoughtNumber: 2,
  totalThoughts: 6, // Adjusted scope
  nextThoughtNeeded: true
}

// ... continue until done

Advanced Features

Revision Pattern

When you realize an earlier conclusion was wrong:

typescript
{
  thought: "Reconsidering thought #2: The N+1 problem isn't the main bottleneck - missing index is.",
  thoughtNumber: 5,
  totalThoughts: 8,
  nextThoughtNeeded: true,
  isRevision: true,
  revisesThought: 2
}
Branching Pattern

When exploring alternative approaches:

typescript
{
  thought: "Branch A: What if we solve this with caching instead of query optimization?",
  thoughtNumber: 6,
  totalThoughts: 10,
  nextThoughtNeeded: true,
  branchFromThought: 3,
  branchId: "caching-approach"
}

Tips

  • Start with rough estimate for totalThoughts, refine as you progress
  • Use revision when assumptions prove incorrect
  • Branch when multiple approaches seem viable
  • Express uncertainty explicitly in thoughts
  • Adjust scope freely - accuracy matters less than progress visibility

© secondsky, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/sequential-thinking/skills/sequential-thinking of secondsky/claude-skills.

Open the folder on GitHubat commit 8837836

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in secondsky/claude-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Sequential Thinking next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sequential Thinking compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sequential Thinking this skillsecondsky/claude-skills2271 repos~881Automated safety check: PassMIT
Sequential ThinkingMicrock/ordinary-claude-skills4011 repos~793Automated safety check: PassMIT
Vc Sequential Thinkingwithkynam/vibecode-pro-max-kit1.1k2 repos~854Automated safety check: PassMIT
Deepseek Reasonruvnet/ruflo74k—~626Automated safety check: NotesMIT
Branchesredis/RedisInsight8.9k—~409Automated safety check: PassCustom licence
Conventional Branchgithub/awesome-copilot40k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Sequential Thinking

    Microck/ordinary-claude-skills

    A skill your agent uses when complex problems require systematic step-by-step reasoning with ability to revise thoughts, branch into alternative approaches, or dynamically adjust scope.

    401 GitHub starsUsed in 1 repo~793 tokens
    Auto-check passed
  • Vc Sequential Thinking

    withkynam/vibecode-pro-max-kit

    Apply step-by-step analysis for complex problems with revision capability.

    1.1k GitHub starsUsed in 2 repos~854 tokens
    DevelopmentAuto-check passed
  • Deepseek Reason

    ruvnet/ruflo

    Reasoning-mode completion against DeepSeek's deepseek-reasoner model (R1) via /v1/chat/completions.

    74k GitHub stars~626 tokensUpdated today
    AI & LLM EngineeringAuto-check: notes
  • Branches

    redis/RedisInsight

    Official

    Create and name git branches following project conventions. An agent skill from redis/RedisInsight.

    8.9k GitHub stars~409 tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Conventional Branch

    github/awesome-copilot

    Official

    Create Git branches following the Conventional Branch specification (feature/, bugfix/, hotfix/, release/, chore/).

    40k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed

More from secondsky/claude-skills

All 169 skills in this repo
  • Tanstack AI

    secondsky/claude-skills

    TanStack AI (alpha) provider-agnostic type-safe chat with streaming for OpenAI, Anthropic, Gemini, Ollama.

    227 GitHub starsUsed in 1 repo~3.6k tokens
    Auto-check: notes
  • Auto Animate

    secondsky/claude-skills

    AutoAnimate (@formkit/auto-animate) zero-config animations for React.

    227 GitHub stars~2.9k tokensUpdated 9 days ago
    Auto-check passed
  • Base UI React

    secondsky/claude-skills

    MUI Base UI unstyled React components with Floating UI. An agent skill from secondsky/claude-skills.

    227 GitHub stars~1.9k tokensUpdated 9 days ago
    Auto-check passed
  • Cloudflare Images

    secondsky/claude-skills

    This skill should be used when the user asks to "upload images to Cloudflare", "implement direct creator upload", "configure image transformations", "optimize WebP/AVIF", "create image variants"…

    227 GitHub stars~3.6k tokensUpdated 9 days ago
    Auto-check: notes
  • Cloudflare Nextjs

    secondsky/claude-skills

    Deploy Next.js to Cloudflare Workers via the OpenNext adapter (@opennextjs/cloudflare).

    227 GitHub stars~5.3k tokensUpdated 9 days ago
    Auto-check: notes
  • Cloudflare Sandbox

    secondsky/claude-skills

    Cloudflare Sandboxes SDK for secure code execution in Linux containers at edge.

    227 GitHub stars~4.5k tokensUpdated 9 days ago
    Auto-check passed

Questions about Sequential Thinking

What does Sequential Thinking do?

Systematic step-by-step reasoning with revision and branching. Sequential Thinking is an agent skill from secondsky/claude-skills. Systematic step-by-step reasoning with revision and branching.

When should I use Sequential Thinking?

Sequential Thinking fits situations like: complex problems; multi-stage analysis; design planning; problem decomposition.

How do I install Sequential Thinking in Claude Code?

Run `npx skills add secondsky/claude-skills --skill sequential-thinking -a claude-code`. Or copy the skill folder (plugins/sequential-thinking/skills/sequential-thinking in secondsky/claude-skills) into .claude/skills/sequential-thinking in your project. Claude Code loads it when a task matches its description.

How do I install Sequential Thinking in Codex?

Run `npx skills add secondsky/claude-skills --skill sequential-thinking -a codex`. Or copy the skill folder (plugins/sequential-thinking/skills/sequential-thinking in secondsky/claude-skills) into .agents/skills/sequential-thinking in your project. Codex loads it when a task matches its description.

Can I use Sequential Thinking in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add secondsky/claude-skills --skill sequential-thinking -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sequential-thinking, .gemini/skills/sequential-thinking, .github/skills/sequential-thinking and .opencode/skills/sequential-thinking in your project.

What does Sequential Thinking need to run?

SKILL.md names no scripts, command-line tools or credentials: Sequential Thinking is instructions for the agent only.

Does Sequential Thinking access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Sequential Thinking safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Sequential Thinking use?

Sequential Thinking is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Sequential Thinking use?

About 881 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Sequential Thinking?

Skills that share tags, products or a category with Sequential Thinking: Sequential Thinking (Microck/ordinary-claude-skills, 401 stars), Vc Sequential Thinking (withkynam/vibecode-pro-max-kit, 1.1k stars), Deepseek Reason (ruvnet/ruflo, 74k stars) and Branches (redis/RedisInsight, 8.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sequential Thinking?

secondsky (a GitHub user) maintains it in secondsky/claude-skills, which has 227 GitHub stars. The repository holds 169 skills in this directory. The repository was last updated on September 28, 2026.

Source: secondsky/claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.