thinking-socratic — Claude Code skill: what it does, how to install
Surfaces unstated assumptions and undefined terms before coding begins. Helps the agent ask decisive questions instead of guessing requirements.
npx skills add tjboudreaux/cc-thinking-skills --skill thinking-socratic -a claude-codeWhat thinking-socratic does
This skill targets underspecified requests like "make it fast" or "add a dashboard" where a bad guess leads to wasted work. When an instruction lacks clarity, the assistant first tries to fill the gap by reading repository files or running tests. It will not question the user if the project files already contain the answer.
When external input is required, the assistant asks a targeted question from categories like clarification or premise testing. Questioning stops early. The procedure limits user interaction to at most one follow-up, avoiding interrogation loops. The final output provides a structured summary with gap, assumptions_made_explicit, and clarified_requirement.
Applying this prompt to a well-defined task creates friction. Questioning every agreed step slows work down. It also should not replace incident triage or root-cause tracing, where author-recommended workflows like ooda or five-whys-plus fit better.
What it helps with
- uncover unstated assumptions before writing code
- clarify underspecified tickets like 'make it fast'
- define explicit scope boundaries and success criteria
- prevent needless back-and-forth when answers exist in the codebase
Example prompts for the agent
- The request says 'make it fast'. Run thinking-socratic to surface the hidden requirements.
- Apply thinking-socratic to 'add a dashboard' before modifying any components.
- Use thinking-socratic on this bug report to verify the core premise.
How to install thinking-socratic
1Skills CLI (Vercel)
npx skills add tjboudreaux/cc-thinking-skills --skill thinking-socratic -a claude-code2Manually: put the files in place
~/.claude/skills/thinking-socratic/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/thinking-socratic/
1Skills CLI (Vercel)
npx skills add tjboudreaux/cc-thinking-skills --skill thinking-socratic -a codex2Manually: put the files in place
.agents/skills/thinking-socratic/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add tjboudreaux/cc-thinking-skills --skill thinking-socratic -a cursor2Manually: put the files in place
.cursor/skills/thinking-socratic/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install tjboudreaux/cc-thinking-skills thinking-socratic2Manually: put the files in place
.github/skills/thinking-socratic/SKILL.md1Skills CLI (Vercel)
npx skills add tjboudreaux/cc-thinking-skills --skill thinking-socratic -a gemini-cli2Platform CLI
gemini skills install https://github.com/tjboudreaux/cc-thinking-skills --path skills/thinking-socraticManually: put the files in place
.devin/skills/thinking-socratic/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add tjboudreaux/cc-thinking-skills --skill thinking-socratic -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about thinking-socratic
How do I install thinking-socratic in Claude Code?
Run npx skills add tjboudreaux/cc-thinking-skills --skill thinking-socratic -a claude-code. This installs the skill for Claude Code.
What does the thinking-socratic skill do?
It directs the model to expose hidden assumptions and undefined requirements before modifying files. When the necessary context already exists in the project code, the agent resolves the ambiguity on its own.
When should thinking-socratic not be used?
Skip it when the task specification is already actionable or during execution of an agreed plan. It is also unsuitable for incident response or root-cause tracing, which are better handled by skills like ooda or five-whys-plus.
Source text
SKILL.md · MIT
---
name: thinking-socratic
description: When a request is vague, assumption-laden, or "obvious," ask the few load-bearing questions that expose hidden requirements before building or committing.
disable-model-invocation: true
---
# Socratic Questioning
**Core rule:** Surface the load-bearing assumption or undefined term before you build. Ask only what you cannot resolve yourself; stop when the next action is decision-ready.
## When to Use
- Request is underspecified ("make it fast", "add a dashboard", "fix the bug") and a guess would misbuild.
- Claim rests on an unstated assumption that may be the real problem.
- Someone treats a premise as "obvious" or jumps to a solution before the problem is defined.
- Debugging a vague symptom that needs a checkable specific before investigation.
## When NOT to Use
- Spec is already clear and actionable — do the work; do not interrogate for theater.
- Ambiguity is resolvable by reading code, running a command, or checking docs — resolve it yourself.
- Mid-execution of an agreed plan — re-questioning every step is friction, not rigor.
- Emergency where one load-bearing fact is enough to act — clarify that fact, then act (prefer ooda).
- You need the strongest opposing case, not clarification — use steel-manning.
- You need causal chain depth on a defined failure — use five-whys-plus or scientific-method.
## Procedure
1. **Name the gap.** State what is undefined, assumed, or uncheckable. If you can fill it from tools/repo without the user, do that and stop.
2. **Ask the load-bearing question first.** Prefer one question whose answer most changes what you will build. Categories (use only what the gap needs):
- Clarification — "What does X mean / for whom / success looks like?"
- Assumption — "What must be true? What if it is false?"
- Evidence — "What supports this? What would disprove it?"
- Perspective — "Who is affected / who would disagree?"
- Implication — "What follows if we do this?"
- Meta — "Is this the right question?"
3. **Resolve or branch.** From the answer, either (a) write the clarified requirement/decision and proceed, or (b) ask at most one follow-up that still gates the work. Do not run all six categories by default.
4. **Make assumptions explicit.** Restate: "This assumes X; success means Y; out of scope is Z." Confirm only if still ambiguous after your restatement.
5. **Stop at decision-ready clarity.** When the next action no longer depends on a hidden premise, end questioning and act or hand off. Cap user-facing questions tightly; prefer batching the few that truly gate work.
## Output
```text
gap: <what was vague or assumed>
resolved_by: self | user | mixed
questions_asked:
- <only questions actually needed>
assumptions_made_explicit:
- <X must be true / success = Y>
clarified_requirement: <decision-ready statement>
next_action: <build | investigate | re-scope | stop>
stop_reason: clear_enough | self_resolved | blocked_on_<fact>
```
## Verification
- **Falsify / stop:** If answers do not change the plan, you asked non-load-bearing questions — stop interrogating. If the "clarification" is still a guess, do not build; name the remaining blocker.
- **Over-application guard:** Do not Socratic-interview a well-specified task. Do not outsource facts you can read or measure. Do not turn every step of execution into a new question round.
© tjboudreaux · MIT · tjboudreaux/cc-thinking-skills