brainstorming
MUST USE when the user wants new features, behavior changes, refactoring with new capabilities, or architecture decisions and no…
Internal reasoning technique invoked by systematic-debugging and verification-before-completion for high-stakes multi-step inference. Generates N independent reasoning paths and takes majority vote to surface confident-but-wrong single-chain failures. DO NOT invoke independently
$ npx -y skills add REPOZY/superpowers-optimized --skill self-consistency-reasoner --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/self-consistency-reasonerContext preview
The summary Claude sees to decide when to auto-load this skill.
Internal reasoning technique invoked by systematic-debugging and verification-before-completion for high-stakes multi-step inference. Generates N independent reasoning paths and takes majority vote to surface confident-but-wrong single-chain failures. DO NOT invoke independently
name: self-consistency-reasoner description: > Internal reasoning technique invoked by systematic-debugging and verification-before-completion for high-stakes multi-step inference. Generates N independent reasoning paths and takes majority vote to surface confident-but-wrong single-chain failures. DO NOT invoke independently — this skill is embedded in the skills that need it.
A structured reasoning technique adapted from Self-Consistency (Wang et al., ICLR 2023).
**Core idea**: Complex problems often have multiple valid paths to the correct answer, while incorrect reasoning tends to scatter across different wrong answers. Reaching the answer by several deliberately different routes and comparing the endpoints exposes a single chain that committed early to a wrong assumption.
**What this is not.** The paper samples N *separate* decodes from the same prompt and votes over them; their independence is what makes agreement track accuracy. Paths you write one after another in a single response are not independent — each one can see the ones before it, and all of them share your blind spots. So read the result asymmetrically:
---
This skill is invoked internally by:
It fires when:
---
Scale paths to difficulty:
| Problem Type | Paths | |---|---| | Binary verification (does this evidence prove the claim?) | 3 paths | | Root cause diagnosis with 2-3 candidates | 5 paths | | Complex multi-factor diagnosis or high-stakes verification | 7 paths |
Default: **5 paths**. The paper suggests 5–10 independent samples to capture most of the gain; in a single response, extra paths add little once the genuinely different starting points are used up — stop there rather than padding.
---
Produce each path **independently** — don't let earlier paths contaminate later ones. Vary your approach deliberately:
Each path tries to reach **the** answer — not a different candidate — and must end with a **clearly parsed final answer**. Asking each path for a *different* hypothesis manufactures disagreement and makes the vote meaningless.
> Diversity of route is the whole point. Paths that all use the same approach just give you one answer repeated — that's not self-consistency, it's greedy decoding in disguise.
Group answers that mean the same thing (two phrasings of one root cause are one answer), then count. The most frequent answer wins.
**Agreement** = (paths agreeing with the majority answer) / (total paths). It is a count, not a calibrated probability.
---
Do **not** show all paths to the user. The process is internal. Surface only the aggregated result:
**[Diagnosis/Verdict]**: [the majority-vote answer] **Agreement**: [X/N paths] — unanimous | majority | no majority [Only if not unanimous]: Brief note on the minority conclusion and the key divergence point.
---
---
The production-grade fork of obra/superpowers — same trusted workflow, dramatically leaner, safer, and more intelligent.
MUST USE when the user wants new features, behavior changes, refactoring with new capabilities, or architecture decisions and no…
Creates minimal, high-signal CLAUDE.md and AGENTS.md context files based on empirical best practices. Invoke on /init command,…
Use in long or noisy sessions to persist durable state across session boundaries via state.md. Also generates project-map.md when…
Use BEFORE brainstorming when facing a complex architectural, technology, or design decision where the options are not yet…
MUST USE when updating, migrating, or auditing project dependencies: upgrading packages, fixing security vulnerabilities (CVEs),…
Use when 2+ tasks are independent and can run concurrently without file or state conflicts or sequential dependencies. Triggers…