From oh-my-auggie
Socratic deep interview with mathematical ambiguity gating before autonomous execution
npx claudepluginhub r3dlex/oh-my-auggie --plugin oh-my-auggieThis skill uses the workspace's default tool permissions.
<Purpose>
Verifies tests pass on completed feature branch, presents options to merge locally, create GitHub PR, keep as-is or discard; executes choice and cleans up worktree.
Guides root cause investigation for bugs, test failures, unexpected behavior, performance issues, and build failures before proposing fixes.
Writes implementation plans from specs for multi-step tasks, mapping files and breaking into TDD bite-sized steps before coding.
Share bugs, ideas, or general feedback.
<Use_When>
<Do_Not_Use_When>
plan skill instead<Why_This_Exists> AI can build anything. The hard part is knowing what to build. OMA's autopilot Phase 0 expands ideas into specs via analyst + architect, but this single-pass approach struggles with genuinely vague inputs. It asks "what do you want?" instead of "what are you assuming?" Deep Interview applies Socratic methodology to iteratively expose assumptions and mathematically gate readiness, ensuring the AI has genuine clarity before spending execution cycles. </Why_This_Exists>
<Execution_Policy>
Explore agent BEFORE asking the user about them{{ARGUMENTS}}Explore agent (haiku): check if cwd has existing source code, package files, or git historyExplore agent to map relevant codebase areas, store as codebase_contextstate_write(mode="deep-interview"):{
"active": true,
"current_phase": "deep-interview",
"state": {
"interview_id": "<uuid>",
"type": "greenfield|brownfield",
"initial_idea": "<user input>",
"rounds": [],
"current_ambiguity": 1.0,
"threshold": 0.2,
"codebase_context": null,
"challenge_modes_used": [],
"ontology_snapshots": []
}
}
Repeat until ambiguity ≤ threshold OR user exits early:
Build the question generation prompt with:
Question targeting strategy:
Question styles by dimension:
| Dimension | Question Style | Example |
|---|---|---|
| Goal Clarity | "What exactly happens when...?" | "When you say 'manage tasks', what specific action does a user take first?" |
| Constraint Clarity | "What are the boundaries?" | "Should this work offline, or is internet connectivity assumed?" |
| Success Criteria | "How do we know it works?" | "If I showed you the finished product, what would make you say 'yes, that's it'?" |
| Context Clarity (brownfield) | "How does this fit?" | "I found JWT auth middleware in src/auth/ — should this feature extend that path or diverge?" |
Use AskUserQuestion with the generated question.
After receiving the user's answer, score clarity across all dimensions using opus model (temperature 0.1).
Calculate ambiguity:
Greenfield: ambiguity = 1 - (goal × 0.40 + constraints × 0.30 + criteria × 0.30)
Brownfield: ambiguity = 1 - (goal × 0.35 + constraints × 0.25 + criteria × 0.25 + context × 0.15)
Show the user their progress after each round:
Round {n} complete.
| Dimension | Score | Weight | Weighted | Gap |
|-----------|-------|--------|----------|-----|
| Goal | {s} | {w} | {s*w} | {gap or "Clear"} |
| Constraints | {s} | {w} | {s*w} | {gap or "Clear"} |
| Success Criteria | {s} | {w} | {s*w} | {gap or "Clear"} |
| Context (brownfield) | {s} | {w} | {s*w} | {gap or "Clear"} |
| **Ambiguity** | | | **{score}%** | |
At specific round thresholds, shift the questioning perspective:
Ask "What if the opposite were true?" or "What if this constraint doesn't actually exist?"
Ask "What's the simplest version that would still be valuable?" or "Which constraints are actually necessary vs. assumed?"
Ask "What IS this, really?" to find the essence
Challenge modes are used ONCE each, then return to normal Socratic questioning.
When ambiguity ≤ threshold (or hard cap / early exit):
.oma/specs/deep-interview-{slug}.mdAfter the spec is written, present execution options via AskUserQuestion:
Question: "Your spec is ready (ambiguity: {score}%). How would you like to proceed?"
Options:
IMPORTANT: Invoke the chosen execution mode via Skill(). Do NOT implement directly.
<Tool_Usage>
AskUserQuestion for each interview questionExplore agent (haiku) for brownfield codebase explorationstate_write / state_read for interview state persistenceWrite tool to save the final spec to .oma/specs/Skill() to bridge to execution modes
</Tool_Usage><Escalation_And_Stop_Conditions>