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

sequential-thinking顺序思维

Agent Skill

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

总安装

1,728

周安装

72

GitHub Stars

11

下载量

576
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/thedotmack/sequential-thinking-skill --skill sequential-thinking

简介

sequential-thinking 用于处理 GitHub 仓库、Issue 和 Pull Request 协作信息,适合复杂问题拆解。

  • 它可围绕仓库状态和协作事项进行结构化整理,支持多宿主环境集成。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用该技能。
  • 需确认权限范围和维护状态,避免触发不必要的命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Sequential Thinking

A tool for dynamic, reflective problem-solving through a chain of numbered thoughts. Full parity with the Sequential Thinking MCP server — same parameters, same state management, same behavioral contract.

How to Use This Skill

When this skill is activated, use scripts/think.ts as your primary reasoning mechanism. Do not reason in prose — reason through the script. Every step of your analysis should be a thought submitted via the script, making your reasoning chain explicit and trackable.

Workflow

  1. Reset state at the start of every new thinking session
  2. Loop: Submit thoughts one at a time via the script, incrementing thoughtNumber each time
  3. Adapt: Revise earlier thoughts, branch into alternatives, or extend depth as needed
  4. Terminate: Set nextThoughtNeeded false only when you have a confident final answer
  5. Respond: After the final thought, provide the answer to the user

Each thought should be a single Bash tool call. Think in the thought, not outside it.

Script Location

scripts/think.ts

Run via bun from the skill's base directory.

Commands

Reset (required before every new session)

bun scripts/think.ts --reset

Submit a Thought

Required flags: --thought, --thoughtNumber, --totalThoughts, --nextThoughtNeeded

bun scripts/think.ts \
  --thought "Your analysis for this step" \
  --thoughtNumber 1 \
  --totalThoughts 5 \
  --nextThoughtNeeded true

Submit a Revision

Revises a previous thought. The original stays in history; the revision is appended as a new entry. Requires --isRevision and --revisesThought.

bun scripts/think.ts \
  --thought "Corrected analysis" \
  --thoughtNumber 3 \
  --totalThoughts 5 \
  --nextThoughtNeeded true \
  --isRevision --revisesThought 1

Submit a Branch

Explores an alternative path from a prior thought. Requires both --branchFromThought and --branchId.

bun scripts/think.ts \
  --thought "Alternative approach" \
  --thoughtNumber 4 \
  --totalThoughts 7 \
  --nextThoughtNeeded true \
  --branchFromThought 2 --branchId alt-approach

Extend Depth

Signal that more thoughts are needed beyond the original estimate.

bun scripts/think.ts \
  --thought "Scope is larger than expected" \
  --thoughtNumber 6 \
  --totalThoughts 8 \
  --nextThoughtNeeded true \
  --needsMoreThoughts

Inspect Full State

bun scripts/think.ts --status

Returns JSON with fullHistory and branchDetails.

Output Format

Each thought invocation prints the thought to stderr and a compact status line to stdout:

💭 Thought 3/7
The analysis shows that...
[3/7] history=3 next=true

Revision and branch thoughts use 🔄 Revision and 🌿 Branch headers respectively.

Parameters (Full MCP Parity)

ParameterTypeRequiredDescription
--thoughtstringyesThe content of this thinking step
--thoughtNumberint >= 1yesCurrent thought number in the sequence
--totalThoughtsint >= 1yesEstimated total thoughts needed (adjustable)
--nextThoughtNeededboolyestrue to continue, false to terminate
--isRevisionflagnoMarks this thought as revising a previous one
--revisesThoughtint >= 1noWhich thought number is being revised (required with --isRevision)
--branchFromThoughtint >= 1noCreate a branch starting from this thought number
--branchIdstringnoLabel for the branch (required with --branchFromThought)
--needsMoreThoughtsflagnoSignal that totalThoughts should be expanded

Behavioral Rules

These match the MCP server's tool description exactly:

  1. Start with an initial estimate of totalThoughts, but adjust freely as understanding deepens
  2. Auto-adjust: If thoughtNumber exceeds totalThoughts, the script raises totalThoughts to match
  3. Revise previous thoughts when you realize an earlier step was wrong or incomplete — set --isRevision and --revisesThought N. The original stays in history; the revision is appended
  4. Branch to explore alternative reasoning paths — set both --branchFromThought N and --branchId label. This does not abandon the main line
  5. Extend beyond the initial estimate at any time with --needsMoreThoughts and an increased --totalThoughts
  6. Express uncertainty — not every thought needs confidence. Questioning and exploring is encouraged
  7. Filter noise — ignore information irrelevant to the current step
  8. Generate hypotheses when you have enough evidence, then verify them against prior thoughts in the chain
  9. Iterate hypothesis-verification cycles until satisfied with the answer
  10. Terminate only when you have a satisfactory answer — set --nextThoughtNeeded false
  11. Non-linear paths are first-class — branching, backtracking, and revision are features, not failures

State Management

  • State is persisted to scripts/.think_state.json between invocations
  • thoughtHistory[] is append-only — thoughts are never deleted
  • branches{} maps branch IDs to their thought arrays
  • --reset clears all state for a fresh session
  • --status dumps the full state as JSON for inspection

Example Session

See references/example-session.md for a complete worked example demonstrating normal thoughts, revisions, branches, and dynamic depth adjustment.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.32%
按下载量换算203

Claude

28.53%
按下载量换算164

Cursor

18.4%
按下载量换算106

Gemini CLI

10.82%
按下载量换算62

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

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

安装前确认

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

来源信息

继续浏览同类 Skills