
Security News
vlt 1.5.0 Adds Agent Skills Management
vlt 1.5.0 links skills from JavaScript dependencies to coding agents, with lockfile versioning and Socket data to filter out known malicious packages.
sequential-thinking-cli
Advanced tools
AI-first sequential thinking CLI with guided step progression, convergence control, replay, and export.
Let AI keep advancing through complex problems, revise when needed, and converge to a conclusion.
A reusable skill for controlled multi-step reasoning, revision, comparison, and convergence.
| Component | What It Does | When to Use |
|---|---|---|
| sequential-thinking | Defines when to enter sequential reasoning, how to advance, when to revise, and how to converge | When a problem requires multi-step analysis, planning, decomposition, or comparison between candidate paths |
| sequential-thinking-cli | Provides the start / step / replay execution contract, automatic persistence, replay generation, and export | When you want sequential-thinking to run as an executable, reviewable, replayable runtime process |
This repository is primarily about the skill itself. The CLI is not the main artifact; it is the execution layer that makes the skill operational.
sequential-thinking is not a trick for writing more thoughts. It is a controlled reasoning pattern for complex work: advance continuously, revise when needed, preserve boundaries, and converge to a conclusion.
It does not solve “the model cannot think.” It solves these more common failures:
The goal of this skill is to turn complex problem solving into a bounded, revisable, reviewable reasoning process, instead of letting the model pretend it already knows the answer from the start.
Not a good fit for:
Its core capabilities include:
npx skills add haaaiawd/sequential-thinking-skills
Works with AI clients that support the SKILL.md protocol.
Enter sequential-thinking when the problem has these traits:
Recommended workflow:
1. Decide whether the task truly needs sequential-thinking instead of defaulting to it.
2. If needed, enter the sequential-thinking skill.
3. Use start to define the problem boundary, goal, mode, and step count.
4. Use step to advance gradually, expressing only the current step’s reasoning.
5. When new evidence appears, revise instead of defending the old judgment.
6. At convergence time, produce the conclusion, risks, and next actions.
7. When finished, use replay when needed to generate and export a replay document.
sthink start --name "query-diagnosis" --goal "Identify the primary cause of query performance degradation" --mode explore --totalSteps 5
sthink step --sessionPath "<session-path>" --content "Do not jump straight to optimization tactics. First break the problem into layers: is it a single SQL regression, interface-level N+1 behavior, or amplification from a higher-level call pattern? If the root cause is not separated first, caching, indexing, and rewrites may all become patches instead of real fixes."
sthink step --sessionPath "<session-path>" --content "The query log shows that the user detail endpoint triggers many repeated reads in a single request, which is a clear N+1 signal. But that still is not enough to conclude the root cause, because repeated queries may only be the symptom. We still need to confirm whether the slowdown comes from too many queries or from one especially expensive query. That means the reasoning should stay open a little longer."
sthink step --sessionPath "<session-path>" --content "The conclusion can now converge: the primary issue is N+1 triggered during batch loading on the list page, and the secondary issue is missing indexes on related fields amplifying the cost of each query. The right optimization order is to eliminate the N+1 pattern first, then add indexes and validate tail latency. That sequence removes the main contradiction first and avoids introducing cache complexity too early."
sthink step --sessionPath "<session-path>" --content "After reviewing the profiling results, the earlier judgment needs correction: the real bottleneck is not N+1 itself, but missing indexes on the join columns, which magnify the cost of every related query into repeated full scans. N+1 still exists, but it is no longer the primary bottleneck, so its priority should move down."
sthink start --name "performance-tradeoff" --goal "Compare cache-first mitigation versus query optimization" --mode branch --totalSteps 5
sthink step --sessionPath "<session-path>" --content "Option A is to introduce caching first. Its advantage is fast relief with relatively low interface-layer intrusion, which is useful when the system needs immediate stabilization. Its downside is that the problem shifts from database slowness to cache consistency and invalidation strategy; if the true root cause is poor query design, this path can permanently preserve accidental complexity. Option B is to optimize indexes and rewrite queries directly. Its advantage is that it removes the bottleneck at the source and keeps the long-term structure cleaner. Its cost is slower execution and the need to validate write amplification, lock contention, and regression risk more carefully. If the business model is stable, this path is usually more aligned with the principle of choosing simplicity over convenience."
sequential-thinking-cli is the execution runtime for this skill. It is distributed through npm, and its command entrypoint is sthink.
It provides:
| Requirement | Check |
|---|---|
| Node.js 20+ | node --version |
| npm / pnpm | Used to install the CLI |
npm install -g sequential-thinking-cli
# or
pnpm add -g sequential-thinking-cli
After installation, use:
sthink
The runtime executes through three main actions:
startstepreplaystartAccepts only four inputs:
namegoalmodetotalStepsConstraints:
mode must be one of explore, branch, or audittotalSteps must be either 5 or 8stepAccepts only:
contentAll other context should be restored and injected by the runtime.
replayReads a completed session and generates a replay document. If needed, it can also export the result to the current directory.
The runtime exposes only the minimum necessary step-policy surface:
modetotalStepsshouldConvergemustConcludeThis keeps the protocol narrow while still providing enough structure for controlled convergence.
replay can export to the current directory for review and reuseSequential-thinking-skills/
├── README.md
├── README.zh-CN.md
├── LICENSE
├── package.json
├── cli/
├── src/
├── tests/
└── skills/
└── sequential-thinking-skill/
└── SKILL.md
pnpm install
pnpm verify
pnpm build
MIT
FAQs
AI-first sequential thinking CLI with guided step progression, convergence control, replay, and export.
The npm package sequential-thinking-cli receives a total of 1 weekly downloads. As such, sequential-thinking-cli popularity was classified as not popular.
We found that sequential-thinking-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
vlt 1.5.0 links skills from JavaScript dependencies to coding agents, with lockfile versioning and Socket data to filter out known malicious packages.

Security News
Rust 1.100 will add opt-in dependency cooldowns to Cargo, giving security scanners and maintainers time to catch malicious crate releases.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.