Skip to content
Back to skills

Sequential Thinking

ASecurity

Step-by-step hypothesis reasoning. NOT for mk:problem-solving.

  • 17 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 29, 2026
ai-agentsgobashnodetestingapiperformance

Works with

  • api
  • mcp

Security analysis

A100/100

Pro scans all 15 files and shows the line behind each finding

Scanned November 24, 2026

npx -y skills add ngocsangyem/MeowKit --skill sequential-thinking --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sequential Thinking?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sequential Thinking
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ngocsangyem-sequential-thinking/badge)](https://www.skillsdirectory.com/skills/ngocsangyem-sequential-thinking)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mk:sequential-thinking
version: 1.0.0
description: "Step-by-step hypothesis reasoning. NOT for mk:problem-solving."
allowed-tools:
  - Read
  - Grep
  - Glob
  - Bash
source: local
keywords:
  - sequential-thinking
  - step-by-step-reasoning
  - mcp-sequentialthinking
  - evidence-based
  - incremental-analysis
  - chain-of-thought
when_to_use: "Multi-step analysis."
user-invocable: true
owner: research
criticality: medium
status: active
runtime: claude-code
---

# Sequential Thinking

Evidence-first reasoning for a question whose cause or answer is not obvious: state what is observed, form hypotheses from evidence, test the cheapest first, and conclude only on a test that could have failed. Use it for diagnosis where the root cause is unclear, and for decisions where "I think it's X" needs evidence before acting. Skip it for a trivial fix (typo, lint) or a single-file change with an obvious cause.

| Situation | Use |
|---|---|
| Something is broken and needs fixing | `mk:fix` (it calls this skill when it diagnoses) |
| Unknown symptoms, nothing reproduced yet | `mk:investigate` first, then this skill |
| Stuck on an approach, not a cause | `mk:problem-solving` |
| A decision between known options | `mk:advise` or `mk:party` |

## Process

1. **State the problem**: observed against expected.
2. **Hypothesise from evidence**, never from a guess. Each hypothesis says what would confirm it and what would refute it.
3. **Test** with Grep, Read or Bash, cheapest test first (grep for the string before a full build). Search for evidence against your favourite hypothesis too.
4. **Mark** each CONFIRMED, REFUTED or INCONCLUSIVE with its evidence.
5. **Conclude** when a test that could have failed confirms a hypothesis; otherwise test the next one. A cause confirmed that way needs no second hypothesis for its own sake.
6. **Scope the fix**: what must change to address the root cause, not the symptom.

Expand if the problem is bigger than expected and contract if it is simpler.

## Output

For diagnosis, use the table in `references/hypothesis-testing.md`:

```markdown
## Sequential Analysis: [problem]
| # | Hypothesis | Evidence for | Evidence against | Status |
### Root Cause
Confirmed: [cause] | Confidence: high/medium/low | Evidence: [what confirms it]
### Fix Scope
[what must change: files, functions, logic]
```

For a decision (not a diagnosis), give: the options, the evidence for each, the chosen option, and what would change it.

## Revision and branching

When new evidence invalidates a conclusion, mark it (`[REVISION of Hypothesis N]: correction and why`). When two or more approaches are viable, branch, evaluate each and converge on one. Patterns: `references/core-patterns.md`; spiral refinement and multi-branch convergence: `references/advanced-techniques.md`; uncertainty and revision cascades: `references/advanced-strategies.md`; worked examples: `references/examples-debug.md`, `examples-api.md`, `examples-architecture.md`.

## Diagnostic frameworks

Load one only when a method fits:

- `references/five-whys-plus.md`: post-mortems, recurring problems, human-error investigations.
- `references/scientific-method.md`: A/B tests, performance work, production incidents.
- `references/kepner-tregoe.md`: multi-system bugs, contested root causes, high-stakes decisions.

## Scripts (optional)

Use only to hand a long chain of thoughts to another session; they are not part of the process. `scripts/process-thought.js` validates and tracks thought history (max 20 thoughts; `--summary` gives a compact handoff to `mk:fix`); `scripts/format-thought.js` formats a thought as box, simple, markdown or json. Run them as `node ${CLAUDE_SKILL_DIR}/scripts/...`.

## Gotchas

- **Premature conclusion**: confirming a hypothesis with a test that could not have failed. Pick a test that would have refuted it.
- **Evidence-free hypotheses**: "I think it's X" without at least one piece of verifiable evidence.
- **Revision avoidance**: when new evidence contradicts the conclusion, revise explicitly; being wrong early costs less than being wrong at the end.

More in `references/gotchas.md`.

## Workflow

`mk:fix` calls this skill during diagnosis; input comes from `mk:investigate` or direct observation, and the output feeds the fix.

```
mk:investigate -> symptoms and traces -> mk:sequential-thinking -> root cause -> mk:fix
```

Files in this skill

  • SKILL.md4.6 KB
  • references/advanced-strategies.md1.5 KB
  • references/advanced-techniques.md2.3 KB
  • references/core-patterns.md1.6 KB
  • references/examples-api.md2.2 KB
  • references/examples-architecture.md2.6 KB
  • references/examples-debug.md2.4 KB
  • references/five-whys-plus.md4.7 KB
  • references/gotchas.md921 B
  • references/hypothesis-testing.md2.5 KB
  • references/kepner-tregoe.md7.4 KB
  • references/scientific-method.md3.7 KB
  • scripts/format-thought.js4.8 KB
  • scripts/process-thought.js6.4 KB
  • scripts/test-scripts.sh3.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.