Token导航 LogoToken导航TokenDH.com
待分类external-servicegithub未标认证来源可访问许可证需确认审计通过

sequential-thinking顺序思维

Agent Skill

sequential-thinking 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,608

周安装

67

GitHub Stars

25

下载量

536
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sequential-thinking(顺序思维)
来源仓库:https://github.com/oimiragieo/agent-studio
仓库路径:skills/sequential-thinking
安装命令:
npx skills add https://github.com/oimiragieo/agent-studio --skill sequential-thinking
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/oimiragieo/agent-studio --skill sequential-thinking

简介

sequential-thinking 用于处理 GitHub 仓库、Issue 和 Pull Request 信息。

  • 适用于代码协作、变更跟踪和仓库状态管理。
  • 通过 npx skills add 命令从 GitHub 仓库安装并使用。
  • 安装前需确认权限范围和是否触发网络请求。
  • 建议结合原始 README 核验具体集成方式。

SKILL.md

Sequential Thinking Skill

Installation

Optional standalone executor: The skill can run .claude/tools/optimization/sequential-thinking/executor.py. Requirements:

  • Python 3.10+: python.org or winget install Python.Python.3.12 (Windows), brew install python@3.12 (macOS).
  • MCP Python package: pip install mcp
  • If the executor is not present or MCP is not installed, the skill still provides in-context guidance and exits successfully.

Full functionality: The Python script .claude/tools/optimization/sequential-thinking/executor.py must exist for standalone executor runs. Run node.claude/tools/cli/doctor.mjs to verify; doctor warns if the executor is missing.

Cheat Sheet & Best Practices

Frameworks: Polya: (1) Understand the problem (2) Devise a plan (3) Carry out the plan (4) Look back. IDEAL: Identify → Define context → Explore strategies → Act on best → Look back and learn.

Process: Be systematic: preview outcomes, sustain effort, examine from multiple angles, pace and self-monitor. Use diagrams, tables, patterns; break into subgoals; work backwards when useful.

Hacks: Number thoughts (thoughtNumber, totalThoughts); allow revision and branching. Start with an initial step count and refine. Use the MCP sequential-thinking tool for multi-step analysis and hypothesis verification when the full scope is unclear.

Certifications & Training

No cert. Problem-solving frameworks: Polya (Understand → Plan → Execute → Look back), IDEAL (Identify → Define → Explore → Act → Look back). Skill data: Systematic steps; preview outcomes; sustain effort; revise and branch; use diagrams/tables/patterns.

Hooks & Workflows

Suggested hooks: Optional: pre-plan or pre-complex-task hook to suggest sequential-thinking for multi-step tasks. Use with planner (primary) for planning and master-orchestrator when decomposing work.

Workflows: Use with planner (primary). Flow: complex task → load sequential-thinking → emit thoughts (MCP or executor) → revise → act. See core/router-decision for when router assigns planner.

Overview

This skill provides structured problem-solving through a flexible thinking process that can adapt and evolve. Each thought can build on, question, or revise previous insights.

Context Savings: ~97% reduction

  • MCP Mode: ~15,000 tokens always loaded
  • Skill Mode: ~500 tokens metadata + on-demand loading

When to Use

  • Breaking down complex problems into steps
  • Planning and design with room for revision
  • Analysis that might need course correction
  • Problems where the full scope isn't clear initially
  • Multi-step solutions requiring maintained context
  • Filtering irrelevant information
  • Hypothesis generation and verification

Quick Reference

Use the MCP sequential thinking tool directly:

// Via MCP tool
mcp__sequential -
  thinking__sequentialthinking({
    thought: 'First, let me analyze the problem...',
    thoughtNumber: 1,
    totalThoughts: 5,
    nextThoughtNeeded: true,
  });

Tool: sequentialthinking

A detailed tool for dynamic and reflective problem-solving through thoughts.

Parameters

ParameterTypeDescription
thoughtstringYour current thinking step
thoughtNumberintegerCurrent thought number (1, 2, 3...)
totalThoughtsintegerEstimated total thoughts needed
nextThoughtNeededbooleanWhether another thought step is needed
isRevisionbooleanIf this thought revises previous thinking
revisesThoughtintegerWhich thought number is being reconsidered
branchFromThoughtintegerBranching point thought number
branchIdstringIdentifier for current branch
needsMoreThoughtsbooleanIf more thoughts needed at the "end"

Key Features

  • Adjust totalThoughts up or down as you progress
  • Question or revise previous thoughts
  • Add more thoughts even after reaching what seemed like the end
  • Express uncertainty and explore alternatives
  • Branch or backtrack (non-linear thinking)
  • Generate and verify solution hypotheses

Process

  1. Start with initial estimate of needed thoughts
  2. Feel free to question/revise previous thoughts
  3. Add more thoughts if needed, even at the "end"
  4. Mark thoughts that revise or branch
  5. Generate solution hypothesis when appropriate
  6. Verify hypothesis based on Chain of Thought
  7. Repeat until satisfied
  8. Set nextThoughtNeeded: false only when truly done

Tool Execution

The sequential thinking tool is available via MCP. Use it directly in your responses:

// Execute a thinking step
mcp__sequential -
  thinking__sequentialthinking({
    thought: 'Your analysis here...',
    thoughtNumber: 1,
    totalThoughts: 5,
    nextThoughtNeeded: true,
  });

Configuration

MCP server configuration stored in config.json:

  • Command: npx -y @modelcontextprotocol/server-sequential-thinking

Related

  • Original MCP server: @modelcontextprotocol/server-sequential-thinking
  • MCP Converter Skill: .claude/skills/mcp-converter/

Iron Laws

  1. NEVER set nextThoughtNeeded: false before the solution hypothesis has been verified
  2. ALWAYS adjust totalThoughts dynamically as problem complexity becomes clear
  3. NEVER commit to the first approach without exploring at least one alternative via branching
  4. ALWAYS mark corrections explicitly with isRevision: true and revisesThought: N
  5. NEVER stop at the estimated thought count if the hypothesis remains unverified

Anti-Patterns

Anti-PatternWhy It FailsCorrect Approach
Fixed thought countThinking stops at an arbitrary estimate regardless of solution confidenceSet needsMoreThoughts: true and increase totalThoughts when complexity grows
No branchingCommits to the first approach without considering alternativesUse branchFromThought to explore multiple solution paths before choosing
Skipping revisionsIncorrect assumptions propagate uncorrected through downstream thoughtsMark all corrections with isRevision: true and revisesThought: N
Premature terminationUnverified hypothesis leads to incorrect or incomplete solutionsVerify the hypothesis explicitly before setting nextThoughtNeeded: false
No uncertainty markersOverconfident conclusions mislead execution agentsMark tentative thoughts explicitly; distinguish confident vs uncertain reasoning

Memory Protocol (MANDATORY)

Before starting: Read .claude/context/memory/learnings.md

After completing:

  • New pattern -> .claude/context/memory/learnings.md
  • Issue found -> .claude/context/memory/issues.md
  • Decision made -> .claude/context/memory/decisions.md
ASSUME INTERRUPTION: If it's not in memory, it didn't happen.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.94%
按下载量换算198

Claude

29.6%
按下载量换算159

Cursor

17.46%
按下载量换算94

Gemini CLI

9.76%
按下载量换算52

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills