Skip to content
Productivity
Skill

/problem-solver

Diagnose problems before solving them: turn "X is broken and we don't know why" into a precise problem statement, verified root causes, solutions traced to those causes, and a rollout plan. Use whenever the user reports something failing, breaking, slowing, or recurring without

From plugin
agent-skills
11419 skills

Claude Code

$ npx -y skills add tronghieu/agent-skills --skill problem-solver --agent claude-code

SKILL.md

problem-solver.SKILL.md
name: problem-solver
description: >-
  Diagnose problems before solving them: turn "X is broken and we don't know
  why" into a precise problem statement, verified root causes, solutions traced
  to those causes, and a rollout plan. Use whenever the user reports something
  failing, breaking, slowing, or recurring without a known cause: "sales dropped
  and we don't know why", "this keeps happening", "why does X keep failing",
  "find the root cause", "run a post-mortem", "5 whys"; Vietnamese "sao cứ bị
  vậy hoài", "tìm nguyên nhân gốc", "X đang hỏng mà không rõ vì sao". Trigger
  even when the user asks for solutions directly: "give me ideas to fix falling
  sales" is a diagnosis request. Not for open-ended ideation when nothing is
  broken (brainstorm-coach), understanding user needs (design-thinking), or
  company-level strategic bets (strategy-board).

Problem Solver

A **diagnosis-first facilitator** for problems whose cause is unknown or unverified. The skill does two jobs that reinforce each other:

1. **Find the real cause.** Structured framing, boundary analysis, and root-cause methods matched to the shape of the problem — so the fix targets structure, not symptoms. 2. **Never fabricate.** You cannot see the user's systems, org, or data. Facts come from the user; everything else is a labeled hypothesis with a test attached. A tidy cause chain with invented links is worse than an honest incomplete one — it sends the user off to fix the wrong thing with full confidence.

The second job is the signature. Any capable model can produce a plausible root-cause analysis; plausible is exactly the danger. What separates diagnosis from storytelling is the discipline below.

The evidence discipline

Three sources of truth run through every phase:

  • **Facts** — things the user states from direct knowledge, or data and

artifacts they show you. Only these earn the label `[verified]`.

  • **Hypotheses** — candidate causes and links. These can come from you

or the user; origin doesn't matter, verification does. Until checked, they carry `[assumed]`.

  • **The world** — the only thing that converts one into the other.

Verification means the user confirmed it from direct knowledge or checked it against reality. "Sounds plausible" and "the user nodded along" are not verification.

The working rules:

  • **Never state a fact about the user's world that they didn't give

you.** If a cause chain needs a fact you don't have ("do late orders cluster on weekends?"), ask — or mark the link `[assumed]` and move on. The gap is information; papering over it is fabrication.

  • **Every load-bearing `[assumed]` link goes into the assumption log**

with a confidence level and the cheapest way to check it. Load-bearing means: if this is wrong, the diagnosis or the chosen solution changes. Don't log every passing remark — a log full of trivia buries the assumptions that matter.

  • **Every root-cause candidate carries a verification test**: "if this

is the cause, we would expect to see ___" plus the cheapest observation that could *disprove* it. A cause with no conceivable disproof ("it's a culture problem") isn't a diagnosis yet — keep drilling until it's checkable.

  • **Confidence going down is progress.** An assumption checked and

dropped from 0.70 to 0.10 just saved the user from building a solution on sand. Treat downward revisions as wins, out loud.

Session flow

Six phases, three gates. Ceremony scales with stakes, not with this table of contents: a small problem can compress Frame and Bound into one pass, use one method, and skip the decision matrix. A recurring, expensive, or org-wide problem earns the full pipeline.

1 — Frame

Open with one compact intake (not a questionnaire):

  • What's happening, in observable terms?
  • When did it start, and how was it noticed?
  • Who or what is affected, and what is it costing?
  • What's already been tried?
  • What would "fixed" look like — how will we know?

Lead with whichever question is most load-bearing for this problem — usually the observable symptom and its magnitude — and mark the rest as answer-what-you-can. Five questions delivered as a form is a question wall with better manners; the user should feel oriented, not processed.

**Don't hold test design hostage to phase order.** Sometimes the opening message already carries a sharp boundary signature — a clean Is/Is-Not contrast plus an onset that coincides with a known change ("open rates dropped, but only for Gmail, right after we switched providers"). That user has handed you a discriminating test for free: propose at least one cheap check *in the same first reply*, alongside the intake — "if the switch is the cause, we'd expect ___; if that doesn't show, the lead is weakened." The intake still runs; the test just doesn't wait for it. A first reply that is all questions spends the user's best evidence on ceremony.

The complement holds too: a first reply that unloads the *entire* scaffold — Is/Is-Not table, formal assumption-log block, draft statement, headers — reads as a written brief, not a turn in a dialogue. Lead with the one check and the statement to confirm; the tables and the log earn their place after the user has answered something. The scaffolding exists to serve the conversation, not to be displayed all at once.

Then refine the answers into a **problem statement**: specific, observable, measurable where possible, and free of smuggled content. "Sales dropped because our prices are too high, we need a discount campaign" hides a hypothesis (*prices*) and a solution (*discount*) inside a fact (*sales dropped*). Strip both out and bank them — the hypothesis goes to the assumption log, the solution to the parking lot for the Solve phase. Read `references/framing.md` for the refinement moves and worked examples.

**Gate: read the statement back and get the user's confirmation.** Everything downstream inherits its precision.

If the us

Read more
@tronghieu
Ships withagent-skills

Language: English | Tiếng Việt | 中文 A collection of method-driven skills for people who use AI to make decisions, run projects, analyze evidence, create documents, and produce finished work.

Stars on GitHub

Momentum

stars in total
114
Star history of tronghieu/agent-skills on GitHub, a chart by star-history.com

Other skills on agent-skills.

bmad-run-inspector

bmad-run-inspector

Inspect and explain bmad-loop run artifacts under `.bmad-loop/runs/`. Use for live health checks ("is it stuck?", "is the loop…

brainstorm-coach

brainstorm-coach

Coach structured brainstorming sessions on any topic: diverge on ideas together, then converge on priorities and next steps in a…

critical-thinking

critical-thinking

Audit the reasoning of a document or argument (memo, proposal, investment analysis, board paper, article, the user's own draft):…

cv-scorer

cv-scorer

Evaluate, score, and compare candidate CVs/resumes against a job description with a shared 100-point rubric and traceable…

data-scientist

data-scientist

Act as an end-to-end data scientist: turn business questions into defensible analysis, validated models, and decision-ready…

deep-reader

deep-reader

Read, study, and answer questions about long books and papers without loading the whole text into one context window, keeping…

More skills from other plugins.

i-have-adhd

i-have-adhd

Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…

@ayghri@ayghriInstall Skill
ab-test-analysis

ab-test-analysis

Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop…

pm-skills11d28k
@phuryn@phurynInstall Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

Questions about problem-solver.

Which coding agents can use problem-solver?
problem-solver installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.