think-better: Skill for Claude Code

.agents/skills/problem-solving-pro/SKILL.md

problem-solving-pro is a skill for Claude Code, Codex from HoangTheQuyen/think-better. It costs 118 tokens per session (4,306 once invoked), scanned A, original, MIT.

A structured toolkit for finding the cause of difficult problems by breaking them down, testing possible explanations, and choosing actions.

In plain words
What is it for?
It is for debugging, diagnosis, root-cause analysis, complex decisions, and problems where the right approach is unclear.
Why use it?
It replaces guesswork with a repeatable way to understand what is wrong and decide what to do next.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is HoangTheQuyen/think-better's own configuration. It tells Claude Code and Codex how to work on think-better itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything think-better configures →

Reuse

Borrowing it

Nothing to install: this file belongs to HoangTheQuyen/think-better. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/HoangTheQuyen/think-better/main/.agents/skills/problem-solving-pro/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/HoangTheQuyen/think-better

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for problem-solving-pro

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoangthequyen/think-better/problem-solving-pro/github.svg)](https://agentmods.dev/skills/hoangthequyen/think-better/problem-solving-pro)
Your own site
<a href="https://agentmods.dev/skills/hoangthequyen/think-better/problem-solving-pro"><img src="https://agentmods.dev/badge/skills/hoangthequyen/think-better/problem-solving-pro/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for problem-solving-pro

Your own site · 80×15
<a href="https://agentmods.dev/skills/hoangthequyen/think-better/problem-solving-pro"><img src="https://agentmods.dev/badge/skills/hoangthequyen/think-better/problem-solving-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,306 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00118 $0.04306
Opus 5.5 $0.00047 $0.01722
Sonnet 5.5 $0.00024 $0.00861
Haiku 4.5 $0.00012 $0.00431

Measured 19d ago against content hash 90e5bc3d1282, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

problem-solving-pro scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/advisor.py, scripts/core.py, scripts/search.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/problem-solving-pro/SKILL.md · 333 lines

How it starts

The opening of the file, as written. The whole thing — 333 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Goal

Help users solve complex problems systematically using proven frameworks — turning vague issues into structured analyses with actionable recommendations.

problem-solving-pro

Comprehensive structured problem-solving framework for tackling any complex challenge. Contains a 7-step methodology, 18 decomposition frameworks, 8 prioritization techniques, 15 analysis tools, 12 cognitive biases with debiasing strategies, 10 communication patterns, 13 mental models, and 10 team dynamics patterns. Searchable database with reasoning-based recommendations that adapts to your specific problem type.

Prerequisites

IMPORTANT: Detect the correct Python command first. Some systems use python3, others use python. Run:

python3 --version 2>/dev/null || python --version

Use whichever command succeeds (python3 or python) for ALL script calls below. If the system only has python (common on Windows), substitute python everywhere you see python3 in this document.

If neither works, Python is not installed: tell the user that the scripts need Python 3.9+ and ask before installing anything; do not run a package manager on your own.

Note: On Windows, Python 3 is typically available as python (not python3).


Running the Scripts

Run every command from the project root with the path shown, e.g. python3 .agents/skills/problem-solving-pro/scripts/search.py ... (the installer adjusts this path for your AI tool). Saved plans and journals are written to the project, never inside the skill folder. Saving again never overwrites files that already exist (they hold your notes); add --force to replace them.

Passing the user's text

When the query is the user's own words (a request, an error message, a pasted log), pass it on stdin with --stdin instead of quoting it, so quotes, backticks and $ never reach the shell. Every example below does this.

Use exactly this delimiter, THINK_BETTER_EOF_7f3a, quoted as shown:

python3 .agents/skills/problem-solving-pro/scripts/search.py --stdin --plan <<'THINK_BETTER_EOF_7f3a'
<the user's text, unchanged>
THINK_BETTER_EOF_7f3a

Read the full file on GitHub · 333 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 19d ago Changed · +87 lines · -5 tokens per session scan B → A 90e5bc3d1282
  2. 1mo ago First seen · 246 lines · 123 tokens per session scan B 334524534519

Subscribe to this mod's changes

problem-solving-pro is a skill published in the GitHub repository HoangTheQuyen/think-better (125 stars, last pushed 6d ago), licensed MIT. It adds 118 tokens to every session and 4,306 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.