# Problem solver

> Problem solver is an open-source agent skill for productivity. Guides an agent through diagnosing an unexplained failure before proposing any fix. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/tronghieu/agent-skills/tree/main/skills/problem-solver
- **Repository:** https://github.com/tronghieu/agent-skills
- **GitHub stars:** 126
- **License:** MIT
- **Skill name:** problem-solver
- **Collection:** https://github.com/tronghieu/agent-skills
- **Categories:** [productivity](https://ai-powered.com/categories/productivity)
- **Listing updated:** 2026-12-03

## About

Problem Solver walks an agent through a structured diagnosis for problems whose cause is unknown or unverified. It turns a vague complaint into a precise problem statement, bounds where and when the issue happens versus where it does not, and then builds a cause tree using methods such as Five Whys, fishbone diagrams, or causal loops, chosen to fit the shape of the problem.

The skill keeps observed facts apart from hypotheses. Each root-cause candidate is tagged as verified or assumed, load-bearing assumptions are logged with a confidence level and a cheap check, and each candidate comes with an observation that could disprove it. Solutions are then traced back to the cause they address, options are compared with evidence, and a rollout plan with success metrics and pivot triggers is drafted.

No scripts are bundled; the work happens through conversation, with reference files covering framing, diagnosis methods, the assumption log, solution decisions and planning. Progress can be saved to a local _problem folder so a session can be resumed later. The skill expects the user to supply observations and to check facts in the real world, and it hands off to sibling skills for ideation, user research or strategy when those are needed.

## When your agent uses it

> 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).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/tronghieu/agent-skills/tree/HEAD/skills/problem-solver)
- [License: MIT](https://github.com/tronghieu/agent-skills/tree/HEAD/skills/problem-solver)

## Features

- **Problem statement refinement:** Converts a vague complaint into a specific, observable statement and separates facts from embedded causes and solutions.
- **Is/Is-Not boundary analysis:** Compares where, when, who and what form the problem occurs against where it does not to surface cause leads.
- **Root-cause diagnosis methods:** Offers Five Whys, fishbone and causal loop analysis, selected according to the problem's pattern.
- **Assumption tracking:** Labels verified and assumed links and logs load-bearing assumptions with confidence levels and checks.
- **Cause-traced solutions:** Requires each proposed solution to name the root cause it addresses and labels symptom patches as such.
- **Rollout and pivot planning:** Drafts a pilot or phased plan with owners, success metrics and triggers for revisiting the diagnosis.

## Good for

- Figure out why orders started arriving late after a specific date
- Investigate a conversion rate drop after several simultaneous changes
- Run a root-cause analysis on an incident that keeps recurring after hotfixes
- Prepare a post-mortem that ends in verified causes and concrete actions
- Separate the effects of pricing, onboarding and ad changes on falling sales

## Install

### Claude Code

This skill ships in the `agent-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add tronghieu/agent-skills
/plugin install agent-skills@tronghieu-skills
```

Or copy only this skill to `~/.claude/skills/problem-solver`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tronghieu/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/problem-solver &&
cp -R "$tmp/skills/problem-solver" ~/.claude/skills/problem-solver &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/problem-solver` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/problem-solver` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tronghieu/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/problem-solver &&
cp -R "$tmp/skills/problem-solver" ~/.agents/skills/problem-solver &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/problem-solver` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/problem-solver` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tronghieu/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/problem-solver &&
cp -R "$tmp/skills/problem-solver" ~/.cursor/skills/problem-solver &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/problem-solver` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/tronghieu/agent-skills.git --path skills/problem-solver
```

Or copy the folder to `~/.gemini/skills/problem-solver` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/problem-solver`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tronghieu/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/problem-solver &&
cp -R "$tmp/skills/problem-solver" ~/.copilot/skills/problem-solver &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/problem-solver` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/tronghieu/agent-skills.git
```

Then copy `agent-skills/skills/problem-solver` into your agent's skills folder as `problem-solver`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to work?

It relies on the user supplying observations and checking facts in the real world, since it cannot inspect their systems. No scripts or tools are bundled.

### Does Problem solver change files on my machine?

It can keep a _problem/<slug>/ workspace in the working directory with statement, diagnosis, assumptions, solutions, decision and plan files, or keep the same structure in the conversation.

### When does Problem solver trigger instead of giving ideas directly?

It triggers when something is failing, slowing or recurring without a known cause, even if the user asks for fixes. For open ideation when nothing is broken, a different skill is suggested.

### Is Problem solver open source?

The skill is published under the MIT license in the tronghieu/agent-skills repository.

### How do I install Problem solver in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/problem-solver to use it in all your projects, or to .claude/skills/problem-solver in one project. Or install the agent-skills plugin, which includes it: /plugin marketplace add tronghieu/agent-skills, then /plugin install agent-skills@tronghieu-skills.

### Does Problem solver run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Problem solver?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Problem solver?

The closest alternatives to Problem solver are First principles, Ljg structure, Use case selection, Working backwards and Strategic reasoning.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [First principles](https://ai-powered.com/skills/first-principles): First principles is an open-source agent skill for productivity.
- [Ljg structure](https://ai-powered.com/skills/ljg-structure): Ljg structure is an open-source agent skill for productivity.
- [Use case selection](https://ai-powered.com/skills/use-case-selection): Use case selection is an open-source agent skill for productivity.
- [Working backwards](https://ai-powered.com/skills/working-backwards): Working backwards is an open-source agent skill for productivity.
- [Strategic reasoning](https://ai-powered.com/skills/strategic-reasoning): Strategic reasoning is an open-source agent skill for productivity.
- [Opportunity solution trees](https://ai-powered.com/skills/opportunity-solution-trees): Opportunity solution trees is an open-source agent skill for productivity.
- [Workflow discovery](https://ai-powered.com/skills/workflow-discovery): Workflow discovery is an open-source agent skill for productivity.
- [Opportunity solution tree](https://ai-powered.com/skills/opportunity-solution-tree): Opportunity solution tree is an open-source agent skill for productivity.

---
Source: https://ai-powered.com/skills/problem-solver
