problem-solver

SkillAI & models

Structured reasoning frameworks for complex problems. 19 analytical frameworks, 12 cognitive bias detectors, 10 decomposition methods, 10 mental models, Cynefin domain classification, ethical dimension check, and 6 communication patterns. McKinsey-grade problem solving for AI coding assistants.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the problem-solver skill

What this skill tells your AI

The instructions your AI receives, as published by rune-kit/rune in skills/problem-solver/SKILL.md and read by ahel’s review.

Purpose

Structured reasoning utility for problems that resist straightforward analysis. Receives a problem statement, detects cognitive biases, selects the appropriate analytical framework, applies it step-by-step with evidence, and returns ranked solutions with a communication structure. Stateless — no memory between calls.

Inspired by McKinsey problem-solving methodology and cognitive science research on decision-making errors.

Calls (outbound)

  • council (L3): Step 6.5 — decorrelated judgment on whether a high-stakes framework conclusion holds, narrow trigger only (documented L3→L3 coordination — see Step 6.5)

Called By (inbound)

  • debug (L2): complex bugs that resist standard debugging
  • brainstorm (L2): structured frameworks for creative exploration
  • plan (L2): complex architecture decisions with many trade-offs
  • ba (L2): requirement analysis when scope is ambiguous

Execution

Input

problem: string         — clear statement of the problem to analyze
context: string         — (optional) relevant background, constraints, symptoms observed
goal: string            — (optional) desired outcome or success criteria
mode: string            — (optional) "analyze" | "decide" | "decompose" | "communicate"

Step 1 — Receive and Classify

Read the problem and context inputs. Restate the problem in one sentence to confirm understanding.

Classify the problem type:

TypeSignal WordsPrimary Approach
Root cause / diagnostic"why", "broken", "failing", "declining"5 Whys, Fishbone, Root Cause
Decision / choice"should I", "choose", "compare", "vs"Decision Frameworks (Step 3b)
Decomposition"break down", "understand", "structure"Decomposition Methods (Step 3c)
Creative / stuck"stuck", "no ideas", "exhausted options"SCAMPER, Collision-Zone, Inversion
Architecture / scale"design", "architecture", "will it scale"First Principles, Scale Game

Step 1.5 — Domain Classification (Cynefin)

Before selecting a framework, classify the problem's complexity domain. This determines HOW MUCH analysis is warranted and WHICH class of frameworks applies.

DomainSignalFramework ClassAnalysis Depth
Clear (obvious)Best practice exists, cause-effect obvious, "just do X"Direct action — no framework neededMinimal — act immediately
Complicated (expert analysis)Cause-effect discoverable through analysis, multiple right answers existAnalytical frameworks (5 Whys, Fishbone, SWOT, Weighted Matrix)Moderate — structured analysis
Complex (emergent)Cause-effect only visible in retrospect, no right answer — only better probesProbe-sense-respond (Pre-Mortem, Systems Map, Sensitivity Analysis, PESTLE)Deep — experiment and iterate
Chaotic (crisis)No cause-effect, need to stabilize firstAct-sense-respond — triage, then analyzeImmediate — stabilize before analyzing
Confused (don't know which domain)Can't classify → decompose until sub-problems land in a known domainDecomposition first (Issue Tree, MECE) → re-classify each branchMeta — decompose then classify

Output: State the domain and justify in one sentence. If Confused, decompose before proceeding.

Why this matters: Applying Complicated-domain tools (deep analysis) to a Clear problem wastes effort. Applying Clear-domain tools ("just do X") to a Complex problem creates false confidence. Match the tool to the terrain.

Step 2 — Bias Check (ALWAYS RUN)

Two catalogs run here, not one: the biases of the people and organisation in the problem, and the failure modes of the model doing the analysis. Skipping the second is how a rigorous-looking analysis reaches a confidently wrong conclusion.

Human and organisational biases

Scan the problem statement and context for bias indicators. Check the top 6 most dangerous biases:

BiasDetection QuestionDebiasing Strategy
Confirmation BiasHave we actively sought evidence AGAINST our preferred option? Are we explaining away contradictory data?Assign devil's advocate. Explicitly seek disconfirming evidence. Require equal analysis of all options.
Anchoring EffectWould our evaluation change if we saw options in a different order? Is the first number/proposal dominating?Generate evaluation criteria BEFORE seeing options. Score independently before group discussion.
Sunk Cost FallacyIf we were starting fresh today with zero prior investment, would we still choose this? Are we justifying by pointing to past spend?Evaluate each option as if starting fresh (zero-based). Separate past investment from forward-looking decision.
Status Quo BiasAre we holding the current state to the SAME standard as alternatives? Would we actively choose the status quo if starting from scratch?Explicitly include status quo as an option evaluated with same rigor. Calculate the cost of inaction.
OverconfidenceWhat is our confidence level, and what is it based on? Have we been right about similar predictions before?Use pre-mortem to stress-test. Track calibration. Seek outside perspectives.
Planning FallacyAre our estimates based on best-case assumptions? Have similar projects in the past taken longer or cost more?Use reference class forecasting — compare to actual outcomes of similar past efforts rather than bottom-up estimates.

Additional biases to check when relevant:

  • Framing Effect: Would our preference change if framed as a gain vs. a loss?
  • Availability Heuristic: Are we basing estimates on vivid anecdotes rather than systematic data?
  • Groupthink: Has anyone expressed strong disagreement? Are we reaching consensus suspiciously fast?
  • Loss Aversion: Are we avoiding an option primarily because of what we might lose, rather than evaluating the full picture?
  • Survivorship Bias: Are we only looking at successful cases? Who tried this approach and failed?
  • Recency Bias: Are we extrapolating from the last few data points instead of looking at 5-10 years of data?
Model failure modes (the reasoner's own biases — ALSO run)

The table above catalogs how humans and organisations misjudge. It says nothing about how you misjudge. These are the failure modes of the thing doing the analysis, and naming one is the first countermeasure — they are invisible from the inside precisely because each one feels like competence.

Failure modeWhat it feels likeCountermeasure
Pattern-match satisfactionThe first explanation that fits a familiar template feels like the diagnosisFamiliarity is retrieval, not verification. Hold a second hypothesis before investigating the first
Template hijackA question whose surface matches a stored template ("flaky test → add retry", "slow query → add index") fires the template's answer before this question's constraints are readRe-derive from this problem's details. Familiarity raises the risk, not lowers it
Fluent ≠ trueConfidence rises as well-formed prose flows; the argument feels stronger the longer it getsConfidence tracks evidence, not token count. Audit each point where it rose and name what moved it
Prior-as-factTraining knowledge stated in the grammar of observed factType the claim (completion-gatereferences/claim-discipline.md). Priors decay — APIs, defaults, prices, versions
Frame adoptionThe asker's framing inherited as fact ("the cache is broken again")Trust their goal absolutely; treat their diagnosis as testimony to verify
Completion pressureProducing something answer-shaped now feels better than checking one more thingAn answer-shaped non-answer is worse than "here is what I verified, here is what is still open"
Surface blindnessAny claim about the form of your own output — which symbols it contains, how many units it has — read back as trueYou see tokens, not characters; a re-read always passes. Verify unit by unit or by tool (verification → Constraint Loop)

Three tells you are inside one right now: the answer arrived instantly with high confidence; your draft never used one of the problem's stated details; two or three attempts failed inside the same framing. Any tell means stop and re-derive — never repeat a failed probe harder.

Output: alongside the human-bias warnings, name any model failure mode active in THIS analysis and what you did about it. "None apparent" is a valid answer only if you can say which tell you checked.

Steel Manning (apply when evaluating competing options): Before dismissing any option, construct the STRONGEST possible version of the argument for it. If you can't articulate why a smart, informed person would choose it, you haven't understood it yet. Steel Manning prevents strawman dismissals and forces genuine evaluation.

Output: List 2-3 biases most likely to affect THIS specific problem, with their debiasing strategy. If comparing options, include a steel-manned case for the option you're least inclined toward. Weave these warnings into the analysis.

Step 3a — Select Analytical Framework

Choose the framework based on what is unknown about the problem:

SituationFramework
Root cause unknown — symptoms clear5 Whys
Multiple potential causes from different domainsFishbone (Ishikawa)
Standard assumptions need challengingFirst Principles
Creative options needed for known problemSCAMPER
Must prioritize among known solutionsImpact Matrix
Conventional approaches exhausted, need breakthroughCollision-Zone Thinking
Feeling forced into "the only way"Inversion Exercise
Same pattern appearing in 3+ placesMeta-Pattern Recognition
Complexity spiraling, growing special casesSimplification Cascades
Unsure if approach survives production scaleScale Game
High-stakes irreversible decision — need to find blind spotsPre-Mortem
Need to determine how much analysis effort is warrantedReversibility Filter
Quantifiable outcomes with estimable probabilitiesExpected Value Calculation
Key assumptions uncertain, need to know what flips the decisionSensitivity Analysis
Need holistic internal + external assessment of a project/product/strategySWOT Analysis
Decision depends on macro-environment factors beyond your controlPESTLE Analysis
Competitive landscape unclear, need to assess market positionPorter's Five Forces
Need a rough estimate with very little dataFermi Estimation
Problem involves ethical trade-offs or stakeholder harmEthical Reasoning (→ Step 5.5)

State which framework was selected and why.

SWOT Analysis (holistic assessment):

  1. Strengths: Internal advantages — what do we do well? What assets do we have?
  2. Weaknesses: Internal disadvantages — where are we vulnerable? What do we lack?
  3. Opportunities: External factors we could exploit — trends, market gaps, timing
  4. Threats: External factors that could harm us — competitors, regulation, tech shifts
  5. Cross-reference: How can Strengths exploit Opportunities? How do Weaknesses amplify Threats?
  6. Prioritize: Which quadrant demands immediate action?

PESTLE Analysis (macro-environment scan): When the problem is influenced by forces beyond the project/org:

FactorKey Questions
PoliticalGovernment policy, regulation changes, political stability, trade restrictions?
EconomicMarket conditions, inflation, exchange rates, funding climate, customer spending?
SocialDemographics, cultural trends, user behavior shifts, workforce expectations?
TechnologicalNew tech, disruption risk, automation, platform shifts, AI impact?
LegalCompliance requirements, IP, data privacy (GDPR/CCPA), licensing, liability?
EnvironmentalSustainability expectations, carbon footprint, resource scarcity, ESG pressure?

For each factor: rate impact (high/medium/low) and timeline (imminent/near-term/long-term). Focus analysis on high-impact factors only.

Porter's Five Forces (competitive position):

  1. Threat of New Entrants: How easy is it for competitors to enter? (barriers: capital, tech, brand, network effects)
  2. Bargaining Power of Suppliers: How much leverage do your dependencies have? (few suppliers = high power)
  3. Bargaining Power of Buyers: Can customers easily switch? (low switching cost = high power)
  4. Threat of Substitutes: What alternatives exist outside your direct market?
  5. Competitive Rivalry: How intense is competition? (many similar players = high rivalry) Rate each force: strong / moderate / weak. Strongest forces dictate strategy.

Fermi Estimation (order-of-magnitude reasoning): When data is scarce but a rough estimate is needed:

  1. Break the unknown into estimable sub-components
  2. Estimate each component using common knowledge or reference classes
  3. Multiply/combine to get the overall estimate
  4. Sanity-check: does the result pass the smell test? Off by 10x?
  5. State confidence range: "between X and Y, best estimate Z" Goal: be within an order of magnitude (10x), not precise. Useful for sizing markets, estimating effort, or validating claims.

Step 3b — Decision Frameworks (when mode = "decide")

When the problem is a decision/choice, use these specialized frameworks:

Reversibility Filter (always apply first):

  • Is this a one-way door (irreversible) or two-way door (reversible)?
  • Two-way door → decide quickly, set review date, iterate
  • One-way door → invest in thorough analysis, use other frameworks
  • Proportional effort: analysis depth should match reversibility

Weighted Criteria Matrix (multi-option comparison):

  1. List all options
  2. Define 3-5 evaluation criteria (max 5 — more causes choice overload)
  3. Assign weights (must sum to 100)
  4. Score each option 1-5 on each criterion
  5. Calculate weighted scores
  6. Run sensitivity: which weight changes would flip the decision?

Pros-Cons-Fixes (binary or few-option, quick):

  1. List pros and cons for each option
  2. For each con: can it be fixed, mitigated, or is it permanent?
  3. Re-evaluate with fixable cons addressed
  4. Decide based on remaining permanent trade-offs

Pre-Mortem (high-stakes, irreversible):

  1. Assume the decision has already failed catastrophically (12 months later)
  2. List what went wrong (work backward)
  3. Categorize by likelihood and severity
  4. Develop mitigation plans for high-risk failures

Expected Value (quantifiable outcomes):

  1. List possible outcomes for each option
  2. Estimate probability of each
  3. Estimate value (monetary or utility) of each
  4. Calculate EV = Σ(probability × value)
  5. Choose highest EV adjusted for risk tolerance

Regret Minimization (life-scale or career-scale decisions):

  1. Project yourself to age 80 (or 10 years from now)
  2. Ask: "Will I regret NOT trying this?" — regret of inaction vs. regret of action
  3. Regret of inaction (missed opportunity) typically outweighs regret of action (failed attempt)
  4. Use when: the decision is personally significant, emotionally charged, or involves a window of opportunity that won't return
  5. Not suitable for: purely analytical/technical decisions — use Expected Value instead

Step 3c — Decomposition Methods (when mode = "decompose")

When the problem needs structuring before analysis:

MethodWhen to UsePattern
Issue TreeDon't have a hypothesis yet, exploringRoot Question → Sub-questions (why/what) → deeper
Hypothesis TreeHave domain expertise, need speedHypothesis → Conditions that must be true → Evidence needed
Profitability TreeBusiness performance problemProfit → Revenue (Price × Volume) → Costs (Fixed + Variable)
Process FlowOperational/efficiency problemStep 1 → Step 2 → ... → find bottleneck
Systems MapComplex with feedback loopsVariables → causal links (+/-) → reinforcing/balancing loops
Customer JourneyUser/customer problemAwareness → Consideration → Purchase → Experience → Retention

All decompositions MUST pass the MECE test:

  • ME (Mutually Exclusive): branches don't overlap
  • CE (Collectively Exhaustive): branches cover all possibilities

Step 4 — Apply Framework

Execute the selected framework with discipline. For each framework, follow the steps defined in Step 3a/3b/3c.

At each step, apply the bias debiasing strategies identified in Step 2.

Step 5 — Apply Mental Models

Cross-check the framework output against relevant mental models:

ModelCore QuestionWhen It Helps
Second-Order Thinking"And then what?" — consequences of consequencesDecisions with delayed effects
Bayesian UpdatingHow should we update our beliefs given this new evidence?When new data arrives during analysis
Margin of SafetyWhat buffer do we need for things going wrong?Planning timelines, budgets, capacity
Opportunity CostWhat's the best alternative we're giving up?Resource allocation, project prioritization
Occam's RazorAmong competing explanations, prefer the simplestMultiple possible root causes
Leverage PointsWhere does small effort produce large effect?System redesign, process improvement
Hanlon's RazorNever attribute to malice what can be explained by incompetence or misaligned incentivesOrganizational problems, team conflicts
Regression to the MeanIs this extreme result likely to revert to average?After exceptional performance (good or bad)
Dialectical ThinkingThesis + Antithesis → can we synthesize a higher-order solution?Two opposing valid positions, binary choice feels forced
Fermi EstimationCan we get a rough order-of-magnitude estimate to sanity-check?Claims, estimates, or projections that feel off

Apply 1-2 most relevant models. State which and why.

Step 5.5 — Ethical Dimension Check (when applicable)

Run this check when the problem involves: user data, automation replacing human judgment, resource allocation affecting people, public-facing decisions, or stakeholder trade-offs.

LensCore Question
HarmWho could be harmed by each option? How severe? How reversible?
FairnessDoes this option disadvantage any group disproportionately?
TransparencyWould we be comfortable if our reasoning was public?
AutonomyDoes this preserve user choice, or does it decide for them?
Long-term trustWill this erode trust with users/team/community over time?

This is NOT a gate — it produces warnings, not blocks. If an ethical concern is identified, note it alongside the solution in Step 6 so the decision-maker can weigh it.

Skip this step for purely technical problems with no stakeholder impact (e.g., "which sorting algorithm").

Step 6 — Generate Solutions

From the framework output, derive 2-3 actionable solutions. For each:

  • Describe what to do concretely
  • Estimate impact: high / medium / low
  • Estimate effort: high / medium / low
  • State any preconditions or risks
  • Note which biases might affect evaluation of this solution

Rank solutions by impact/effort ratio.

Step 6.5 — Decorrelated Judgment (council, high-stakes only)

Step 2's bias check and Step 4's framework application are one model's reasoning, however structured. For the subset of problems where being wrong is expensive and hard to undo, call rune:council (mode=judge) on the tentative conclusion before Step 7's communication structuring — the same discipline adversary Step 0.6 applies to plans.

Trigger — call council when ANY of:

  • Step 3b's Reversibility Filter classified the decision as a one-way door (irreversible) AND the top-ranked solution from Step 6 has impact: high
  • Step 5.5's Ethical Dimension Check surfaced a Harm or Fairness concern rated severe
  • User explicitly asks for a second opinion or "gut check" before committing to the conclusion

Do NOT call council for: two-way-door decisions, decompositions, root-cause analyses, or any solution ranked impact: low/medium — council is opt-in overhead reserved for high-stakes/irreversible judgment calls, not a default tax on every problem-solver invocation.

Request: { question: <problem statement + selected framework + reasoning chain + top-ranked solution — self-contained>, mode: "judge", n: 3, diversity: { prefer_model_families: true }, evidence_required: [reasoning] }.

Consume: fold agreement.consensus_claims into Step 6's top solution as a [council-verified] note that the framework's application and conclusion hold up under independent scrutiny. Fold agreement.dissent into that solution's "Bias risk" line, tagged [council-dissent] — dissent is surfaced, not resolved by picking a side. If decorrelation: NO_DECORRELATION, state plainly that no independent model family was reachable — do not claim the conclusion was externally validated.

Step 7 — Select Communication Structure

Choose how to present the analysis based on audience:

AudiencePatternFormat
Executive / seniorPyramid PrincipleLead with recommendation → support with 3 arguments → evidence
Mixed / unfamiliarSCRSituation (context) → Complication (tension) → Resolution (recommendation)
Technical / peersDay-1 AnswerState best hypothesis → list evidence for/against → confidence level
Quick updateBLUFBottom Line Up Front → background → details → action required

Structure the output report using the selected pattern.

Constraints

  • MUST run domain classification (Step 1.5) — match analysis depth to problem complexity
  • MUST run bias check (Step 2) for EVERY problem — the bias layer IS the differentiator
  • MUST steel-man the least-favored option when comparing alternatives
  • Never skip the framework — the structure is the value
  • Use Sonnet, not Haiku — reasoning depth matters
  • If problem is underspecified, state assumptions explicitly before proceeding
  • Do not produce more than 3 recommended solutions — prioritize quality over quantity
  • Max 5 evaluation criteria in Weighted Matrix — more causes choice overload
  • Decompositions MUST pass MECE test — no overlapping or missing branches
  • [council] MUST NOT call council for every high-stakes-looking problem — narrow trigger only (one-way-door decision with a high-impact solution, or a severe ethical concern); when invoked, council output supplements Step 6, it does not replace bias-check/framework discipline

Output Format

## Analysis: [Problem Statement]
- **Type**: [root cause / decision / decomposition / creative / architecture]
- **Domain**: [Clear / Complicated / Complex / Chaotic / Confused] — [one-line justification]
- **Framework**: [chosen framework and reason]
- **Confidence**: high | medium | low
- **Council**: [not invoked | MULTI_FAMILY (N families) | NO_DECORRELATION — same-family subagents only]

Shortened here. Read the whole file on GitHub.

Signals

GitHub stars
86
Forks
26
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
problem-solver
Source
github.com/rune-kit/rune