ワンクリックで
deep-interview
Socratic deep interview with mathematical ambiguity gating before execution
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Socratic deep interview with mathematical ambiguity gating before execution
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use for reliable web-browser agents, semantic page inspection, Playwright automation, accessibility-tree navigation, structured browser actions, post-action validation, replay, and visual fallbacks for canvas or highly visual interfaces.
Apply frontend UX quality gates for SaaS dashboards, product screens, modals, tables, forms, responsive layouts, overflow fixes, accessibility, visual validation, spelling, and reduction of UI rework.
Use for professional SaaS UI implementation and refinement in React, TypeScript, Tailwind, dashboards, admin panels, tables, forms, settings, billing, onboarding, responsive layouts, component states, and design-system consistency.
Apply open-design product UI workflow for premium visual redesigns, dashboards, landing pages, design tokens, component libraries, responsive product screens, visual QA, anti-generic styling, and professional frontend delivery.
Optimizes images for blogs and websites, including format conversion, resizing, compression, responsive delivery, accessibility, and visual validation. Use when asked to optimize, reduce, prepare, convert, or improve images for the web.
LGPD-focused privacy and data-governance skill for Brazilian software products. Use for data mapping, legal basis selection, consent, privacy notices, RIPD, rights requests, retention, vendor risk, incident response, and international transfer review.
| name | deep-interview |
| description | Socratic deep interview with mathematical ambiguity gating before execution |
| argument-hint | [--quick|--standard|--deep] [--autoresearch] <idea or vague description> |
<Use_When>
ralplan, autopilot, ralph, or team
</Use_When><Do_Not_Use_When>
plan instead)<Why_This_Exists> Execution quality is usually bottlenecked by intent clarity, not just missing implementation detail. A single expansion pass often misses why the user wants a change, where the scope should stop, which tradeoffs are unacceptable, and which decisions still require user approval. This workflow applies Socratic pressure + quantitative ambiguity scoring so orchestration modes begin with an explicit, testable, intent-aligned spec. </Why_This_Exists>
<Depth_Profiles>
--quick): fast pre-PRD pass; target threshold <= 0.30; max rounds 5--standard, default): full requirement interview; target threshold <= 0.20; max rounds 12--deep): high-rigor exploration; target threshold <= 0.15; max rounds 20--autoresearch): same interview rigor as Standard, but specialized for omx autoresearch launch readiness and .omx/specs/ mission/sandbox artifact handoffIf no flag is provided, use Standard.
<Mode_Flags>
--autoresearch: switch the interview into autoresearch-intake mode for omx autoresearch handoff. In this mode, the interview should converge on a launch-ready research mission, write canonical artifacts under .omx/specs/, and preserve the explicit refine further vs launch boundary for downstream CLI intake.
</Mode_Flags>
</Depth_Profiles><Execution_Policy>
explore before asking user about internalsUSE_OMX_EXPLORE_CMD, prefer omx explore for simple read-only brownfield fact gathering; keep prompts narrow and concrete, and keep ambiguous or non-shell-only investigation on the richer normal path and fall back normally if omx explore is unavailable.request_user_input when available; if unavailable, fall back to concise plain-text one-question turnsNon-goals or Decision Boundaries remain unresolved, even if the weighted ambiguity threshold is metstate_write / state_read)
</Execution_Policy>{{ARGUMENTS}} and derive a short task slug..omx/context/{slug}-*.md..omx/context/{slug}-{timestamp}.md (UTC YYYYMMDDTHHMMSSZ) and reference it in mode state.{{ARGUMENTS}} and depth profile (--quick|--standard|--deep).explore to classify brownfield (existing codebase target) vs greenfield.state_write(mode="deep-interview"):{
"active": true,
"current_phase": "deep-interview",
"state": {
"interview_id": "<uuid>",
"profile": "quick|standard|deep",
"type": "greenfield|brownfield",
"initial_idea": "<user input>",
"rounds": [],
"current_ambiguity": 1.0,
"threshold": 0.3,
"max_rounds": 5,
"challenge_modes_used": [],
"codebase_context": null,
"current_stage": "intent-first",
"current_focus": "intent",
"context_snapshot_path": ".omx/context/<slug>-<timestamp>.md"
}
}
Repeat until ambiguity <= threshold, the pressure pass is complete, the readiness gates are explicit, the user exits with warning, or max rounds are reached.
Use:
Target the lowest-scoring dimension, but respect stage priority:
Follow-up pressure ladder after each answer:
Prefer staying on the same thread for multiple rounds when it has the highest leverage. Breadth without pressure is not progress.
Detailed dimensions:
Non-goals and Decision Boundaries are mandatory readiness gates. Ask about them early and keep revisiting them until they are explicit.
Use structured user-input tooling available in the runtime (AskUserQuestion / equivalent) and present:
Round {n} | Target: {weakest_dimension} | Ambiguity: {score}%
{question}
Score each weighted dimension in [0.0, 1.0] with justification + gap.
Greenfield: ambiguity = 1 - (intent × 0.30 + outcome × 0.25 + scope × 0.20 + constraints × 0.15 + success × 0.10)
Brownfield: ambiguity = 1 - (intent × 0.25 + outcome × 0.20 + scope × 0.20 + constraints × 0.15 + success × 0.10 + context × 0.10)
Readiness gate:
Non-goals must be explicitDecision Boundaries must be explicitShow weighted breakdown table, readiness-gate status (Non-goals, Decision Boundaries), and the next focus dimension.
Append round result and updated scores via state_write.
max_roundsUse each mode once when applicable. These are normal escalation tools, not rare rescue moves:
Track used modes in state to prevent repetition.
When threshold is met (or user exits with warning / hard cap):
.omx/interviews/{slug}-{timestamp}.md.omx/specs/deep-interview-{slug}.mdSpec should include:
When the clarified task is specifically about omx autoresearch, or the skill is invoked with --autoresearch, keep the interview domain-specific and emit launch-consumable artifacts without skipping clarification.
topic, evaluator, keep-policy, slug, existing mission draft text, and prior evaluator examples/templates.omx/specs/deep-interview-autoresearch-{slug}.md.omx/specs/autoresearch-{slug}/mission.md, .omx/specs/autoresearch-{slug}/sandbox.md, and .omx/specs/autoresearch-{slug}/result.json.omx/specs/autoresearch-{slug}/Mission DraftEvaluator DraftLaunch ReadinessSeed InputsConfirmation Bridge.omx/specs/autoresearch-{slug}/:
mission.mdsandbox.mdresult.json<...>, TODO, TBD, REPLACE_ME, CHANGEME, or your-command-hereresult.json should point to the draft + mission/sandbox artifacts and carry the finalized topic, evaluatorCommand, keepPolicy, slug, launchReady, and blockedReasons fields so omx autoresearch can consume it directlyrefine further and launch; do not launch detached tmux until the user explicitly confirms launchPresent execution options after artifact generation using explicit handoff contracts. Treat the deep-interview spec as the current requirements source of truth and preserve intent, non-goals, decision boundaries, acceptance criteria, and any residual-risk warnings across the handoff.
$ralplan (Recommended).omx/specs/deep-interview-{slug}.md (optionally accompanied by the transcript/context snapshot for traceability)$plan --consensus --direct <spec-path>.omx/plans/, especially prd-*.md and test-spec-*.md$autopilot, $ralph, or $team depending on the desired execution style$autopilot.omx/specs/deep-interview-{slug}.md$autopilot <spec-path>$team or $ralph lane as appropriate$ralph.omx/specs/deep-interview-{slug}.md$ralph <spec-path>$team and keep Ralph for verification continuity$team.omx/specs/deep-interview-{slug}.md$team <spec-path>Residual-Risk Rule: If the interview ended via early exit, hard-cap completion, or above-threshold proceed-with-warning, explicitly preserve that residual-risk state in the handoff so the downstream skill knows it inherited a partially clarified brief.
IMPORTANT: Deep-interview is a requirements mode. On handoff, invoke the selected skill using the contract above. Do NOT implement directly inside deep-interview.
<Tool_Usage>
explore for codebase fact gatheringrequest_user_input / structured user-input tool for each interview round when availablestate_write / state_read for resumable mode state.omx/context/.omx/interviews/ and .omx/specs/
</Tool_Usage><Escalation_And_Stop_Conditions>
<Final_Checklist>
.omx/context/{slug}-{timestamp}.md.omx/interviews/{slug}-{timestamp}.md.omx/specs/deep-interview-{slug}.md$ralplan, $autopilot, $ralph, $team)[omx.deepInterview]
defaultProfile = "standard"
quickThreshold = 0.30
standardThreshold = 0.20
deepThreshold = 0.15
quickMaxRounds = 5
standardMaxRounds = 12
deepMaxRounds = 20
enableChallengeModes = true
If interrupted, rerun $deep-interview. Resume from persisted mode state via state_read(mode="deep-interview").
deep-interview -> ralplan -> autopilot
Task: {{ARGUMENTS}}