Install
$ agentstack add skill-rune-kit-rune-problem-solver ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
problem-solver
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)
None — pure L3 reasoning utility.
Called By (inbound)
debug(L2): complex bugs that resist standard debuggingbrainstorm(L2): structured frameworks for creative explorationplan(L2): complex architecture decisions with many trade-offsba(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:
| Type | Signal Words | Primary 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.
| Domain | Signal | Framework Class | Analysis Depth | |--------|--------|----------------|----------------| | Clear (obvious) | Best practice exists, cause-effect obvious, "just do X" | Direct action — no framework needed | Minimal — act immediately | | Complicated (expert analysis) | Cause-effect discoverable through analysis, multiple right answers exist | Analytical frameworks (5 Whys, Fishbone, SWOT, Weighted Matrix) | Moderate — structured analysis | | Complex (emergent) | Cause-effect only visible in retrospect, no right answer — only better probes | Probe-sense-respond (Pre-Mortem, Systems Map, Sensitivity Analysis, PESTLE) | Deep — experiment and iterate | | Chaotic (crisis) | No cause-effect, need to stabilize first | Act-sense-respond — triage, then analyze | Immediate — stabilize before analyzing | | Confused (don't know which domain) | Can't classify → decompose until sub-problems land in a known domain | Decomposition first (Issue Tree, MECE) → re-classify each branch | Meta — 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)
NEVER skip bias detection. Every problem has biases — explicitly address them. This is the #1 value-add from structured reasoning. Without it, solutions are just dressed-up gut feelings.
Scan the problem statement and context for bias indicators. Check the top 6 most dangerous biases:
| Bias | Detection Question | Debiasing Strategy | |------|-------------------|-------------------| | Confirmation Bias | Have 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 Effect | Would 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 Fallacy | If 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 Bias | Are 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. | | Overconfidence | What 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 Fallacy | Are 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?
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:
| Situation | Framework | |-----------|-----------| | Root cause unknown — symptoms clear | 5 Whys | | Multiple potential causes from different domains | Fishbone (Ishikawa) | | Standard assumptions need challenging | First Principles | | Creative options needed for known problem | SCAMPER | | Must prioritize among known solutions | Impact Matrix | | Conventional approaches exhausted, need breakthrough | Collision-Zone Thinking | | Feeling forced into "the only way" | Inversion Exercise | | Same pattern appearing in 3+ places | Meta-Pattern Recognition | | Complexity spiraling, growing special cases | Simplification Cascades | | Unsure if approach survives production scale | Scale Game | | High-stakes irreversible decision — need to find blind spots | Pre-Mortem | | Need to determine how much analysis effort is warranted | Reversibility Filter | | Quantifiable outcomes with estimable probabilities | Expected Value Calculation | | Key assumptions uncertain, need to know what flips the decision | Sensitivity Analysis | | Need holistic internal + external assessment of a project/product/strategy | SWOT Analysis | | Decision depends on macro-environment factors beyond your control | PESTLE Analysis | | Competitive landscape unclear, need to assess market position | Porter's Five Forces | | Need a rough estimate with very little data | Fermi Estimation | | Problem involves ethical trade-offs or stakeholder harm | Ethical Reasoning (→ Step 5.5) |
State which framework was selected and why.
SWOT Analysis (holistic assessment):
- Strengths: Internal advantages — what do we do well? What assets do we have?
- Weaknesses: Internal disadvantages — where are we vulnerable? What do we lack?
- Opportunities: External factors we could exploit — trends, market gaps, timing
- Threats: External factors that could harm us — competitors, regulation, tech shifts
- Cross-reference: How can Strengths exploit Opportunities? How do Weaknesses amplify Threats?
- Prioritize: Which quadrant demands immediate action?
PESTLE Analysis (macro-environment scan): When the problem is influenced by forces beyond the project/org:
| Factor | Key Questions | |--------|-------------| | Political | Government policy, regulation changes, political stability, trade restrictions? | | Economic | Market conditions, inflation, exchange rates, funding climate, customer spending? | | Social | Demographics, cultural trends, user behavior shifts, workforce expectations? | | Technological | New tech, disruption risk, automation, platform shifts, AI impact? | | Legal | Compliance requirements, IP, data privacy (GDPR/CCPA), licensing, liability? | | Environmental | Sustainability 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):
- Threat of New Entrants: How easy is it for competitors to enter? (barriers: capital, tech, brand, network effects)
- Bargaining Power of Suppliers: How much leverage do your dependencies have? (few suppliers = high power)
- Bargaining Power of Buyers: Can customers easily switch? (low switching cost = high power)
- Threat of Substitutes: What alternatives exist outside your direct market?
- 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:
- Break the unknown into estimable sub-components
- Estimate each component using common knowledge or reference classes
- Multiply/combine to get the overall estimate
- Sanity-check: does the result pass the smell test? Off by 10x?
- 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):
- List all options
- Define 3-5 evaluation criteria (max 5 — more causes choice overload)
- Assign weights (must sum to 100)
- Score each option 1-5 on each criterion
- Calculate weighted scores
- Run sensitivity: which weight changes would flip the decision?
Pros-Cons-Fixes (binary or few-option, quick):
- List pros and cons for each option
- For each con: can it be fixed, mitigated, or is it permanent?
- Re-evaluate with fixable cons addressed
- Decide based on remaining permanent trade-offs
Pre-Mortem (high-stakes, irreversible):
- Assume the decision has already failed catastrophically (12 months later)
- List what went wrong (work backward)
- Categorize by likelihood and severity
- Develop mitigation plans for high-risk failures
Expected Value (quantifiable outcomes):
- List possible outcomes for each option
- Estimate probability of each
- Estimate value (monetary or utility) of each
- Calculate EV = Σ(probability × value)
- Choose highest EV adjusted for risk tolerance
Regret Minimization (life-scale or career-scale decisions):
- Project yourself to age 80 (or 10 years from now)
- Ask: "Will I regret NOT trying this?" — regret of inaction vs. regret of action
- Regret of inaction (missed opportunity) typically outweighs regret of action (failed attempt)
- Use when: the decision is personally significant, emotionally charged, or involves a window of opportunity that won't return
- 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:
| Method | When to Use | Pattern | |--------|------------|---------| | Issue Tree | Don't have a hypothesis yet, exploring | Root Question → Sub-questions (why/what) → deeper | | Hypothesis Tree | Have domain expertise, need speed | Hypothesis → Conditions that must be true → Evidence needed | | Profitability Tree | Business performance problem | Profit → Revenue (Price × Volume) → Costs (Fixed + Variable) | | Process Flow | Operational/efficiency problem | Step 1 → Step 2 → ... → find bottleneck | | Systems Map | Complex with feedback loops | Variables → causal links (+/-) → reinforcing/balancing loops | | Customer Journey | User/customer problem | Awareness → 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:
| Model | Core Question | When It Helps | |-------|--------------|---------------| | Second-Order Thinking | "And then what?" — consequences of consequences | Decisions with delayed effects | | Bayesian Updating | How should we update our beliefs given this new evidence? | When new data arrives during analysis | | Margin of Safety | What buffer do we need for things going wrong? | Planning timelines, budgets, capacity | | Opportunity Cost | What's the best alternative we're giving up? | Resource allocation, project prioritization | | Occam's Razor | Among competing explanations, prefer the simplest | Multiple possible root causes | | Leverage Points | Where does small effort produce large effect? | System redesign, process improvement | | Hanlon's Razor | Never attribute to malice what can be explained by incompetence or misaligned incentives | Organizational problems, team conflicts | | Regression to the Mean | Is this extreme result likely to revert to average? | After exceptional performance (good or bad) | | Dialectical Thinking | Thesis + Antithesis → can we synthesize a higher-order solution? | Two opposing valid positions, binary choice feels forced | | Fermi Estimation | Can 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.
| Lens | Core Question | |------|-------------
…
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Rune-kit
- Source: Rune-kit/rune
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.