sequential-thinking

sequential-thinking is a skill for Claude Code, Codex from alexei-led/cc-thingz. It costs 123 tokens per session (1,450 once invoked), scanned A, original, MIT.

A visible method for working through difficult problems in ordered steps, with room to revise conclusions and compare alternative paths. It is useful when several decisions or constraints affect one another.

In plain words
What is it for?
Use it for complex architecture choices, ambiguous bugs, multi-constraint plans, and problems where competing approaches or revisions need to be compared.
Why use it?
It makes the problem-solving process easier to check when an assumption changes or an approach fails. It avoids adding a formal process to simple questions where it would not help.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/alexei-led/cc-thingz/sequential-thinking
Any agent
npx skills add alexei-led/cc-thingz --skill sequential-thinking
Clone the repo
git clone --depth 1 https://github.com/alexei-led/cc-thingz

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sequential-thinking

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexei-led/cc-thingz/sequential-thinking.svg)](https://agentmods.dev/skills/alexei-led/cc-thingz/sequential-thinking)
Your own site
<a href="https://agentmods.dev/skills/alexei-led/cc-thingz/sequential-thinking"><img src="https://agentmods.dev/badge/skills/alexei-led/cc-thingz/sequential-thinking.svg" alt="Measured on agentmods" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,450 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00123 $0.01450
Opus 5 $0.00062 $0.00725
Sonnet 5 $0.00025 $0.00290
Haiku 4.5 $0.00012 $0.00145

Measured 4d ago against content hash bb2f3b9b643e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sequential-thinking scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/skills/sequential-thinking/SKILL.md · 138 lines

How it starts

The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sequential Thinking

Same intent as MCP-based sequential-thinking tools — externalize a numbered chain of thoughts with revision and branch semantics — implemented as visible Markdown so reasoning-capable models can follow it without an extra tool round-trip.

When to use

  • The problem has 3+ interacting constraints or sub-decisions.
  • An earlier conclusion may need revising as new evidence arrives.
  • More than one viable approach is on the table and they should be compared, not silently chosen.
  • The user explicitly asked for stepwise/structured reasoning.

If none of these hold, answer directly — protocol overhead on a simple question wastes tokens and looks performative.

Why a visible protocol (not just internal CoT)

Modern reasoning models already think internally. They need a shared on-the-page format so:

  • the user can audit which step a wrong conclusion came from,
  • revisions can point at the specific thought they replace,
  • branches can be compared side by side instead of overwriting each other,
  • a downstream agent or reviewer can parse the structure.

Do not try to suppress, expose, or paraphrase the model's hidden reasoning trace. Use this protocol in addition to it — write the durable, reviewable summary as Thought blocks; let the internal trace stay internal.

Protocol

Open with a one-line plan, then emit numbered Thought blocks. Use these exact markers so output is parseable:

**Plan:** N thoughts (estimate). Subject: <one-line problem statement>.

### Thought 1
<the step — observation, deduction, sub-decision, or question>

### Thought 2
<...>

### Thought 3 (revises 1)
<corrected version, with one sentence on why 1 was wrong>

### Branch A from 2
<alternative path>

### Thought 4 (Branch A)
<continuation of A>

### Thought 5 (main)
<continuation of the main line>

### Final
<the conclusion or recommendation. Names the winning branch if any.>

Block rules

  • Numbering: monotonic. A revision gets a new number; it does not overwrite an old one. (revises N) declares which thought it supersedes.
  • Branches are labelled Branch <letter> from <N>. Subsequent thoughts on that branch tag themselves (Branch <letter>). The default trunk needs no tag.
  • Estimate: the opening Plan: is an estimate, not a contract. If more thoughts are needed, write ### Thought N (extending plan to M) and continue. Don't pretend you knew all along.
  • One thought, one move: a thought makes one observation, one deduction, or asks one question. Walls of text under a single number defeat the point.
  • Final: mandatory. Stop with ### Final. Without it, callers can't tell whether you finished or got cut off.

Read the full file on GitHub · 138 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 138 lines · 123 tokens per session scan A bb2f3b9b643e

Subscribe to this mod's changes

sequential-thinking is a skill published in the GitHub repository alexei-led/cc-thingz (35 stars, last pushed 1mo ago), licensed MIT. It adds 123 tokens to every session and 1,450 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

peekaboo

Provides runtime observation and interaction for native macOS interfaces through accessibility state and screenshots. Use when the task depends on visible or interactive state in a running SwiftUI/AppKit app: what is rendered, focused, selected, enabled, reachable through menus/windows/dialogs, or experienced across a…

johnkozaris/jko-claude-plugins · 104 tokens

seam-probe

This skill should be used when testing or debugging an embedded-runtime boundary exposed through a dynamically loaded C-ABI library or Unix-domain socket, including requests to inspect exports, exercise FFI callbacks, send framed messages, reproduce seam crashes or hangs, fuzz a boundary, or correlate probe output…

johnkozaris/jko-claude-plugins · 82 tokens

electron-playwright-validator

This skill should be used when a user asks to launch, inspect, automate, test, validate, or debug an Electron desktop UI through Playwright/CDP, including blank renderers, runtime import failures, accessibility snapshots, layout defects, click-through flows, or post-change checks. Not for native macOS or mobile apps…

johnkozaris/jko-claude-plugins · 90 tokens

mobile-flows-maestro

This skill should be used when Maestro is explicitly requested or already present and the task is to author, run, or debug iOS/Android Maestro flows; use Maestro MCP; or handle Maestro selectors, system UI, permissions, Keychain, JavaScript, waits, device state, flakiness, or CI. Evidence includes a .maestro directory…

johnkozaris/jko-claude-plugins · 102 tokens

validate-mobile

Run a Maestro flow on an explicitly selected iOS or Android device and report behavioral evidence.

johnkozaris/jko-claude-plugins · 20 tokens

validate-api

Run the project's Hurl scenarios with an OIDC access token passed as a secret variable.

johnkozaris/jko-claude-plugins · 20 tokens