ultrathink-protocol
БесплатноБез исполняемых скриптовНе проверенRoot-cause investigation protocol for live, complex or multi-layer technical problems. Use when a problem has resisted two or more fix attempts, the root…
от bmad-labs★ 20 звёзд на GitHubОб этом скилле
Ultrathink Protocol
What this protocol is for
Complex technical problems fail in a specific pattern: pattern-match to a plausible fix, apply it, observe it didn't work, apply a variation, repeat. Each iteration feels productive. None produce understanding. The loop can run for hours.
The protocol breaks the loop by separating two modes that must not be mixed:
- Diagnosis mode — building a verified model of what is actually happening
- Implementation mode — applying a fix once the cause is known
You cannot enter implementation mode until diagnosis mode has produced a verified cause — meaning you hold direct evidence (a log line, a port number, a source function, a network trace, a config value read from the running process) that explains the symptom. "It might be X" is a hypothesis, not verified evidence. "The running process reads config from path Y, not path Z, because the startup script overwrites the env var before exec" is verified.
The execution cycle
Every step in a complex investigation follows this three-part structure. Write it out explicitly — do not compress it into a single paragraph.
THOUGHT: What hypothesis am I testing? What do I expect to find?
What would this result mean for my current model of the problem?
ACTION: The single most informative thing I can do right now —
a command, a source read, a log grep, a process inspection.
One action per cycle, except that independent read-only probes
(e.g. reading a log, a config and a process env) may be batched
in one cycle. Pick the action that would most change your model
if the result is unexpected.
OBSERVATION: What actually happened. Quote the relevant output directly.
Does this confirm or refute the hypothesis?
How does it change the model?
The OBSERVATION step is where understanding is built. An observation that says "that confirms my theory" without explaining why is a red flag — it means you may be fitting evidence to a pre-formed conclusion rather than updating your model.
The diagnosis ladder
Work top to bottom. Stop at the level where you find verified evidence. Going further than necessary wastes time; stopping too early produces wrong diagnoses.
Level 1 — State the symptom precisely
Before any action, restate the symptom in the most concrete observable terms:
- Weak: "it's not working"
- Strong: "process A writes output at 1 Hz according to its own logs, but consumer B receives nothing after 30 seconds, even though both claim to be connected on the same channel"
The gap between what is observed and what is expected defines the shape of the problem. Every diagnostic action should be aimed at explaining that gap specifically — not at exploring adjacent possibilities.
Level 2 — Eliminate the obvious
Check what is free to check and would explain everything if wrong:
- Is the process actually running?
- Does the running process actually see the config/env vars you think it does? (critical: check the process's own environment, not the shell or config file — they are frequently different)
- Is the correct version of the code/binary deployed?
- Is the process connected to the right endpoint, interface, or address?
The process environment trap. A very common failure mode across all stacks:
you configure a variable in a launcher, compose file, or wrapper script, but the
process overwrites it at startup before it matters. Always verify what the running
process sees, not what you told the launcher to pass. On Linux: /proc/<pid>/environ.
On macOS: ps eww <pid>. On other platforms: equivalent process inspection tools.
Level 3 — Trace the actual data path
Identify the intended flow and then verify each step in the actual running system:
- At what point does the actual behaviour diverge from the intended behaviour?
- Which component in the chain is the last one behaving correctly?
- Which is the first one where the behaviour is wrong?
The root cause is almost always at exactly one point of divergence — a layer boundary, a config value that was silently overridden, an interface that the code bound to differently than expected. The gap between "last correct" and "first wrong" is where to look.
Concretely: rather than theorising about what could go wrong, inspect running state — open file descriptors, bound addresses, active connections, actual values being processed — and compare them to what you expect.
Level 4 — Read the source
When a component does not behave as documented or configured, read the code that processes the config or handles the relevant path. This sounds slow. It is reliably fast compared to guessing at configuration variations.
Source access priority:
- Grep installed headers or bundled scripts — often present in installed packages and reveals function signatures, constant values, env var names
- Grep
Установить ultrathink-protocol в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ultrathink-protocol?
Root-cause investigation protocol for live, complex or multi-layer technical problems. Use when a problem has resisted two or more fix attempts, the root cause is unknown or assumed, you are about to retry a variation of a failed fix, or the user says "ultrathink protocol", "think deeper", "figure out why", "stop guessing", "find the root cause", or "it's still broken after your fix". Also use proactively when about to write a fix before the cause is verified. Once the incident is resolved and a write-up is wanted, use rca-report instead.
Как установить скилл ultrathink-protocol?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ultrathink-protocol запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic