/mvp-builder:sequential-thinkingfrom mvp-builder
Structured reasoning harness for multi-step problems, debugging unclear root causes, architecture tradeoffs, and high-stakes decisions. Provides reasoning modes, grounding techniques, and adversarial self-checks via the sequential-thinking MCP tool.
Ships in mvp-builder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A reasoning harness around the sequential-thinking MCP tool. The MCP tool provides persistence, revision, and branching for thoughts; this skill provides the discipline for using it well — when to invoke it, how to structure each thought, which reasoning mode fits which problem, how to ground claims against hallucination, when to challenge yourself adversarially, and when to stop.
The core insight: smart reasoning isn't about thinking harder. It's about thinking with the right mode for the situation, anchoring claims to evidence, and knowing when one approach isn't enough.
Not every question needs structured reasoning. Activating this skill on a trivial question wastes tokens, slows the response, and trains a reflex of overthinking. Skipping it on a hard question produces shallow answers and hallucinations. The cost of misuse cuts both ways.
Two tests decide. Use the skill if either fires:
Reversibility test. Is the consequence of being wrong easy to undo, or hard?
System-2 signal test. Is the first plausible answer suspicious?
When in doubt, ask: will I be embarrassed if my first-pass answer turns out wrong? If yes, activate.
Conversely, do not activate for: simple factual lookups, syntactic questions ("what's the JS syntax for X"), trivial edits, routine refactors, or anything where the answer is one search or one line of code away.
Different problem types reward different reasoning modes. Before generating thoughts, classify the situation. This takes 10 seconds and prevents applying the wrong tool.
Four domains, each with a default approach:
Clear. Cause and effect are obvious. Known categories, known solutions. → Apply the known answer, don't overthink. If this skill activated, downgrade to single-pass reasoning or skip entirely.
Complicated. Cause and effect exist but require expertise to see. Multiple valid solutions. → Sense, analyze, respond. Deductive and inductive reasoning. Decompose, identify the right framework, apply.
Complex. Cause and effect only visible in retrospect. Emergent behavior, interacting components, non-linearity. → Probe, sense, respond. Abductive reasoning (generate candidate explanations, test against evidence). Multi-approach synthesis is often warranted here.
Chaotic. No perceivable cause-effect; urgent. → Act first to stabilize, reason later. Use OODA-style fast loops. Long deliberation here is a failure mode.
If domain is unclear, decompose the problem — parts of it may sit in different domains. Apply different modes to different parts.
Mismatching mode to domain is one of the most common failure modes. Treating Complex as Complicated (over-planning emergent systems) produces confident wrong answers. Treating Complicated as Clear (skipping analysis) misses obvious traps. Treating Chaotic as Complex (running experiments during a crisis) burns time you don't have.
The skill's pieces fit together in a default sequence. Not every step fires every time, but the order matters when more than one applies:
references/reasoning-modes.md).When multi-approach and adversarial both produce signals, treat them as independent: multi-approach answers "is the conclusion robust across angles?"; adversarial answers "is there a case against this conclusion that current evidence can't dismiss?" Both passing → high confidence. Either failing → don't commit; resolve the failing signal before stopping.
Once the skill is activated, every substantive reasoning step in the chain goes through the sequential-thinking MCP tool. Internal multi-step reasoning that bypasses the tool inside an activated chain loses persistence, revision, and branching — defeating the point of the harness. The gating decisions above (whether to activate, what domain you're in) happen before the harness engages; those don't need the tool. Once you're inside, if a thought is worth having, it's worth recording.
For each thought, structure it around four elements:
A minimal thought looks like:
State: We've ruled out network latency (verified via tcpdump).
DB query time tripled at 14:00 (verified via metrics).
Action: Generate candidate explanations for the DB slowdown.
Mode: Abductive — start from observation, work toward best explanation.
Candidates:
1. Recent index drop (check schema changelog)
2. Lock contention from concurrent batch job (check pg_locks)
3. Plan regression from new statistics (check pg_stat_statements)
Verify: All three are testable with available tools.
Next: Test #1 first (cheapest to check).
Track confidence informally — words, not percentages. "Strong evidence," "consistent with the data but other explanations also fit," "speculative." False precision (87.3% confident) is worse than honest uncertainty, because it manufactures rigor that wasn't earned. Same rule for any in-chain scoring or ranking: qualitative (high/medium/low, or named comparisons) — never invented numbers.
Every thought should advance the solution. Pure repetition, restating what's known without progress, is a signal that the current mode isn't working — switch modes or branch rather than push harder. If confidence is rising across consecutive thoughts but no new external information has come in, treat that rise with suspicion: real confidence gain needs real new evidence. (See references/anti-patterns.md — "Confirmation drift" and "Speculation drift" — for the detection signals.)
Reasoning modes are the kinds of inference applied to move from premises to conclusions. The seven that matter most:
Choosing a mode is a meaningful decision. Abductive reasoning fits debugging poorly served by deduction. First-principles fits stuck problems where convention is the obstacle. Counterfactual fits root-cause attribution and separating skill from luck.
Mode selection, triggers, and per-mode playbooks live in references/reasoning-modes.md. Read it when:
Modes can mix within one reasoning chain — abductive to generate candidates, deductive to derive consequences from each, counterfactual to compare. The harness supports this; don't force a single mode where multiple help.
The single largest source of error in long reasoning is treating speculation as fact. A thought built on a guessed-at premise propagates that guess as confident output, and downstream thoughts inherit confidence they don't deserve.
Three knowledge classes — every claim in every thought falls into one:
When stakes are high, promote believed-but-unverified to verified by actually checking — read the source, run the test, fetch the data. This is the ReAct pattern: alternate reasoning with observation. Don't reason five steps deep on top of an unchecked assumption when checking it costs one tool call.
The other anti-confabulation tools:
Full grounding playbook, including how to spot confabulation in your own thoughts, lives in references/grounding.md. Read it during long reasoning chains, when something doesn't add up, or before acting on a conclusion built on inference rather than verification.
Linear reasoning is sometimes wrong reasoning. The MCP tool supports three structural moves:
Branch (branch_from_thought + branch_id). Pursue an alternative path while keeping the current path explorable. Use when:
Branching is not commitment to one path; it's saying "this is worth tracking separately." Cheap to do, often valuable.
Guard against fabricated alternatives: don't invent a second candidate just to satisfy the "multiple candidates" pattern. A branch only earns its place if the alternative has independent support — evidence pointing at it, or a structural reason it could be true. Manufacturing alternatives to look thorough is itself a failure mode (see "Confirmation drift" in references/anti-patterns.md).
Revise (is_revision=true + revises_thought). Replace an earlier thought because it's now known wrong. Use when:
Revising honestly is healthier than burying a wrong step. A reasoning chain that quietly carries forward a known-bad thought corrupts everything downstream.
Extend (needs_more_thoughts=true). Acknowledge the budget needs to grow. Use when approaching the planned thought limit while the problem is genuinely unfinished — not as license for unbounded thinking.
Anti-pattern: refusing to branch in order to preserve a feeling of forward progress. If you suspect the current path is wrong but keep pushing because branching feels like backtracking, that's exactly when to branch.
Two failure modes bracket convergence: stopping too early (premature commit to a half-formed answer) and stopping too late (overthinking past the point of returns). Both produce worse outcomes than stopping at the right time.
The right time is when the answer is good enough for the decision at hand, not when it's perfect.
Set an aspiration level before reasoning starts: what would a satisfactory answer look like? Examples:
Then stop at the first answer that crosses the aspiration line, even if a better answer might exist with more work. This is satisficing — and it's the rational move when the cost of more reasoning exceeds the expected gain.
Concrete termination signals:
Bad termination signals:
A reasoning chain that only argues for its conclusion is weaker than one that's been attacked. Before committing to an answer on a high-stakes question, run a short adversarial pass.
The minimum check:
If the adversarial pass surfaces a serious objection you can't dismiss with current evidence, that's a signal to branch, gather more data, or hold the conclusion as tentative.
Full adversarial playbook with red-team techniques and worked examples lives in references/adversarial-checks.md. Read it when stakes are high, when the conclusion makes you uncomfortably comfortable, or when you're about to recommend an irreversible action.
When stakes are high or initial confidence is shaky, one reasoning mode isn't enough. The technique: run two or three different modes on the same question independently, complete each to its own conclusion before looking at the others, then synthesize.
The sequential pattern matters. If you let one mode's intermediate conclusions frame the next mode, you don't get independent verification — you get one mode's answer plus a fresh coat of paint. Each mode runs its own thread (use branch_from_thought + branch_id to track them separately in the MCP tool). Only when each mode has reached its own conclusion do you bring them together for comparison.
Concrete trigger conditions for automatic multi-approach (the skill does this on its own — the user doesn't have to ask):
Example: debugging an intermittent outage. Run abductive (best explanation), IS/IS-NOT analysis (where is it / where isn't it), and counterfactual ("if we hadn't done X, would Y still happen?") in parallel. If all three point to the same root cause — high confidence. If they diverge — the obvious answer was probably wrong.
Synthesis pattern, divergence handling, and worked examples live in references/multi-approach-synthesis.md. Read it when the multi-approach trigger fires, or when reviewing a high-stakes recommendation.
Debugging and incident analysis have their own playbook. Why-chains and IS/IS-NOT specification are powerful but easy to misuse — stopping at human error, accepting the first plausible cause, drifting into speculation past available evidence.
The dedicated playbook covers:
Use references/root-cause-playbook.md for debugging, incident post-mortems, recurring problems, and any case where "why did this happen" needs a defensible answer.
A few principles that apply across all modes and modify default behavior:
"I don't know" is a valid move, not a failure. Saying "the evidence doesn't support a confident answer; here's what I'd need to verify" is honest and useful. Manufacturing a confident answer to avoid saying it is the dishonest path. Users are better served by calibrated uncertainty than by confident hallucination.
Stop and ask when the question is genuinely ambiguous. If two reasonable interpretations would lead to very different answers, ask — don't pick silently. This isn't weakness; it's respect for the user's actual question.
Subtractive bias. Improving a reasoning chain often means cutting a weak step, not adding more. If a thought isn't earning its place, remove it rather than rationalize it.
Opportunity cost of reasoning. Every thought spends tokens and attention. The fifth thought has to be worth more than the first; if it isn't, stop. Don't confuse activity with progress.
Surface assumptions explicitly. When a thought depends on a premise, name the premise. Hidden premises are how confident answers go silently wrong.
Never fake confidence to avoid revision. If a prior thought is wrong, revise it. If the chain is on a wrong path, branch. Burying these moves to preserve apparent forward progress corrupts everything downstream.
Specific failure modes with detection signals — cycling, premature convergence, confirmation bias, speculation drift, overfitting to the first hypothesis, sunk thoughts, fake confidence — are catalogued in references/anti-patterns.md. Worth a skim early on; worth a re-read when reasoning feels stuck or when reviewing a chain that produced a wrong answer.
references/reasoning-modes.md — Seven reasoning modes with triggers and playbooks; Occam's Razor as hypothesis selector.references/grounding.md — Anti-hallucination layer: knowledge classes, ReAct, falsifiability, map-territory, calibrated confidence.references/adversarial-checks.md — Steelman, red team, pre-mortem, second-order effects, bias checklist, Socratic self-questioning.references/root-cause-playbook.md — Five Whys Plus and IS/IS-NOT specification, with failure-mode guards.references/multi-approach-synthesis.md — Parallel reasoning, convergence/divergence handling, defense-in-depth against single-mode error.references/anti-patterns.md — Specific failure modes with detection signals and fixes.references/adversarial-checks.md (opens in a new tab)references/anti-patterns.md (opens in a new tab)references/grounding.md (opens in a new tab)references/multi-approach-synthesis.md (opens in a new tab)references/reasoning-modes.md (opens in a new tab)references/root-cause-playbook.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
14 skills in this plugin
/clarifyRefine an existing feature specification through targeted clarification dialogue. Use when a spec.md contains ambiguities — vague roles, non-testable requirements, unclear entities — that should be resolved before generating the doc chain./code-analyzerComprehensive codebase analysis for building mental model of project structure, dependencies, and implementation context. Use when needing to: (1) Understand project architecture before review or documentation, (2) Find dependencies and shared modules, (3) Trace execution paths and abstraction layers for similar features, (4) Locate implementation markers (AICODE-*), (5) Prepare context for review, memory generation, or agent creation. Triggers on: analyze code, load code context, scan codebase, understand project structure, trace feature./npx claudepluginhub app-builders-club/mvp-builder --plugin mvp-builderOther plugins' skills for the same job